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.0009605/0.0009608, allocations: 98.97 kB / 16.02 MB, free: 80 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.001074/0.001074, allocations: 182.8 kB / 16.92 MB, free: 6.754 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6177/0.6177, allocations: 115.5 MB / 407.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 8 kB / 495.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 77.53 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.004255/0.138, allocations: 4.075 MB / 0.564 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1404, allocations: 2.683 MB / 0.5666 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.1405, allocations: 4 kB / 0.5666 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.1407, allocations: 35.8 kB / 0.5667 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1409, allocations: 95.42 kB / 0.5668 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008416/0.1417, allocations: 443.2 kB / 0.5672 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.142, allocations: 311.8 kB / 0.5675 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.142, allocations: 13.56 kB / 0.5675 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007204/0.1428, allocations: 398.8 kB / 0.5679 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1429, allocations: 91.64 kB / 0.568 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1429, allocations: 12 kB / 0.568 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007399/0.1436, allocations: 0.4949 MB / 0.5685 GB, free: 356 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.1437, allocations: 31.91 kB / 0.5685 GB, free: 324 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.1438, allocations: 105.3 kB / 0.5686 GB, free: 212 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.1442, allocations: 351.3 kB / 0.5689 GB, free: 15.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1443, allocations: 0 / 0.5689 GB, free: 15.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1443, allocations: 0 / 0.5689 GB, free: 15.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.1443, allocations: 0 / 0.5689 GB, free: 15.86 MB / 446.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.0005369/0.1448, allocations: 475.3 kB / 0.5694 GB, free: 15.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1449, allocations: 12.03 kB / 0.5694 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.1449, allocations: 46.73 kB / 0.5694 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.145, allocations: 24.73 kB / 0.5695 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.1452, allocations: 216.1 kB / 0.5697 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1452, allocations: 8.703 kB / 0.5697 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1453, allocations: 20.36 kB / 0.5697 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.1456, allocations: 249.6 kB / 0.5699 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1456, allocations: 0 / 0.5699 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.1456, allocations: 8 kB / 0.5699 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.1457, allocations: 7.984 kB / 0.5699 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.1461, allocations: 427.4 kB / 0.5703 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.147, allocations: 1.008 MB / 0.5713 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1472, allocations: 163.6 kB / 0.5715 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/0.1473, allocations: 68.88 kB / 0.5716 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.1484, allocations: 1.821 MB / 0.5733 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1485, allocations: 42.5 kB / 0.5734 GB, free: 10.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.153e-06/0.1485, allocations: 0 / 0.5734 GB, free: 10.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002713/0.1488, allocations: 153.3 kB / 0.5735 GB, free: 10.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.1488, allocations: 51.41 kB / 0.5736 GB, free: 10.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1489, allocations: 169.9 kB / 0.5737 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1489, allocations: 33.64 kB / 0.5738 GB, free: 10.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.149, allocations: 147.7 kB / 0.5739 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.1491, allocations: 55.28 kB / 0.574 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.1491, allocations: 21.7 kB / 0.574 GB, free: 10.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.1492, allocations: 330.8 kB / 0.5743 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.1493, allocations: 35.97 kB / 0.5743 GB, free: 9.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1494, allocations: 137.7 kB / 0.5745 GB, free: 9.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.1496, allocations: 203.2 kB / 0.5747 GB, free: 9.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1496, allocations: 0 / 0.5747 GB, free: 9.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002837/0.1499, allocations: 213.1 kB / 0.5749 GB, free: 9.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1499, allocations: 8.469 kB / 0.5749 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1499, allocations: 4 kB / 0.5749 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1499, allocations: 11.94 kB / 0.5749 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1501, allocations: 51.92 kB / 0.5749 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1501, allocations: 7.984 kB / 0.5749 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1502, allocations: 31.69 kB / 0.575 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1503, allocations: 12 kB / 0.575 GB, free: 8.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.124e-05/0.1504, allocations: 129.7 kB / 0.5751 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.1504, allocations: 19.81 kB / 0.5751 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.1507, allocations: 159.9 kB / 0.5753 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.1507, allocations: 7.938 kB / 0.5753 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1507, allocations: 0 / 0.5753 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1507, allocations: 0 / 0.5753 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.1509, allocations: 209.6 kB / 0.5755 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1509, allocations: 0 / 0.5755 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.151, allocations: 27.98 kB / 0.5755 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.151, allocations: 0 / 0.5755 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.151, allocations: 0 / 0.5755 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.151, allocations: 15.86 kB / 0.5755 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.151, allocations: 4 kB / 0.5755 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1513, allocations: 218 kB / 0.5757 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.1513, allocations: 108.8 kB / 0.5758 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1514, allocations: 0 / 0.5758 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.1516, allocations: 27.92 kB / 0.5759 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.1516, allocations: 11.98 kB / 0.5759 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1516, allocations: 11.98 kB / 0.5759 GB, free: 7.883 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.641e-05/0.1517, allocations: 125.5 kB / 0.576 GB, free: 7.762 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1517, allocations: 0 / 0.576 GB, free: 7.762 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1521, allocations: 79.98 kB / 0.5761 GB, free: 7.684 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 (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.0005745/0.1526, allocations: 0.8253 MB / 0.5769 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1528, allocations: 120.8 kB / 0.577 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1529, allocations: 4 kB / 0.577 GB, free: 6.707 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.1529, allocations: 40.86 kB / 0.577 GB, free: 6.668 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1534, allocations: 63.33 kB / 0.5771 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1552, allocations: 2.125 MB / 0.5792 GB, free: 4.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1555, allocations: 0.7131 MB / 0.5799 GB, free: 3.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.1556, allocations: 45.8 kB / 0.5799 GB, free: 3.539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.1557, allocations: 43.42 kB / 0.58 GB, free: 3.496 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1557, allocations: 0 / 0.58 GB, free: 3.496 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4873/0.643, allocations: 4.836 MB / 0.5847 GB, free: 30.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/0.6432, allocations: 204.7 kB / 0.5849 GB, free: 30.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.928, allocations: 0 / 0.5849 GB, free: 30.48 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/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)