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.001078/0.001081, allocations: 102 kB / 15.98 MB, free: 6.336 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.001308/0.001308, allocations: 195.4 kB / 16.91 MB, free: 6.184 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.258/1.258, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6617/0.6617, allocations: 115.3 MB / 406.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 59.91 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2748, allocations: 76.17 MB / 0.556 GB, free: 36.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004096/0.2789, allocations: 4.042 MB / 0.5599 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.2791, allocations: 159.7 kB / 0.5601 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.437e-05/0.2791, allocations: 0 / 0.5601 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.2792, allocations: 5.391 kB / 0.5601 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.089e-05/0.2792, allocations: 5.641 kB / 0.5601 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2795, allocations: 82.41 kB / 0.5602 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.087e-05/0.2795, allocations: 39.47 kB / 0.5602 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 1.78e-05/0.2795, allocations: 1.875 kB / 0.5602 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.2796, allocations: 12.17 kB / 0.5602 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.2796, allocations: 16.92 kB / 0.5603 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.2796, allocations: 2.625 kB / 0.5603 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.2798, allocations: 56.55 kB / 0.5603 GB, free: 33.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.2798, allocations: 8.75 kB / 0.5603 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.2798, allocations: 15.28 kB / 0.5603 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.514e-05/0.2799, allocations: 47.86 kB / 0.5604 GB, free: 33.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.2799, allocations: 0.75 kB / 0.5604 GB, free: 33.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2799, allocations: 0 / 0.5604 GB, free: 33.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.2799, allocations: 1.594 kB / 0.5604 GB, free: 33.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001791/0.2801, allocations: 334.1 kB / 0.5607 GB, free: 32.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.224e-05/0.2802, allocations: 10.22 kB / 0.5607 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.706e-05/0.2802, allocations: 35.56 kB / 0.5607 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.2802, allocations: 12.31 kB / 0.5608 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.45e-05/0.2803, allocations: 166.8 kB / 0.5609 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.2803, allocations: 28.86 kB / 0.5609 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.2803, allocations: 9.188 kB / 0.561 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.593e-05/0.2804, allocations: 48.86 kB / 0.561 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-06/0.2804, allocations: 0 / 0.561 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.2804, allocations: 1.125 kB / 0.561 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2804, allocations: 3.719 kB / 0.561 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.464e-05/0.2805, allocations: 12.84 kB / 0.561 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.2808, allocations: 333.1 kB / 0.5613 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.456e-05/0.2808, allocations: 18.16 kB / 0.5614 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.162e-05/0.2808, allocations: 12.39 kB / 0.5614 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.2809, allocations: 84.95 kB / 0.5614 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.2809, allocations: 36.06 kB / 0.5615 GB, free: 32.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.2809, allocations: 0.9844 kB / 0.5615 GB, free: 32.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001121/0.281, allocations: 33.33 kB / 0.5615 GB, free: 32.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.281, allocations: 53.89 kB / 0.5616 GB, free: 32.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.594e-05/0.2811, allocations: 102.7 kB / 0.5617 GB, free: 31.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.2811, allocations: 25.7 kB / 0.5617 GB, free: 31.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.301e-05/0.2811, allocations: 87.62 kB / 0.5618 GB, free: 31.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.661e-06/0.2811, allocations: 5.906 kB / 0.5618 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.2812, allocations: 18.44 kB / 0.5618 GB, free: 31.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.361e-05/0.2812, allocations: 318.7 kB / 0.5621 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.2812, allocations: 2.141 kB / 0.5621 GB, free: 31.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.767e-05/0.2813, allocations: 24.02 kB / 0.5621 GB, free: 31.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/0.2813, allocations: 18.95 kB / 0.5621 GB, free: 31.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2813, allocations: 2.562 kB / 0.5621 GB, free: 31.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.215e-05/0.2814, allocations: 49.42 kB / 0.5622 GB, free: 31.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2814, allocations: 6.312 kB / 0.5622 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2814, allocations: 1.438 kB / 0.5622 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.2814, allocations: 1.938 kB / 0.5622 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.408e-05/0.2814, allocations: 6.391 kB / 0.5622 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.2815, allocations: 0.5156 kB / 0.5622 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.2815, allocations: 5.062 kB / 0.5622 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.2815, allocations: 12.09 kB / 0.5622 GB, free: 31.36 MB / 446.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 3.995e-05/0.2815, allocations: 113.2 kB / 0.5623 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.2816, allocations: 1.469 kB / 0.5623 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.62e-05/0.2816, allocations: 119.9 kB / 0.5624 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.2817, allocations: 189.6 kB / 0.5626 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/0.2817, allocations: 185.8 kB / 0.5628 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.2817, allocations: 178.9 kB / 0.563 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.2818, allocations: 409.2 kB / 0.5634 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.2818, allocations: 109.5 kB / 0.5635 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.2819, allocations: 103.5 kB / 0.5636 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.119e-05/0.2819, allocations: 183.4 kB / 0.5637 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2819, allocations: 180.2 kB / 0.5639 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.698e-05/0.2819, allocations: 177 kB / 0.5641 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.101e-05/0.282, allocations: 187.4 kB / 0.5643 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.164e-05/0.282, allocations: 315.2 kB / 0.5646 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.2821, allocations: 181.1 kB / 0.5647 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2821, allocations: 179.2 kB / 0.5649 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.2822, allocations: 113.2 kB / 0.565 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.2823, allocations: 179.8 kB / 0.5652 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.2823, allocations: 107.8 kB / 0.5653 GB, free: 28.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.662e-05/0.2823, allocations: 86.83 kB / 0.5654 GB, free: 27.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2823, allocations: 1.281 kB / 0.5654 GB, free: 27.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.2825, allocations: 16.58 kB / 0.5654 GB, free: 27.98 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.0002765/0.2828, allocations: 0.8292 MB / 0.5662 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.591e-05/0.2829, allocations: 12.69 kB / 0.5662 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2829, allocations: 1.156 kB / 0.5662 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.2829, allocations: 0 / 0.5662 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.2832, allocations: 462.9 kB / 0.5667 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.2838, allocations: 1.328 MB / 0.568 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.973e-05/0.2839, allocations: 0.6766 MB / 0.5686 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.2839, allocations: 9.25 kB / 0.5686 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.284, allocations: 9.594 kB / 0.5686 GB, free: 24.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.284, allocations: 3.938 kB / 0.5686 GB, free: 24.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6749/0.9588, allocations: 1.403 MB / 0.57 GB, free: 24.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.9591, allocations: 209 kB / 0.5702 GB, free: 24.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.205, allocations: 0 / 0.5702 GB, free: 24.22 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/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)