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.001051/0.001051, allocations: 107.3 kB / 16.4 MB, free: 6.504 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.001197/0.001197, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6876/0.6876, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.53 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1321, allocations: 76.17 MB / 0.632 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.0023/0.1345, allocations: 1.253 MB / 0.6333 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.1376, allocations: 2.503 MB / 0.6357 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.1377, allocations: 0 / 0.6357 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.1377, allocations: 3.938 kB / 0.6357 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.1378, allocations: 7.922 kB / 0.6357 GB, free: 0.668 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006122/0.1384, allocations: 123.4 kB / 0.6358 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.851e-05/0.1385, allocations: 35.91 kB / 0.6359 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.1385, allocations: 4 kB / 0.6359 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.647e-05/0.1386, allocations: 19.91 kB / 0.6359 GB, free: 500 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.1387, allocations: 19.92 kB / 0.6359 GB, free: 480 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1387, allocations: 3.938 kB / 0.6359 GB, free: 476 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.139, allocations: 115.8 kB / 0.636 GB, free: 360 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.139, allocations: 11.98 kB / 0.636 GB, free: 348 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.139, allocations: 11.92 kB / 0.6361 GB, free: 336 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1393, allocations: 91.78 kB / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1393, allocations: 0 / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1393, allocations: 0 / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1393, allocations: 0 / 0.6361 GB, free: 244 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.0004312/0.1397, allocations: 347.5 kB / 0.6365 GB, free: 15.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1398, allocations: 12.03 kB / 0.6365 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.14, allocations: 16.83 kB / 0.6365 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1401, allocations: 164.3 kB / 0.6367 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1401, allocations: 4.375 kB / 0.6367 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1402, allocations: 16.31 kB / 0.6367 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1403, allocations: 76.36 kB / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1403, allocations: 0 / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1403, allocations: 0 / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1404, allocations: 4 kB / 0.6368 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.1404, allocations: 7.938 kB / 0.6368 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.141, allocations: 470.8 kB / 0.6372 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1412, allocations: 71.72 kB / 0.6373 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.1412, allocations: 26.64 kB / 0.6373 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.1412, allocations: 8.016 kB / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1412, allocations: 34.56 kB / 0.6374 GB, free: 14.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1412, allocations: 0 / 0.6374 GB, free: 14.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006496/0.1419, allocations: 310.6 kB / 0.6376 GB, free: 14.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.142, allocations: 106.8 kB / 0.6377 GB, free: 14.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.142, allocations: 97.86 kB / 0.6378 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1421, allocations: 25.7 kB / 0.6379 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.1421, allocations: 88.05 kB / 0.6379 GB, free: 14.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.1422, allocations: 31.55 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1422, allocations: 29.66 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1423, allocations: 322.8 kB / 0.6383 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.678e-05/0.1424, allocations: 12.03 kB / 0.6383 GB, free: 13.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.1424, allocations: 61.14 kB / 0.6384 GB, free: 13.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.191e-05/0.1425, allocations: 73.08 kB / 0.6385 GB, free: 13.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1425, allocations: 0 / 0.6385 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001266/0.1427, allocations: 97.55 kB / 0.6385 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1427, allocations: 4 kB / 0.6386 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1427, allocations: 0 / 0.6386 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1427, allocations: 4 kB / 0.6386 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.1428, allocations: 23.92 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1428, allocations: 4.125 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.1429, allocations: 7.906 kB / 0.6386 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1429, allocations: 4 kB / 0.6386 GB, free: 13.37 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.487e-05/0.1429, allocations: 117.8 kB / 0.6387 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.143, allocations: 4 kB / 0.6387 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.143, allocations: 7.562 kB / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1431, allocations: 0 / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1431, allocations: 4 kB / 0.6387 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1431, allocations: 0 / 0.6387 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.1434, allocations: 177.6 kB / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1434, allocations: 4 kB / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.1435, allocations: 23.92 kB / 0.6389 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1435, allocations: 0 / 0.6389 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1435, allocations: 3.938 kB / 0.6389 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1435, allocations: 4 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1435, allocations: 0 / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1438, allocations: 337.9 kB / 0.6392 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.1439, allocations: 81.56 kB / 0.6393 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1439, allocations: 7.938 kB / 0.6393 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.144, allocations: 7.938 kB / 0.6393 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.1441, allocations: 4 kB / 0.6393 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.1441, allocations: 7.938 kB / 0.6394 GB, free: 12.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.216e-05/0.1441, allocations: 87.25 kB / 0.6394 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 0.6394 GB, free: 12.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.1444, allocations: 16 kB / 0.6395 GB, free: 12.39 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.0001275/0.1446, allocations: 99.25 kB / 0.6395 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.1447, allocations: 43.92 kB / 0.6396 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1447, allocations: 4 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.1447, allocations: 23.92 kB / 0.6396 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1452, allocations: 12.38 kB / 0.6396 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.1458, allocations: 340 kB / 0.6399 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.146, allocations: 0.6884 MB / 0.6406 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.359e-05/0.1461, allocations: 7.984 kB / 0.6406 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.1461, allocations: 11.44 kB / 0.6406 GB, free: 11.1 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1461, allocations: 0 / 0.6406 GB, free: 11.1 MB / 494.1 MB Notification: Performance of Templates: time 0.002756/0.1489, allocations: 0.6515 MB / 0.6413 GB, free: 10.46 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)