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.0007346/0.0007346, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008412/0.0008413, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.163/1.163, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6012/0.6012, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 8 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001001/0.1139, allocations: 0.9744 MB / 0.5578 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.1166, allocations: 2.732 MB / 0.5605 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.1166, allocations: 0 / 0.5605 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.1167, allocations: 7.922 kB / 0.5605 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.478e-05/0.1167, allocations: 4 kB / 0.5605 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.117, allocations: 79.62 kB / 0.5606 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.1171, allocations: 27.92 kB / 0.5606 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.5e-05/0.1171, allocations: 4 kB / 0.5606 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.1174, allocations: 143.6 kB / 0.5608 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.1175, allocations: 19.92 kB / 0.5608 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1175, allocations: 4 kB / 0.5608 GB, free: 7.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1176, allocations: 43.89 kB / 0.5608 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.1176, allocations: 8 kB / 0.5608 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.1176, allocations: 33.64 kB / 0.5609 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.177e-05/0.1177, allocations: 40.11 kB / 0.5609 GB, free: 7.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1177, allocations: 0 / 0.5609 GB, free: 7.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1178, allocations: 0 / 0.5609 GB, free: 7.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.1178, allocations: 3.938 kB / 0.5609 GB, free: 7.527 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.000288/0.1181, allocations: 331.4 kB / 0.5612 GB, free: 7.156 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1181, allocations: 8.031 kB / 0.5612 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.1181, allocations: 42.55 kB / 0.5613 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.1182, allocations: 7.906 kB / 0.5613 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.589e-05/0.1183, allocations: 163 kB / 0.5614 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.1183, allocations: 4 kB / 0.5614 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1183, allocations: 11.95 kB / 0.5614 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.1184, allocations: 57.59 kB / 0.5615 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.1184, allocations: 0 / 0.5615 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1184, allocations: 4 kB / 0.5615 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1184, allocations: 3.984 kB / 0.5615 GB, free: 6.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.928e-05/0.1185, allocations: 15.98 kB / 0.5615 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.1186, allocations: 173.6 kB / 0.5617 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.274e-05/0.1187, allocations: 46.56 kB / 0.5617 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.1187, allocations: 20.84 kB / 0.5618 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.1193, allocations: 0.5906 MB / 0.5623 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1193, allocations: 42.56 kB / 0.5624 GB, free: 5.742 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1193, allocations: 0 / 0.5624 GB, free: 5.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004397/0.1198, allocations: 298.5 kB / 0.5627 GB, free: 5.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.1198, allocations: 55.41 kB / 0.5627 GB, free: 5.332 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.1199, allocations: 97.84 kB / 0.5628 GB, free: 5.227 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1199, allocations: 29.7 kB / 0.5628 GB, free: 5.191 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.1199, allocations: 91.98 kB / 0.5629 GB, free: 5.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.12, allocations: 31.55 kB / 0.5629 GB, free: 5.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.12, allocations: 0 / 0.5629 GB, free: 5.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.1201, allocations: 318.8 kB / 0.5633 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.1201, allocations: 15.98 kB / 0.5633 GB, free: 4.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.1201, allocations: 49.09 kB / 0.5633 GB, free: 4.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/0.1202, allocations: 27.98 kB / 0.5633 GB, free: 4.637 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1202, allocations: 0 / 0.5633 GB, free: 4.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001188/0.1203, allocations: 89.55 kB / 0.5634 GB, free: 4.543 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1203, allocations: 8 kB / 0.5634 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.1203, allocations: 0 / 0.5634 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1203, allocations: 4 kB / 0.5634 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.1204, allocations: 20.12 kB / 0.5635 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1204, allocations: 3.938 kB / 0.5635 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.1205, allocations: 11.98 kB / 0.5635 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1205, allocations: 4 kB / 0.5635 GB, free: 4.492 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 6.503e-05/0.1205, allocations: 118.5 kB / 0.5636 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.1206, allocations: 3.906 kB / 0.5636 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.1206, allocations: 11.91 kB / 0.5636 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1206, allocations: 4 kB / 0.5636 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1206, allocations: 0 / 0.5636 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1206, allocations: 4 kB / 0.5636 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1208, allocations: 173.6 kB / 0.5638 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1208, allocations: 0 / 0.5638 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.1209, allocations: 19.98 kB / 0.5638 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1209, allocations: 3.938 kB / 0.5638 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1209, allocations: 4 kB / 0.5638 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1209, allocations: 0 / 0.5638 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.121, allocations: 288 / 0.5638 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.1211, allocations: 175.5 kB / 0.564 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.1212, allocations: 93.03 kB / 0.5641 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.1212, allocations: 448 / 0.5641 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.1213, allocations: 8.031 kB / 0.5641 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-06/0.1213, allocations: 4 kB / 0.5641 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1213, allocations: 8 kB / 0.5641 GB, free: 3.781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.528e-05/0.1213, allocations: 75.28 kB / 0.5641 GB, free: 3.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1213, allocations: 0 / 0.5641 GB, free: 3.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.1216, allocations: 16 kB / 0.5642 GB, free: 3.691 MB / 430.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 (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.0003504/0.1219, allocations: 0.7092 MB / 0.5649 GB, free: 2.953 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.49e-05/0.122, allocations: 43.94 kB / 0.5649 GB, free: 2.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.122, allocations: 0 / 0.5649 GB, free: 2.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.34e-05/0.122, allocations: 20.19 kB / 0.5649 GB, free: 2.891 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.1223, allocations: 12 kB / 0.5649 GB, free: 2.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.1231, allocations: 0.6687 MB / 0.5656 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.1233, allocations: 0.6809 MB / 0.5662 GB, free: 1.438 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.174e-05/0.1234, allocations: 11.97 kB / 0.5663 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.1234, allocations: 19.56 kB / 0.5663 GB, free: 1.406 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1234, allocations: 0 / 0.5663 GB, free: 1.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009533/0.133, allocations: 1.427 MB / 0.5677 GB, free: 132 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.1331, allocations: 189.2 kB / 0.5679 GB, free: 15.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.55, allocations: 3.125 kB / 0.5679 GB, free: 15.89 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: