Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",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.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001242/0.001242, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7079/0.7079, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 65.08 kB / 0.5012 GB, free: 9.109 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1592, allocations: 80.2 MB / 0.5795 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4175/0.5767, allocations: 133.3 MB / 0.7097 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000176/0.5769, allocations: 56.14 kB / 0.7098 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.577, allocations: 0 / 0.7098 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.5771, allocations: 6.109 kB / 0.7098 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.629e-05/0.5772, allocations: 5.312 kB / 0.7098 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000851/0.578, allocations: 228 kB / 0.71 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.904e-05/0.5782, allocations: 62.52 kB / 0.71 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.5782, allocations: 2.219 kB / 0.71 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.5782, allocations: 11.3 kB / 0.7101 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.5783, allocations: 17.81 kB / 0.7101 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.5783, allocations: 0.9688 kB / 0.7101 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004857/0.5788, allocations: 246.7 kB / 0.7103 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.5789, allocations: 13.19 kB / 0.7103 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.5789, allocations: 9.766 kB / 0.7103 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.5793, allocations: 194 kB / 0.7105 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5793, allocations: 1.156 kB / 0.7105 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5793, allocations: 0.75 kB / 0.7105 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.5793, allocations: 0 / 0.7105 GB, free: 1.047 MB / 0.5294 GB 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.0004028/0.5797, allocations: 360.3 kB / 0.7109 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5798, allocations: 10.41 kB / 0.7109 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.5798, allocations: 31.45 kB / 0.7109 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.5799, allocations: 13.06 kB / 0.7109 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.58, allocations: 162.8 kB / 0.7111 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/0.58, allocations: 32.44 kB / 0.7111 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.5801, allocations: 5.859 kB / 0.7111 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.5802, allocations: 40.59 kB / 0.7111 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.5802, allocations: 0 / 0.7111 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5802, allocations: 1.312 kB / 0.7111 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.5803, allocations: 1.75 kB / 0.7112 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.728e-05/0.5803, allocations: 17.94 kB / 0.7112 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.5811, allocations: 0.6005 MB / 0.7118 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.5811, allocations: 20.48 kB / 0.7118 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.5811, allocations: 10.61 kB / 0.7118 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.5813, allocations: 334.5 kB / 0.7121 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.5814, allocations: 36 kB / 0.7121 GB, free: 15.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.5814, allocations: 0 / 0.7121 GB, free: 15.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000143/0.5815, allocations: 38.59 kB / 0.7122 GB, free: 15.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.5816, allocations: 55.34 kB / 0.7122 GB, free: 15.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.5816, allocations: 102.8 kB / 0.7123 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.5817, allocations: 25.7 kB / 0.7123 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.5817, allocations: 89.91 kB / 0.7124 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.713e-06/0.5817, allocations: 7.312 kB / 0.7124 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.5818, allocations: 18.56 kB / 0.7125 GB, free: 14.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.5818, allocations: 321.7 kB / 0.7128 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.5819, allocations: 2.812 kB / 0.7128 GB, free: 14.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.5819, allocations: 19.05 kB / 0.7128 GB, free: 14.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.5819, allocations: 21.53 kB / 0.7128 GB, free: 14.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5819, allocations: 4 kB / 0.7128 GB, free: 14.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.487e-05/0.582, allocations: 49.84 kB / 0.7129 GB, free: 14.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.5821, allocations: 8.531 kB / 0.7129 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5821, allocations: 1.375 kB / 0.7129 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.5821, allocations: 0 / 0.7129 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.545e-05/0.5821, allocations: 7.188 kB / 0.7129 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.5822, allocations: 0 / 0.7129 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.5822, allocations: 1.562 kB / 0.7129 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.5822, allocations: 5.969 kB / 0.7129 GB, free: 14.48 MB / 0.545 GB 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 6.774e-05/0.5823, allocations: 117.5 kB / 0.713 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.5823, allocations: 9.219 kB / 0.713 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.5824, allocations: 119.7 kB / 0.7131 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.339e-05/0.5825, allocations: 182.1 kB / 0.7133 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.188e-05/0.5825, allocations: 182.1 kB / 0.7135 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.208e-05/0.5826, allocations: 180.9 kB / 0.7136 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.5828, allocations: 412.7 kB / 0.714 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/0.5828, allocations: 102.8 kB / 0.7141 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.5829, allocations: 106.8 kB / 0.7142 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-05/0.5829, allocations: 176.9 kB / 0.7144 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.583, allocations: 178.1 kB / 0.7146 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.544e-05/0.583, allocations: 190.2 kB / 0.7148 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-05/0.5831, allocations: 186.1 kB / 0.7149 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.5832, allocations: 305.2 kB / 0.7152 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.5833, allocations: 185 kB / 0.7154 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.5834, allocations: 187 kB / 0.7156 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.5835, allocations: 105.7 kB / 0.7157 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.5836, allocations: 182.4 kB / 0.7158 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.5836, allocations: 103 kB / 0.7159 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.5837, allocations: 89.22 kB / 0.716 GB, free: 11.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5837, allocations: 1.594 kB / 0.716 GB, free: 11.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003197/0.584, allocations: 51.55 kB / 0.7161 GB, free: 11.09 MB / 0.545 GB 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.000546/0.5845, allocations: 0.892 MB / 0.717 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.023e-05/0.5846, allocations: 6.609 kB / 0.717 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5846, allocations: 1.438 kB / 0.717 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.5846, allocations: 0 / 0.717 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.585, allocations: 0.5278 MB / 0.7175 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.586, allocations: 1.343 MB / 0.7188 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.5863, allocations: 0.6751 MB / 0.7194 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.5863, allocations: 11.72 kB / 0.7195 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.5864, allocations: 13.64 kB / 0.7195 GB, free: 7.668 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5864, allocations: 3.938 kB / 0.7195 GB, free: 7.664 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1298/0.7161, allocations: 2.053 MB / 0.7215 GB, free: 7.336 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.7165, allocations: 197.9 kB / 0.7217 GB, free: 7.086 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.723, allocations: 0 / 0.7217 GB, free: 7.086 MB / 0.545 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)