Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001687/0.001687, allocations: 111.3 kB / 16.41 MB, free: 6.488 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.001991/0.001991, allocations: 191.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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7308/0.7308, allocations: 122.8 MB / 414.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 61.89 kB / 0.5679 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1459, allocations: 77.93 MB / 0.644 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002333/0.1483, allocations: 1.262 MB / 0.6453 GB, free: 8.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.1523, allocations: 2.924 MB / 0.6481 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.1524, allocations: 4 kB / 0.6481 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.1524, allocations: 0 / 0.6481 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.1525, allocations: 7.922 kB / 0.6481 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.153, allocations: 103.5 kB / 0.6482 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.1531, allocations: 35.86 kB / 0.6483 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.1531, allocations: 4 kB / 0.6483 GB, free: 5.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004841/0.1536, allocations: 167.5 kB / 0.6484 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.1536, allocations: 15.98 kB / 0.6484 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1537, allocations: 0 / 0.6484 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.1539, allocations: 59.88 kB / 0.6485 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.1539, allocations: 15.92 kB / 0.6485 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.1539, allocations: 15.94 kB / 0.6485 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1541, allocations: 60.12 kB / 0.6486 GB, free: 4.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1541, allocations: 0 / 0.6486 GB, free: 4.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1541, allocations: 4 kB / 0.6486 GB, free: 4.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1542, allocations: 0 / 0.6486 GB, free: 4.887 MB / 494.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.0004037/0.1546, allocations: 347.3 kB / 0.6489 GB, free: 4.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1546, allocations: 16.5 kB / 0.6489 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.1547, allocations: 46.67 kB / 0.649 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.1547, allocations: 0.9375 kB / 0.649 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1548, allocations: 164.4 kB / 0.6491 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1548, allocations: 4.359 kB / 0.6491 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1548, allocations: 12.33 kB / 0.6491 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.155, allocations: 57.61 kB / 0.6492 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.155, allocations: 0 / 0.6492 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.155, allocations: 4 kB / 0.6492 GB, free: 4.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.155, allocations: 4 kB / 0.6492 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.1551, allocations: 15.92 kB / 0.6492 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.1553, allocations: 169.6 kB / 0.6494 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.104e-05/0.1554, allocations: 50.56 kB / 0.6494 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.1554, allocations: 20.84 kB / 0.6495 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/0.1561, allocations: 0.5868 MB / 0.65 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1561, allocations: 38.56 kB / 0.6501 GB, free: 3.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1561, allocations: 0 / 0.6501 GB, free: 3.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005619/0.1567, allocations: 310.5 kB / 0.6504 GB, free: 2.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.1568, allocations: 51.41 kB / 0.6504 GB, free: 2.672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.1568, allocations: 101.8 kB / 0.6505 GB, free: 2.562 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1569, allocations: 33.7 kB / 0.6505 GB, free: 2.523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.1569, allocations: 84.09 kB / 0.6506 GB, free: 2.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.1569, allocations: 31.73 kB / 0.6507 GB, free: 2.406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.157, allocations: 25.72 kB / 0.6507 GB, free: 2.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.1571, allocations: 314.8 kB / 0.651 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.049e-05/0.1571, allocations: 16 kB / 0.651 GB, free: 2.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.269e-05/0.1572, allocations: 57.08 kB / 0.651 GB, free: 1.969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.1573, allocations: 77.02 kB / 0.6511 GB, free: 1.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1573, allocations: 0 / 0.6511 GB, free: 1.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001339/0.1574, allocations: 93.98 kB / 0.6512 GB, free: 1.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1574, allocations: 4 kB / 0.6512 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1574, allocations: 0 / 0.6512 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1575, allocations: 4.281 kB / 0.6512 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.1575, allocations: 20 kB / 0.6512 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1576, allocations: 4 kB / 0.6512 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.1576, allocations: 12.06 kB / 0.6513 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.1576, allocations: 4 kB / 0.6513 GB, free: 1.73 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.982e-05/0.1577, allocations: 125.3 kB / 0.6514 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.1577, allocations: 11.94 kB / 0.6514 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.1578, allocations: 7.969 kB / 0.6514 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1578, allocations: 0 / 0.6514 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1578, allocations: 0 / 0.6514 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1578, allocations: 7.875 kB / 0.6514 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.158, allocations: 169.7 kB / 0.6516 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.158, allocations: 4 kB / 0.6516 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.1581, allocations: 23.98 kB / 0.6516 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1582, allocations: 0 / 0.6516 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1582, allocations: 0 / 0.6516 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1582, allocations: 0 / 0.6516 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1582, allocations: 0 / 0.6516 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1584, allocations: 187.5 kB / 0.6518 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.1584, allocations: 77.11 kB / 0.6518 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1584, allocations: 8 kB / 0.6518 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1585, allocations: 0 / 0.6518 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.1586, allocations: 15.92 kB / 0.6519 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1586, allocations: 0 / 0.6519 GB, free: 1.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.884e-05/0.1586, allocations: 79.28 kB / 0.6519 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1586, allocations: 0 / 0.6519 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1589, allocations: 12 kB / 0.652 GB, free: 0.9297 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0004111/0.1593, allocations: 0.7123 MB / 0.6526 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1594, allocations: 47.94 kB / 0.6527 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1594, allocations: 0 / 0.6527 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.1594, allocations: 19.94 kB / 0.6527 GB, free: 124 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1597, allocations: 7.938 kB / 0.6527 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.161, allocations: 1.532 MB / 0.6542 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1613, allocations: 0.6885 MB / 0.6549 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.358e-05/0.1613, allocations: 4 kB / 0.6549 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.1614, allocations: 15.44 kB / 0.6549 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1614, allocations: 0 / 0.6549 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.1796, allocations: 1.666 MB / 0.6565 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.789, allocations: 19.08 kB / 0.6566 GB, free: 12.15 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)