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.001796/0.001796, allocations: 96.81 kB / 15.69 MB, free: 480 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.005986/0.005986, allocations: 175.8 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.591/2.591, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.198/1.198, allocations: 113.7 MB / 405.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006006/0.0006008, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2711, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006643/0.2778, allocations: 3.371 MB / 0.56 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002632/0.2781, allocations: 127.7 kB / 0.5601 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.2782, allocations: 8 kB / 0.5601 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.2783, allocations: 0 / 0.5601 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.425e-05/0.2784, allocations: 3.984 kB / 0.5601 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.2789, allocations: 71.2 kB / 0.5602 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.279, allocations: 19.97 kB / 0.5602 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.205e-05/0.279, allocations: 0 / 0.5602 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.2791, allocations: 11.98 kB / 0.5602 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.2792, allocations: 15.98 kB / 0.5602 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2792, allocations: 0 / 0.5602 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.2795, allocations: 39.84 kB / 0.5603 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.2796, allocations: 3.938 kB / 0.5603 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.2796, allocations: 33.7 kB / 0.5603 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.2798, allocations: 24.25 kB / 0.5603 GB, free: 7.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2798, allocations: 0 / 0.5603 GB, free: 7.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2798, allocations: 0 / 0.5603 GB, free: 7.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2798, allocations: 0 / 0.5603 GB, free: 7.965 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.0005074/0.2803, allocations: 335.4 kB / 0.5607 GB, free: 7.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.273e-05/0.2804, allocations: 8.031 kB / 0.5607 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/0.2805, allocations: 30.56 kB / 0.5607 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.2805, allocations: 7.844 kB / 0.5607 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.2807, allocations: 167.1 kB / 0.5609 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-05/0.2808, allocations: 29.66 kB / 0.5609 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2809, allocations: 0 / 0.5609 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.2811, allocations: 45.69 kB / 0.5609 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2811, allocations: 0 / 0.5609 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.2811, allocations: 4 kB / 0.5609 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.2812, allocations: 0 / 0.5609 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.2812, allocations: 15.97 kB / 0.561 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.282, allocations: 338 kB / 0.5613 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.524e-05/0.282, allocations: 18.58 kB / 0.5613 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.2822, allocations: 89.16 kB / 0.5614 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.2822, allocations: 34.56 kB / 0.5614 GB, free: 6.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.2822, allocations: 0 / 0.5614 GB, free: 6.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002157/0.2825, allocations: 37.64 kB / 0.5615 GB, free: 6.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.2825, allocations: 51.41 kB / 0.5615 GB, free: 6.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2827, allocations: 101.8 kB / 0.5616 GB, free: 6.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.2827, allocations: 29.7 kB / 0.5616 GB, free: 6.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.2828, allocations: 87.98 kB / 0.5617 GB, free: 6.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.2828, allocations: 4.031 kB / 0.5617 GB, free: 6.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.2828, allocations: 8 kB / 0.5617 GB, free: 6.301 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.283, allocations: 314.8 kB / 0.562 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.283, allocations: 11.92 kB / 0.562 GB, free: 5.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.2831, allocations: 13.72 kB / 0.562 GB, free: 5.953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.2831, allocations: 8 kB / 0.5621 GB, free: 5.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2831, allocations: 0 / 0.5621 GB, free: 5.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001337/0.2833, allocations: 53.62 kB / 0.5621 GB, free: 5.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.2833, allocations: 10.34 kB / 0.5621 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2833, allocations: 4 kB / 0.5621 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2834, allocations: 0 / 0.5621 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.2835, allocations: 4 kB / 0.5621 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2835, allocations: 3.984 kB / 0.5621 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.2835, allocations: 8 kB / 0.5621 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.2836, allocations: 3.938 kB / 0.5621 GB, free: 5.855 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 0.0001168/0.2837, allocations: 113.8 kB / 0.5622 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.2837, allocations: 4.062 kB / 0.5623 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.2839, allocations: 124.9 kB / 0.5624 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.062e-05/0.284, allocations: 176.3 kB / 0.5625 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-05/0.2841, allocations: 180.2 kB / 0.5627 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-05/0.2842, allocations: 176.3 kB / 0.5629 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.2846, allocations: 417.1 kB / 0.5633 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.92e-05/0.2846, allocations: 101 kB / 0.5634 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.2847, allocations: 105 kB / 0.5635 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.226e-05/0.2848, allocations: 184.2 kB / 0.5637 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.2849, allocations: 176.3 kB / 0.5638 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.409e-05/0.285, allocations: 184.2 kB / 0.564 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001183/0.2851, allocations: 184.3 kB / 0.5642 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.2853, allocations: 307.7 kB / 0.5645 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.2855, allocations: 186 kB / 0.5646 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.2856, allocations: 184.2 kB / 0.5648 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.2858, allocations: 109 kB / 0.5649 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.286, allocations: 184.3 kB / 0.5651 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.286, allocations: 104.9 kB / 0.5652 GB, free: 2.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.112e-05/0.2861, allocations: 87.27 kB / 0.5653 GB, free: 2.418 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2861, allocations: 0 / 0.5653 GB, free: 2.418 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004756/0.2866, allocations: 19.94 kB / 0.5653 GB, free: 2.398 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.0007309/0.2873, allocations: 0.825 MB / 0.5661 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.2875, allocations: 15.92 kB / 0.5661 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2875, allocations: 0 / 0.5661 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.2875, allocations: 0 / 0.5661 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.2881, allocations: 0.5265 MB / 0.5666 GB, free: 1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.2888, allocations: 217.8 kB / 0.5668 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.2891, allocations: 0.677 MB / 0.5675 GB, free: 40 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.576e-05/0.2892, allocations: 11.94 kB / 0.5675 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.2892, allocations: 15.44 kB / 0.5675 GB, free: 12 kB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2893, allocations: 0 / 0.5675 GB, free: 12 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.315, allocations: 1.204 MB / 0.5687 GB, free: 14.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004146/0.3156, allocations: 179.8 kB / 0.5689 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/3.272, allocations: 0 / 0.5689 GB, free: 14.71 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: