Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.0009815/0.0009815, allocations: 99.28 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.0009654/0.0009655, allocations: 179.1 kB / 16.92 MB, free: 6.922 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6866/0.6866, allocations: 115.5 MB / 407.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002946, allocations: 8 kB / 495.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 77.53 MB / 0.56 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004337/0.1307, allocations: 3.405 MB / 0.5634 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001987/0.131, allocations: 155.5 kB / 0.5635 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.131, allocations: 0 / 0.5635 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.975e-05/0.1311, allocations: 4 kB / 0.5635 GB, free: 5.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.1312, allocations: 11.91 kB / 0.5635 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1315, allocations: 86.3 kB / 0.5636 GB, free: 5.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.1316, allocations: 71.73 kB / 0.5637 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.1317, allocations: 0 / 0.5637 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.1317, allocations: 8 kB / 0.5637 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.1318, allocations: 11.98 kB / 0.5637 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1318, allocations: 0 / 0.5637 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005687/0.1324, allocations: 203.4 kB / 0.5639 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.1324, allocations: 3.938 kB / 0.5639 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.1325, allocations: 41.67 kB / 0.5639 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1326, allocations: 48.12 kB / 0.564 GB, free: 4.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1326, allocations: 0 / 0.564 GB, free: 4.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1326, allocations: 0 / 0.564 GB, free: 4.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1326, allocations: 0 / 0.564 GB, free: 4.914 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003228/0.133, allocations: 331.6 kB / 0.5643 GB, free: 4.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.133, allocations: 12.03 kB / 0.5643 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.1331, allocations: 30.75 kB / 0.5643 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.1331, allocations: 0.9375 kB / 0.5643 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1332, allocations: 164.3 kB / 0.5645 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.1333, allocations: 34.27 kB / 0.5645 GB, free: 4.254 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1333, allocations: 8.062 kB / 0.5645 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1334, allocations: 41.69 kB / 0.5646 GB, free: 4.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1334, allocations: 3.984 kB / 0.5646 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1334, allocations: 4 kB / 0.5646 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.1335, allocations: 0 / 0.5646 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.1335, allocations: 12 kB / 0.5646 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.1339, allocations: 345.9 kB / 0.5649 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.134, allocations: 18.52 kB / 0.5649 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.134, allocations: 12.91 kB / 0.5649 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.157e-05/0.1341, allocations: 81.11 kB / 0.565 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1341, allocations: 30.56 kB / 0.5651 GB, free: 3.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 3.326e-06/0.1341, allocations: 3.984 kB / 0.5651 GB, free: 3.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.1343, allocations: 41.81 kB / 0.5651 GB, free: 3.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1343, allocations: 59.34 kB / 0.5652 GB, free: 3.473 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.1344, allocations: 97.86 kB / 0.5652 GB, free: 3.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1344, allocations: 25.7 kB / 0.5653 GB, free: 3.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.1345, allocations: 92.03 kB / 0.5654 GB, free: 3.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-06/0.1345, allocations: 0 / 0.5654 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.1345, allocations: 9.719 kB / 0.5654 GB, free: 3.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1346, allocations: 322.7 kB / 0.5657 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.1347, allocations: 4 kB / 0.5657 GB, free: 2.898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.1347, allocations: 21.7 kB / 0.5657 GB, free: 2.871 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.1347, allocations: 21.72 kB / 0.5657 GB, free: 2.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1347, allocations: 0 / 0.5657 GB, free: 2.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.514e-05/0.1348, allocations: 45.62 kB / 0.5658 GB, free: 2.793 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1348, allocations: 8 kB / 0.5658 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1348, allocations: 0 / 0.5658 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.1349, allocations: 4.062 kB / 0.5658 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.1349, allocations: 8 kB / 0.5658 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1349, allocations: 0 / 0.5658 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.135, allocations: 7.906 kB / 0.5658 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.135, allocations: 0 / 0.5658 GB, free: 2.766 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.012e-05/0.135, allocations: 121.7 kB / 0.5659 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.1351, allocations: 0 / 0.5659 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1352, allocations: 121 kB / 0.566 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-05/0.1352, allocations: 180.2 kB / 0.5662 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-05/0.1353, allocations: 180.2 kB / 0.5664 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.583e-05/0.1353, allocations: 176.3 kB / 0.5665 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1356, allocations: 413.1 kB / 0.5669 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-05/0.1356, allocations: 105 kB / 0.567 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.1356, allocations: 112.9 kB / 0.5671 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-05/0.1357, allocations: 176.3 kB / 0.5673 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.1358, allocations: 180.2 kB / 0.5675 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.087e-05/0.1358, allocations: 184.2 kB / 0.5677 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-05/0.1359, allocations: 188.3 kB / 0.5678 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.136, allocations: 307.7 kB / 0.5681 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1361, allocations: 186.1 kB / 0.5683 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.1362, allocations: 184.2 kB / 0.5685 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1363, allocations: 101 kB / 0.5686 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.1364, allocations: 192.2 kB / 0.5688 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.1364, allocations: 101 kB / 0.5689 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.224e-05/0.1365, allocations: 83.28 kB / 0.5689 GB, free: 15.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1365, allocations: 0 / 0.5689 GB, free: 15.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1367, allocations: 19.88 kB / 0.569 GB, free: 15.31 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 (0): * Single equations (assignments): 0 * 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.0004373/0.1372, allocations: 0.8399 MB / 0.5698 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.501e-05/0.1372, allocations: 4.328 kB / 0.5698 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1373, allocations: 0 / 0.5698 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.1373, allocations: 4 kB / 0.5698 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.1377, allocations: 0.5226 MB / 0.5703 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.1386, allocations: 1.334 MB / 0.5716 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.1388, allocations: 0.6692 MB / 0.5722 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.661e-05/0.1389, allocations: 11.98 kB / 0.5723 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.1389, allocations: 11.44 kB / 0.5723 GB, free: 11.76 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1389, allocations: 0 / 0.5723 GB, free: 11.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.758/1.897, allocations: 1.314 MB / 0.5736 GB, free: 10.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/1.897, allocations: 219.1 kB / 0.5738 GB, free: 10.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.309/6.206, allocations: 3.938 kB / 0.5738 GB, free: 10.38 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)