Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.0007071/0.0007066, allocations: 92.7 kB / 15.7 MB, free: 472 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.0007803/0.0007803, allocations: 171.9 kB / 16.58 MB, free: 6.848 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.191/1.191, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5992/0.5992, allocations: 113.7 MB / 405.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 9 kB / 493.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003181/0.118, allocations: 3.553 MB / 0.5603 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001446/0.1182, allocations: 151.7 kB / 0.5605 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.1182, allocations: 0 / 0.5605 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.706e-05/0.1183, allocations: 7.984 kB / 0.5605 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.1183, allocations: 7.938 kB / 0.5605 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1186, allocations: 63.77 kB / 0.5606 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.1186, allocations: 39.89 kB / 0.5606 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.949e-05/0.1187, allocations: 3.984 kB / 0.5606 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.1187, allocations: 23.91 kB / 0.5606 GB, free: 7.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.1188, allocations: 12 kB / 0.5606 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1188, allocations: 4 kB / 0.5606 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1189, allocations: 35.84 kB / 0.5607 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.119, allocations: 11.92 kB / 0.5607 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.119, allocations: 25.7 kB / 0.5607 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.186e-05/0.1191, allocations: 28.27 kB / 0.5607 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1191, allocations: 0 / 0.5607 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1191, allocations: 0 / 0.5607 GB, free: 7.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.1191, allocations: 0 / 0.5607 GB, free: 7.695 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.0002664/0.1194, allocations: 327.4 kB / 0.5611 GB, free: 7.328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.1194, allocations: 12.03 kB / 0.5611 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.1194, allocations: 30.56 kB / 0.5611 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.1195, allocations: 3.906 kB / 0.5611 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.918e-05/0.1196, allocations: 167.1 kB / 0.5613 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.1196, allocations: 37.59 kB / 0.5613 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.1196, allocations: 0 / 0.5613 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.808e-05/0.1197, allocations: 41.67 kB / 0.5613 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1197, allocations: 0 / 0.5613 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1198, allocations: 8 kB / 0.5613 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.1198, allocations: 0 / 0.5613 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.043e-05/0.1198, allocations: 15.98 kB / 0.5614 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.1202, allocations: 334 kB / 0.5617 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.118e-05/0.1202, allocations: 18.52 kB / 0.5617 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.1202, allocations: 8.922 kB / 0.5617 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.1203, allocations: 85.11 kB / 0.5618 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1204, allocations: 42.48 kB / 0.5618 GB, free: 6.371 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1204, allocations: 0 / 0.5618 GB, free: 6.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001129/0.1205, allocations: 33.7 kB / 0.5619 GB, free: 6.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.1205, allocations: 51.41 kB / 0.5619 GB, free: 6.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.1206, allocations: 105.8 kB / 0.562 GB, free: 6.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1206, allocations: 29.7 kB / 0.562 GB, free: 6.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.1207, allocations: 87.98 kB / 0.5621 GB, free: 6.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.1207, allocations: 8.031 kB / 0.5621 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.1207, allocations: 0 / 0.5621 GB, free: 6.023 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.1208, allocations: 318.8 kB / 0.5624 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.1208, allocations: 11.92 kB / 0.5624 GB, free: 5.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.1208, allocations: 13.72 kB / 0.5625 GB, free: 5.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.715e-05/0.1208, allocations: 4 kB / 0.5625 GB, free: 5.668 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1208, allocations: 0 / 0.5625 GB, free: 5.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.547e-05/0.1209, allocations: 53.62 kB / 0.5625 GB, free: 5.609 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1209, allocations: 8 kB / 0.5625 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.1209, allocations: 0 / 0.5625 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.121, allocations: 0 / 0.5625 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.619e-05/0.121, allocations: 4 kB / 0.5625 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.121, allocations: 0 / 0.5625 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.121, allocations: 4 kB / 0.5625 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.121, allocations: 7.984 kB / 0.5625 GB, free: 5.586 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.722e-05/0.1211, allocations: 118.5 kB / 0.5626 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1211, allocations: 0 / 0.5626 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.267e-05/0.1212, allocations: 116.9 kB / 0.5628 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.267e-05/0.1213, allocations: 184.2 kB / 0.5629 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-05/0.1214, allocations: 180.2 kB / 0.5631 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.948e-05/0.1214, allocations: 180.3 kB / 0.5633 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.1216, allocations: 409.2 kB / 0.5637 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-05/0.1216, allocations: 108.9 kB / 0.5638 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.1217, allocations: 101 kB / 0.5639 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.683e-05/0.1217, allocations: 180.5 kB / 0.564 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.1218, allocations: 180.2 kB / 0.5642 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.515e-05/0.1218, allocations: 184.3 kB / 0.5644 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-05/0.1219, allocations: 180.2 kB / 0.5646 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.122, allocations: 319.6 kB / 0.5649 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.1221, allocations: 182 kB / 0.565 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.1221, allocations: 192.2 kB / 0.5652 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1223, allocations: 116.9 kB / 0.5653 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.1223, allocations: 176.3 kB / 0.5655 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.1224, allocations: 104.9 kB / 0.5656 GB, free: 2.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.83e-05/0.1224, allocations: 87.27 kB / 0.5657 GB, free: 2.137 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1224, allocations: 0 / 0.5657 GB, free: 2.137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1226, allocations: 19.94 kB / 0.5657 GB, free: 2.117 MB / 430.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 (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.0003339/0.123, allocations: 0.8211 MB / 0.5665 GB, free: 1.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.586e-05/0.123, allocations: 11.94 kB / 0.5665 GB, free: 1.258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.123, allocations: 0 / 0.5665 GB, free: 1.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.1231, allocations: 0 / 0.5665 GB, free: 1.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1234, allocations: 0.5325 MB / 0.567 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.1237, allocations: 213.8 kB / 0.5672 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.1239, allocations: 0.677 MB / 0.5679 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.536e-05/0.124, allocations: 13.8 kB / 0.5679 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.124, allocations: 11.44 kB / 0.5679 GB, free: 15.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.124, allocations: 0 / 0.5679 GB, free: 15.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009233/0.1332, allocations: 1.224 MB / 0.5691 GB, free: 14.67 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.1334, allocations: 200.3 kB / 0.5693 GB, free: 14.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.551, allocations: 0 / 0.5693 GB, free: 14.42 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: