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.001538/0.001538, allocations: 100.1 kB / 15.88 MB, free: 12 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.001771/0.001771, allocations: 206.7 kB / 16.79 MB, free: 6.84 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6844/0.6844, allocations: 115.3 MB / 405.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.75 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002477/0.1297, allocations: 1.316 MB / 0.5571 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.1329, allocations: 2.495 MB / 0.5596 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.1329, allocations: 0 / 0.5596 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.1329, allocations: 7.922 kB / 0.5596 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.133, allocations: 0 / 0.5596 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.1336, allocations: 111.5 kB / 0.5597 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.489e-05/0.1337, allocations: 39.86 kB / 0.5597 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.1337, allocations: 4 kB / 0.5597 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.1338, allocations: 23.91 kB / 0.5597 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.1338, allocations: 11.98 kB / 0.5598 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1338, allocations: 4 kB / 0.5598 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.1342, allocations: 111.7 kB / 0.5599 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.1342, allocations: 15.92 kB / 0.5599 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.1343, allocations: 15.92 kB / 0.5599 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1345, allocations: 80.12 kB / 0.56 GB, free: 6.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1345, allocations: 0 / 0.56 GB, free: 6.488 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1345, allocations: 0 / 0.56 GB, free: 6.488 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1345, allocations: 4 kB / 0.56 GB, free: 6.484 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.0004213/0.1349, allocations: 351.5 kB / 0.5603 GB, free: 6.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.135, allocations: 12.03 kB / 0.5603 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.135, allocations: 30.75 kB / 0.5604 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.1353, allocations: 20.83 kB / 0.5604 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1354, allocations: 168.3 kB / 0.5605 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1354, allocations: 384 / 0.5605 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1354, allocations: 4.375 kB / 0.5605 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1356, allocations: 80.17 kB / 0.5606 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1356, allocations: 0 / 0.5606 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1356, allocations: 4 kB / 0.5606 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1356, allocations: 0 / 0.5606 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.742e-05/0.1357, allocations: 23.91 kB / 0.5606 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.1363, allocations: 466.8 kB / 0.5611 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1364, allocations: 71.75 kB / 0.5612 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.1365, allocations: 26.58 kB / 0.5612 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.1365, allocations: 4 kB / 0.5612 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1365, allocations: 38.56 kB / 0.5612 GB, free: 4.992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1365, allocations: 0 / 0.5612 GB, free: 4.992 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005971/0.1371, allocations: 302.2 kB / 0.5615 GB, free: 4.645 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.1372, allocations: 111.1 kB / 0.5616 GB, free: 4.512 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.202e-05/0.1373, allocations: 97.84 kB / 0.5617 GB, free: 4.406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1373, allocations: 29.7 kB / 0.5617 GB, free: 4.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.1373, allocations: 88.03 kB / 0.5618 GB, free: 4.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1374, allocations: 27.56 kB / 0.5618 GB, free: 4.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.1374, allocations: 29.7 kB / 0.5619 GB, free: 4.219 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.1375, allocations: 314.8 kB / 0.5622 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.1376, allocations: 19.92 kB / 0.5622 GB, free: 3.883 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.347e-05/0.1376, allocations: 64.14 kB / 0.5623 GB, free: 3.805 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.256e-05/0.1377, allocations: 69.09 kB / 0.5623 GB, free: 3.719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1377, allocations: 4 kB / 0.5623 GB, free: 3.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001355/0.1379, allocations: 93.61 kB / 0.5624 GB, free: 3.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1379, allocations: 4 kB / 0.5624 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1379, allocations: 4 kB / 0.5624 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1379, allocations: 0 / 0.5624 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.138, allocations: 24.53 kB / 0.5624 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.138, allocations: 4 kB / 0.5625 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.089e-05/0.1381, allocations: 7.906 kB / 0.5625 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1381, allocations: 12.06 kB / 0.5625 GB, free: 3.562 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.131e-05/0.1382, allocations: 113.8 kB / 0.5626 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.1382, allocations: 7.984 kB / 0.5626 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.1383, allocations: 7.562 kB / 0.5626 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1383, allocations: 4 kB / 0.5626 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1383, allocations: 0 / 0.5626 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1383, allocations: 3.984 kB / 0.5626 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.1386, allocations: 181.6 kB / 0.5628 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1386, allocations: 0 / 0.5628 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.1387, allocations: 23.92 kB / 0.5628 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1388, allocations: 0 / 0.5628 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1388, allocations: 4 kB / 0.5628 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1388, allocations: 0 / 0.5628 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1388, allocations: 0 / 0.5628 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.139, allocations: 329.9 kB / 0.5631 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.1391, allocations: 93.14 kB / 0.5632 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1391, allocations: 0 / 0.5632 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1393, allocations: 7.938 kB / 0.5632 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.1393, allocations: 11.92 kB / 0.5632 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.1393, allocations: 4 kB / 0.5632 GB, free: 2.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.859e-05/0.1394, allocations: 79.28 kB / 0.5633 GB, free: 2.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1394, allocations: 0 / 0.5633 GB, free: 2.617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003294/0.1397, allocations: 12 kB / 0.5633 GB, free: 2.605 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.000475/0.1402, allocations: 0.8671 MB / 0.5642 GB, free: 1.707 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.1403, allocations: 44.14 kB / 0.5642 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1403, allocations: 8.062 kB / 0.5642 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.1404, allocations: 11.94 kB / 0.5642 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.1408, allocations: 18.05 kB / 0.5642 GB, free: 1.629 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.1424, allocations: 1.713 MB / 0.5659 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.1427, allocations: 0.6848 MB / 0.5666 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.737e-05/0.1427, allocations: 7.984 kB / 0.5666 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1428, allocations: 19.44 kB / 0.5666 GB, free: 15.06 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1428, allocations: 0 / 0.5666 GB, free: 15.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.1535, allocations: 1.532 MB / 0.5681 GB, free: 13.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.1537, allocations: 244.4 kB / 0.5683 GB, free: 13.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.901, allocations: 0 / 0.5683 GB, free: 13.43 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)