Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009617/0.0009617, allocations: 168.1 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007194/0.0007195, allocations: 80 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 11.22 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1746, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001098/0.1757, allocations: 1.006 MB / 0.8977 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.1766, allocations: 0.6283 MB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.454e-05/0.1766, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.1766, allocations: 11.92 kB / 0.8984 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.1767, allocations: 0 / 0.8984 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.1771, allocations: 119.6 kB / 0.8985 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.955e-05/0.1771, allocations: 19.92 kB / 0.8985 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.1772, allocations: 4 kB / 0.8985 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.869e-05/0.1772, allocations: 7.938 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.17e-05/0.1772, allocations: 15.97 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1773, allocations: 0 / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.1777, allocations: 339.3 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1777, allocations: 8 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.1777, allocations: 11.92 kB / 0.8989 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1778, allocations: 96.05 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1779, allocations: 0 / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1779, allocations: 0 / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.1779, allocations: 3.938 kB / 0.899 GB, free: 65.95 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002889/0.1782, allocations: 355.4 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1782, allocations: 8.031 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.1782, allocations: 8.938 kB / 0.8993 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.013e-05/0.1783, allocations: 176.3 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1783, allocations: 384 / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1784, allocations: 4.281 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.065e-05/0.1785, allocations: 42.25 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1785, allocations: 192 / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1785, allocations: 3.938 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1785, allocations: 0 / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.1785, allocations: 8 kB / 0.8995 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.1787, allocations: 165.6 kB / 0.8997 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1788, allocations: 46.55 kB / 0.8997 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.1789, allocations: 16.94 kB / 0.8997 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1789, allocations: 4 kB / 0.8998 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.1789, allocations: 34.56 kB / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1789, allocations: 0 / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004912/0.1794, allocations: 314.5 kB / 0.9001 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.1794, allocations: 55.41 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.289e-05/0.1795, allocations: 101.8 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.1795, allocations: 29.7 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.427e-05/0.1795, allocations: 80.14 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1796, allocations: 19.66 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.1796, allocations: 17.7 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.1796, allocations: 314.8 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.1797, allocations: 16 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.889e-05/0.1797, allocations: 11.98 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.961e-05/0.1797, allocations: 28.86 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1797, allocations: 0 / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.19e-05/0.1798, allocations: 73.75 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1799, allocations: 7.938 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1799, allocations: 4 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1799, allocations: 0 / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.1799, allocations: 15.94 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.18, allocations: 0 / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.18, allocations: 7.984 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.18, allocations: 4 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.18, allocations: 109.8 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.1801, allocations: 7.938 kB / 0.901 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.1802, allocations: 73.5 kB / 0.901 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1802, allocations: 0 / 0.901 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1802, allocations: 4 kB / 0.901 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1802, allocations: 3.984 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.1804, allocations: 315.4 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1804, allocations: 0 / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.1805, allocations: 11.94 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1805, allocations: 4 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1805, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1805, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1805, allocations: 3.984 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.1807, allocations: 180.4 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.1807, allocations: 85.09 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1807, allocations: 4.281 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.1808, allocations: 0 / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.1808, allocations: 11.94 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1808, allocations: 0 / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.041e-05/0.1808, allocations: 87.27 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1808, allocations: 0 / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002187/0.1811, allocations: 24.06 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.1812, allocations: 123.2 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.799e-05/0.1813, allocations: 31.98 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1813, allocations: 0 / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.1813, allocations: 19.94 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.1815, allocations: 15.88 kB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.1819, allocations: 231.9 kB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.06e-05/0.182, allocations: 0.6809 MB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.182, allocations: 15.44 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.182, allocations: 0 / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.001721/0.1838, allocations: 0.7806 MB / 0.9036 GB, free: 60.76 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)