Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",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.0007623/0.0007623, 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.00083/0.00083, allocations: 172.8 kB / 16.58 MB, free: 6.797 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.181/1.181, 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.6083/0.6083, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 8 kB / 493.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1155, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.003819/0.1194, allocations: 3.917 MB / 0.5607 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1215, allocations: 2.475 MB / 0.5631 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.1216, allocations: 0 / 0.5631 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.1218, allocations: 43.72 kB / 0.5632 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.122, allocations: 83.44 kB / 0.5633 GB, free: 5.137 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.1227, allocations: 398.2 kB / 0.5636 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1229, allocations: 267.9 kB / 0.5639 GB, free: 4.488 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.123, allocations: 13.55 kB / 0.5639 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.1237, allocations: 398.9 kB / 0.5643 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.1238, allocations: 91.66 kB / 0.5644 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1238, allocations: 8 kB / 0.5644 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006849/0.1245, allocations: 403.2 kB / 0.5648 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.1246, allocations: 35.89 kB / 0.5648 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.1246, allocations: 57.58 kB / 0.5648 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.1249, allocations: 207.8 kB / 0.565 GB, free: 3.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1249, allocations: 4 kB / 0.5651 GB, free: 3.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1249, allocations: 0 / 0.5651 GB, free: 3.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.125, allocations: 0 / 0.5651 GB, free: 3.285 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005601/0.1255, allocations: 471.1 kB / 0.5655 GB, free: 2.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1256, allocations: 12.03 kB / 0.5655 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.1256, allocations: 46.55 kB / 0.5656 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.1257, allocations: 23.81 kB / 0.5656 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.1259, allocations: 210.8 kB / 0.5658 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1259, allocations: 12.33 kB / 0.5658 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.126, allocations: 19.95 kB / 0.5658 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.1263, allocations: 241.6 kB / 0.566 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1263, allocations: 4 kB / 0.566 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.1263, allocations: 11.98 kB / 0.5661 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.1264, allocations: 4 kB / 0.5661 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.1268, allocations: 431.4 kB / 0.5665 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.1277, allocations: 1.011 MB / 0.5675 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1279, allocations: 160.7 kB / 0.5676 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.128, allocations: 60.17 kB / 0.5677 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.1291, allocations: 1.821 MB / 0.5694 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1292, allocations: 34.56 kB / 0.5695 GB, free: 14.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 3.466e-06/0.1292, allocations: 0 / 0.5695 GB, free: 14.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002751/0.1295, allocations: 155 kB / 0.5696 GB, free: 14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.1295, allocations: 51.41 kB / 0.5697 GB, free: 13.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1296, allocations: 177.6 kB / 0.5698 GB, free: 13.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1297, allocations: 29.7 kB / 0.5699 GB, free: 13.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.1297, allocations: 139.8 kB / 0.57 GB, free: 13.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.1298, allocations: 51.28 kB / 0.5701 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-06/0.1298, allocations: 8 kB / 0.5701 GB, free: 13.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.1299, allocations: 322.8 kB / 0.5704 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.1299, allocations: 31.98 kB / 0.5704 GB, free: 13.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1301, allocations: 145.6 kB / 0.5705 GB, free: 12.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.019e-05/0.1301, allocations: 52 kB / 0.5706 GB, free: 12.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1302, allocations: 0 / 0.5706 GB, free: 12.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002821/0.1304, allocations: 218.5 kB / 0.5708 GB, free: 12.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1305, allocations: 8 kB / 0.5708 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.1305, allocations: 4 kB / 0.5708 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1305, allocations: 8.453 kB / 0.5708 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1307, allocations: 59.91 kB / 0.5709 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1307, allocations: 8 kB / 0.5709 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1308, allocations: 27.69 kB / 0.5709 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1308, allocations: 23.94 kB / 0.5709 GB, free: 12.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.025e-05/0.1309, allocations: 129.7 kB / 0.5711 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1309, allocations: 15.81 kB / 0.5711 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.1312, allocations: 148.7 kB / 0.5712 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.1312, allocations: 4 kB / 0.5712 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1312, allocations: 4 kB / 0.5712 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1312, allocations: 3.984 kB / 0.5712 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.1315, allocations: 225.4 kB / 0.5714 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1315, allocations: 0 / 0.5714 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.1316, allocations: 27.92 kB / 0.5715 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1316, allocations: 0 / 0.5715 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1316, allocations: 8 kB / 0.5715 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1316, allocations: 0 / 0.5715 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1316, allocations: 0 / 0.5715 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.1318, allocations: 227.2 kB / 0.5717 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.1319, allocations: 101 kB / 0.5718 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1319, allocations: 4 kB / 0.5718 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.1321, allocations: 23.92 kB / 0.5718 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.1321, allocations: 7.984 kB / 0.5718 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1321, allocations: 12 kB / 0.5718 GB, free: 11.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.191e-05/0.1322, allocations: 125.8 kB / 0.572 GB, free: 11.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1322, allocations: 0 / 0.572 GB, free: 11.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.1326, allocations: 79.94 kB / 0.572 GB, free: 11.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006512/0.1333, allocations: 0.8232 MB / 0.5728 GB, free: 10.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1335, allocations: 118.7 kB / 0.5729 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1335, allocations: 0 / 0.5729 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.168e-05/0.1336, allocations: 47.86 kB / 0.573 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.1341, allocations: 53.77 kB / 0.573 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1355, allocations: 1.01 MB / 0.574 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1357, allocations: 0.7172 MB / 0.5747 GB, free: 8.438 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.1359, allocations: 50.88 kB / 0.5748 GB, free: 8.391 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.136, allocations: 43.42 kB / 0.5748 GB, free: 8.348 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.136, allocations: 0 / 0.5748 GB, free: 8.348 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.151, allocations: 4.714 MB / 0.5794 GB, free: 3.812 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/0.1512, allocations: 189.2 kB / 0.5796 GB, free: 3.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.661, allocations: 0 / 0.5796 GB, free: 3.57 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) Environment - environmentSimulation: