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: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006924/0.0006924, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007386/0.0007385, allocations: 172.7 kB / 16.58 MB, free: 6.848 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.168/1.168, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6055/0.6055, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002656, allocations: 8 kB / 493.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1251, allocations: 77.12 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001572/0.1267, allocations: 0.9725 MB / 0.5578 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003415/0.1301, allocations: 2.333 MB / 0.5601 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.048e-05/0.1302, allocations: 0 / 0.5601 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.1302, allocations: 4 kB / 0.5601 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.1303, allocations: 3.984 kB / 0.5601 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.1308, allocations: 103.5 kB / 0.5602 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.498e-05/0.1308, allocations: 27.92 kB / 0.5603 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.1309, allocations: 8 kB / 0.5603 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.1309, allocations: 19.91 kB / 0.5603 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.131, allocations: 19.92 kB / 0.5603 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.131, allocations: 3.938 kB / 0.5603 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.1313, allocations: 91.81 kB / 0.5604 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1313, allocations: 4 kB / 0.5604 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.1314, allocations: 29.7 kB / 0.5604 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1315, allocations: 60.08 kB / 0.5605 GB, free: 7.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1315, allocations: 0 / 0.5605 GB, free: 7.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1315, allocations: 0 / 0.5605 GB, free: 7.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.1316, allocations: 4 kB / 0.5605 GB, free: 7.992 MB / 430.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.0003444/0.1319, allocations: 339.4 kB / 0.5608 GB, free: 7.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.132, allocations: 8.031 kB / 0.5608 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.132, allocations: 34.5 kB / 0.5609 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.1322, allocations: 15.89 kB / 0.5609 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1324, allocations: 163.1 kB / 0.561 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1324, allocations: 4 kB / 0.561 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1324, allocations: 7.953 kB / 0.561 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1326, allocations: 76.23 kB / 0.5611 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1326, allocations: 0 / 0.5611 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1326, allocations: 4 kB / 0.5611 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1326, allocations: 0 / 0.5611 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.255e-05/0.1327, allocations: 15.92 kB / 0.5611 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007633/0.1335, allocations: 474.9 kB / 0.5616 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1336, allocations: 71.75 kB / 0.5616 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.1337, allocations: 18.7 kB / 0.5617 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.1337, allocations: 8 kB / 0.5617 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1337, allocations: 38.55 kB / 0.5617 GB, free: 6.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.1337, allocations: 0 / 0.5617 GB, free: 6.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006839/0.1344, allocations: 302.1 kB / 0.562 GB, free: 6.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.1345, allocations: 111.1 kB / 0.5621 GB, free: 6.039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.428e-05/0.1346, allocations: 98.17 kB / 0.5622 GB, free: 5.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1346, allocations: 37.64 kB / 0.5622 GB, free: 5.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.1346, allocations: 84.05 kB / 0.5623 GB, free: 5.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1347, allocations: 27.56 kB / 0.5623 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.1347, allocations: 0 / 0.5623 GB, free: 5.777 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1348, allocations: 326.7 kB / 0.5627 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.343e-05/0.1348, allocations: 12 kB / 0.5627 GB, free: 5.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.1349, allocations: 53.14 kB / 0.5627 GB, free: 5.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.261e-05/0.135, allocations: 24.17 kB / 0.5627 GB, free: 5.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.135, allocations: 0 / 0.5627 GB, free: 5.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001678/0.1351, allocations: 93.55 kB / 0.5628 GB, free: 5.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1352, allocations: 8 kB / 0.5628 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1352, allocations: 0 / 0.5628 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1352, allocations: 3.984 kB / 0.5628 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.1353, allocations: 27.88 kB / 0.5629 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1353, allocations: 0 / 0.5629 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.1354, allocations: 8 kB / 0.5629 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.1354, allocations: 4 kB / 0.5629 GB, free: 5.195 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.971e-05/0.1355, allocations: 117.9 kB / 0.563 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/0.1356, allocations: 11.89 kB / 0.563 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.1356, allocations: 15.5 kB / 0.563 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1356, allocations: 0 / 0.563 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1356, allocations: 0 / 0.563 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1357, allocations: 4 kB / 0.563 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.1361, allocations: 173.6 kB / 0.5632 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1361, allocations: 0 / 0.5632 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1362, allocations: 19.98 kB / 0.5632 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1363, allocations: 4 kB / 0.5632 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1363, allocations: 4.062 kB / 0.5632 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1363, allocations: 4 kB / 0.5632 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1363, allocations: 4 kB / 0.5632 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.1366, allocations: 326 kB / 0.5635 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.1366, allocations: 89.02 kB / 0.5636 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1367, allocations: 0 / 0.5636 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.1369, allocations: 7.984 kB / 0.5636 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.1369, allocations: 11.94 kB / 0.5636 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1369, allocations: 0 / 0.5636 GB, free: 4.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.671e-05/0.137, allocations: 83.28 kB / 0.5637 GB, free: 4.238 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.137, allocations: 0 / 0.5637 GB, free: 4.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.1374, allocations: 12 kB / 0.5637 GB, free: 4.227 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004002/0.1378, allocations: 0.8602 MB / 0.5646 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.1379, allocations: 43.91 kB / 0.5646 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.138, allocations: 0 / 0.5646 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.138, allocations: 20.19 kB / 0.5646 GB, free: 3.273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1384, allocations: 12.12 kB / 0.5646 GB, free: 3.262 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.1393, allocations: 0.6955 MB / 0.5653 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1395, allocations: 0.6855 MB / 0.566 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.217e-05/0.1396, allocations: 8.047 kB / 0.566 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.1396, allocations: 19.38 kB / 0.566 GB, free: 1.758 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1396, allocations: 3.938 kB / 0.566 GB, free: 1.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009842/0.1494, allocations: 1.46 MB / 0.5674 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.1496, allocations: 218.2 kB / 0.5676 GB, free: 268 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.433/1.583, allocations: 6.594 kB / 0.5677 GB, free: 264 kB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: