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.001266/0.001266, allocations: 92.95 kB / 16.02 MB, free: 80 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.001527/0.001527, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6783/0.6783, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 8.562 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 77.53 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001242/0.1409, allocations: 0.9809 MB / 0.561 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.1438, allocations: 2.46 MB / 0.5634 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.1438, allocations: 4 kB / 0.5634 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1439, allocations: 3.984 kB / 0.5634 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.1439, allocations: 7.922 kB / 0.5634 GB, free: 5.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.1444, allocations: 115.5 kB / 0.5635 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.197e-05/0.1445, allocations: 27.92 kB / 0.5636 GB, free: 5.301 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.1445, allocations: 4 kB / 0.5636 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.1446, allocations: 31.84 kB / 0.5636 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.1446, allocations: 15.98 kB / 0.5636 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.1446, allocations: 0 / 0.5636 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.1449, allocations: 111.8 kB / 0.5637 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.145, allocations: 11.94 kB / 0.5637 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.145, allocations: 33.7 kB / 0.5638 GB, free: 5.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.1452, allocations: 88.03 kB / 0.5638 GB, free: 5.004 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1452, allocations: 4 kB / 0.5638 GB, free: 5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1452, allocations: 3.938 kB / 0.5638 GB, free: 4.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1452, allocations: 0 / 0.5638 GB, free: 4.996 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.0003342/0.1456, allocations: 339.5 kB / 0.5642 GB, free: 4.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1456, allocations: 12.03 kB / 0.5642 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.1457, allocations: 34.75 kB / 0.5642 GB, free: 4.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.1459, allocations: 16.83 kB / 0.5642 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.146, allocations: 164.4 kB / 0.5644 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.146, allocations: 4.375 kB / 0.5644 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.146, allocations: 4.375 kB / 0.5644 GB, free: 4.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1461, allocations: 84.11 kB / 0.5645 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1462, allocations: 3.984 kB / 0.5645 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1462, allocations: 4 kB / 0.5645 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1462, allocations: 0 / 0.5645 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.1462, allocations: 7.984 kB / 0.5645 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.1468, allocations: 482.8 kB / 0.565 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1469, allocations: 75.69 kB / 0.565 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.147, allocations: 18.7 kB / 0.565 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.147, allocations: 4 kB / 0.565 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1471, allocations: 38.56 kB / 0.5651 GB, free: 3.512 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1471, allocations: 0 / 0.5651 GB, free: 3.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005781/0.1476, allocations: 298.2 kB / 0.5654 GB, free: 3.168 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.1478, allocations: 111 kB / 0.5655 GB, free: 3.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.1478, allocations: 105.8 kB / 0.5656 GB, free: 2.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1479, allocations: 25.7 kB / 0.5656 GB, free: 2.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.1479, allocations: 88.05 kB / 0.5657 GB, free: 2.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1479, allocations: 31.55 kB / 0.5657 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.148, allocations: 21.7 kB / 0.5657 GB, free: 2.742 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1481, allocations: 314.8 kB / 0.566 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.1481, allocations: 15.98 kB / 0.566 GB, free: 2.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.1482, allocations: 60.25 kB / 0.5661 GB, free: 2.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.526e-05/0.1483, allocations: 73.09 kB / 0.5662 GB, free: 2.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1483, allocations: 0 / 0.5662 GB, free: 2.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000137/0.1484, allocations: 94.06 kB / 0.5663 GB, free: 2.148 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1484, allocations: 4 kB / 0.5663 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1484, allocations: 7.938 kB / 0.5663 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1485, allocations: 0 / 0.5663 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.788e-05/0.1485, allocations: 24.08 kB / 0.5663 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1486, allocations: 0 / 0.5663 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.1486, allocations: 8 kB / 0.5663 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.1486, allocations: 11.92 kB / 0.5663 GB, free: 2.094 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.1487, allocations: 117.9 kB / 0.5664 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.1488, allocations: 7.906 kB / 0.5664 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.1488, allocations: 15.55 kB / 0.5665 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1488, allocations: 0 / 0.5665 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1488, allocations: 0 / 0.5665 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1488, allocations: 0 / 0.5665 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.1492, allocations: 177.6 kB / 0.5666 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1492, allocations: 0 / 0.5666 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/0.1493, allocations: 16 kB / 0.5666 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1493, allocations: 4 kB / 0.5666 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1493, allocations: 4 kB / 0.5666 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1493, allocations: 0 / 0.5666 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1493, allocations: 3.984 kB / 0.5666 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.1496, allocations: 325.9 kB / 0.567 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.1496, allocations: 85.14 kB / 0.567 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1496, allocations: 7.938 kB / 0.567 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.1498, allocations: 8 kB / 0.5671 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.1499, allocations: 11.98 kB / 0.5671 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1499, allocations: 4 kB / 0.5671 GB, free: 1.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.004e-05/0.1499, allocations: 83.28 kB / 0.5672 GB, free: 1.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1499, allocations: 0 / 0.5672 GB, free: 1.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.1502, allocations: 12 kB / 0.5672 GB, free: 1.137 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 (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.0004939/0.1507, allocations: 0.8672 MB / 0.568 GB, free: 244 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.1509, allocations: 35.97 kB / 0.568 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1509, allocations: 8.188 kB / 0.5681 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.1509, allocations: 23.92 kB / 0.5681 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.1514, allocations: 15.94 kB / 0.5681 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.153, allocations: 1.747 MB / 0.5698 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1533, allocations: 0.6887 MB / 0.5705 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.1533, allocations: 8 kB / 0.5705 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.1534, allocations: 11.44 kB / 0.5705 GB, free: 13.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1534, allocations: 0 / 0.5705 GB, free: 13.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.1639, allocations: 1.482 MB / 0.5719 GB, free: 12.27 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.1641, allocations: 233.8 kB / 0.5722 GB, free: 12.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.833, allocations: 0 / 0.5722 GB, free: 12.02 MB / 446.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/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)