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.001387/0.001387, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.001373/0.001373, allocations: 192 kB / 17.34 MB, free: 5.727 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.394/1.394, 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.8272/0.8272, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 71.98 kB / 0.5735 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1441, allocations: 78.87 MB / 0.6505 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002329/0.1465, allocations: 1.246 MB / 0.6517 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.1505, allocations: 2.924 MB / 0.6546 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.1506, allocations: 4 kB / 0.6546 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.1506, allocations: 0 / 0.6546 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.1507, allocations: 7.922 kB / 0.6546 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.1511, allocations: 95.55 kB / 0.6547 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.793e-05/0.1512, allocations: 43.84 kB / 0.6547 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.1513, allocations: 7.984 kB / 0.6548 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.1517, allocations: 155.5 kB / 0.6549 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.1518, allocations: 19.98 kB / 0.6549 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1518, allocations: 0 / 0.6549 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.152, allocations: 63.88 kB / 0.655 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.152, allocations: 11.92 kB / 0.655 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.1521, allocations: 19.92 kB / 0.655 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1523, allocations: 60.14 kB / 0.6551 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1523, allocations: 3.938 kB / 0.6551 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1523, allocations: 3.938 kB / 0.6551 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.1523, allocations: 0 / 0.6551 GB, free: 14.93 MB / 0.4981 GB 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.0004529/0.1527, allocations: 359.3 kB / 0.6554 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1528, allocations: 8.031 kB / 0.6554 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.1528, allocations: 34.75 kB / 0.6555 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.1529, allocations: 4.938 kB / 0.6555 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.153, allocations: 160.4 kB / 0.6556 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.153, allocations: 8.359 kB / 0.6556 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1531, allocations: 4.375 kB / 0.6556 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1532, allocations: 61.61 kB / 0.6557 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1532, allocations: 0 / 0.6557 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1532, allocations: 4 kB / 0.6557 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1532, allocations: 4 kB / 0.6557 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.1533, allocations: 19.91 kB / 0.6557 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.1535, allocations: 165.6 kB / 0.6559 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.1536, allocations: 54.62 kB / 0.6559 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.1536, allocations: 16.84 kB / 0.6559 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008327/0.1545, allocations: 0.5946 MB / 0.6565 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1545, allocations: 38.5 kB / 0.6566 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1545, allocations: 0 / 0.6566 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005878/0.1551, allocations: 306.4 kB / 0.6568 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1552, allocations: 51.41 kB / 0.6569 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.1553, allocations: 105.8 kB / 0.657 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1553, allocations: 29.7 kB / 0.657 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.1553, allocations: 88.08 kB / 0.6571 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1554, allocations: 31.73 kB / 0.6571 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.1554, allocations: 25.72 kB / 0.6572 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1556, allocations: 318.8 kB / 0.6575 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.1556, allocations: 11.94 kB / 0.6575 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.25e-05/0.1557, allocations: 57.14 kB / 0.6575 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1558, allocations: 73.02 kB / 0.6576 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1558, allocations: 0 / 0.6576 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001428/0.1559, allocations: 97.55 kB / 0.6577 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.156, allocations: 4 kB / 0.6577 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.156, allocations: 4 kB / 0.6577 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.156, allocations: 288 / 0.6577 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.1561, allocations: 23.98 kB / 0.6577 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1561, allocations: 4 kB / 0.6577 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.1561, allocations: 3.938 kB / 0.6577 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1561, allocations: 4 kB / 0.6577 GB, free: 11.78 MB / 0.4981 GB 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 9.318e-05/0.1562, allocations: 121.9 kB / 0.6579 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1563, allocations: 15.88 kB / 0.6579 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.1563, allocations: 7.969 kB / 0.6579 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1563, allocations: 0 / 0.6579 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1563, allocations: 0 / 0.6579 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1563, allocations: 4.375 kB / 0.6579 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.1566, allocations: 173.7 kB / 0.6581 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1566, allocations: 0 / 0.6581 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.994e-05/0.1567, allocations: 23.98 kB / 0.6581 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1567, allocations: 0 / 0.6581 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1567, allocations: 4 kB / 0.6581 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1567, allocations: 0 / 0.6581 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1567, allocations: 0 / 0.6581 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.157, allocations: 179.4 kB / 0.6582 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.157, allocations: 81.06 kB / 0.6583 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.157, allocations: 4.047 kB / 0.6583 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1572, allocations: 7.984 kB / 0.6583 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.1572, allocations: 7.938 kB / 0.6583 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1572, allocations: 7.938 kB / 0.6584 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.1572, allocations: 83.27 kB / 0.6584 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1573, allocations: 0 / 0.6584 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002399/0.1575, allocations: 16 kB / 0.6584 GB, free: 10.96 MB / 0.4981 GB 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.000487/0.158, allocations: 0.7085 MB / 0.6591 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1581, allocations: 39.92 kB / 0.6592 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1581, allocations: 0 / 0.6592 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.1582, allocations: 19.92 kB / 0.6592 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.1585, allocations: 11.94 kB / 0.6592 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.16, allocations: 1.532 MB / 0.6607 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.1604, allocations: 0.6807 MB / 0.6614 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.467e-05/0.1604, allocations: 8 kB / 0.6614 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.1605, allocations: 19.42 kB / 0.6614 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1605, allocations: 0 / 0.6614 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.1844, allocations: 1.667 MB / 0.663 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8, allocations: 7.234 kB / 0.663 GB, free: 6.207 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)