Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 112.3 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7501/0.7501, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 69.53 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1676, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002445/0.1701, allocations: 1.25 MB / 0.6333 GB, free: 3.168 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.1731, allocations: 2.496 MB / 0.6357 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.1732, allocations: 0 / 0.6357 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.1732, allocations: 0 / 0.6357 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.1733, allocations: 7.922 kB / 0.6357 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.1738, allocations: 135.4 kB / 0.6359 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.1739, allocations: 35.84 kB / 0.6359 GB, free: 492 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.1739, allocations: 4 kB / 0.6359 GB, free: 488 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.174, allocations: 23.91 kB / 0.6359 GB, free: 464 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.174, allocations: 15.98 kB / 0.6359 GB, free: 448 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.1741, allocations: 0 / 0.6359 GB, free: 448 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.1744, allocations: 115.8 kB / 0.636 GB, free: 332 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.1744, allocations: 7.922 kB / 0.636 GB, free: 324 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.1744, allocations: 19.92 kB / 0.6361 GB, free: 304 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.1746, allocations: 79.78 kB / 0.6361 GB, free: 224 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1746, allocations: 4 kB / 0.6361 GB, free: 220 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1746, allocations: 3.938 kB / 0.6361 GB, free: 216 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1747, allocations: 4 kB / 0.6362 GB, free: 212 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003823/0.175, allocations: 347.5 kB / 0.6365 GB, free: 15.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1751, allocations: 8.031 kB / 0.6365 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.1753, allocations: 16.84 kB / 0.6365 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.1754, allocations: 164.4 kB / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1754, allocations: 4.375 kB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1754, allocations: 8.375 kB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1756, allocations: 72.38 kB / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1756, allocations: 7.938 kB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1756, allocations: 3.984 kB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1756, allocations: 0 / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.1757, allocations: 12 kB / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.1762, allocations: 478.8 kB / 0.6372 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1764, allocations: 67.66 kB / 0.6373 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.1764, allocations: 22.7 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.1764, allocations: 4.094 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1764, allocations: 38.55 kB / 0.6374 GB, free: 14.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1765, allocations: 0 / 0.6374 GB, free: 14.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005647/0.177, allocations: 298.4 kB / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.1771, allocations: 126.7 kB / 0.6378 GB, free: 14.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.328e-05/0.1772, allocations: 93.86 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1772, allocations: 29.7 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.1772, allocations: 84.05 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.1772, allocations: 31.55 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1773, allocations: 25.72 kB / 0.638 GB, free: 13.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.1774, allocations: 318.8 kB / 0.6383 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.1774, allocations: 19.94 kB / 0.6383 GB, free: 13.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.325e-05/0.1775, allocations: 49.14 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.1776, allocations: 81.08 kB / 0.6385 GB, free: 13.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1776, allocations: 0 / 0.6385 GB, free: 13.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001305/0.1777, allocations: 90.11 kB / 0.6385 GB, free: 13.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1777, allocations: 8 kB / 0.6386 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1777, allocations: 0 / 0.6386 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1778, allocations: 4 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.1778, allocations: 19.94 kB / 0.6386 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1779, allocations: 3.984 kB / 0.6386 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.1779, allocations: 16.03 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1779, allocations: 4 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.263e-05/0.178, allocations: 121.7 kB / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.1781, allocations: 4.031 kB / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.1781, allocations: 11.56 kB / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1781, allocations: 0 / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1781, allocations: 0 / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1781, allocations: 4 kB / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.1785, allocations: 173.6 kB / 0.6389 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1785, allocations: 4 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.1786, allocations: 15.98 kB / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1786, allocations: 4 kB / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1786, allocations: 4 kB / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1786, allocations: 0 / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1786, allocations: 4 kB / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1788, allocations: 337.8 kB / 0.6392 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.1789, allocations: 81.11 kB / 0.6393 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1789, allocations: 8.031 kB / 0.6393 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1791, allocations: 4 kB / 0.6393 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.1791, allocations: 4 kB / 0.6393 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.1791, allocations: 7.938 kB / 0.6393 GB, free: 12.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.119e-05/0.1792, allocations: 83.27 kB / 0.6394 GB, free: 12.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1792, allocations: 3.938 kB / 0.6394 GB, free: 12.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.1795, allocations: 15.94 kB / 0.6394 GB, free: 12.37 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (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 Backend phase and start with SimCode phase: time 0.0001094/0.1796, allocations: 111.3 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1797, allocations: 47.86 kB / 0.6396 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1797, allocations: 0 / 0.6396 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.1798, allocations: 19.92 kB / 0.6396 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.1802, allocations: 8.375 kB / 0.6396 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.1808, allocations: 352.1 kB / 0.64 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.181, allocations: 0.6807 MB / 0.6406 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.64e-05/0.181, allocations: 11.98 kB / 0.6406 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.1811, allocations: 11.44 kB / 0.6406 GB, free: 11.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1811, allocations: 0 / 0.6406 GB, free: 11.07 MB / 494.1 MB Notification: Performance of Templates: time 0.002747/0.1838, allocations: 0.6423 MB / 0.6413 GB, free: 10.44 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)