Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009206/0.0009206, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001108/0.001109, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.01/1.01, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 12 kB / 0.5161 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 83.43 MB / 0.5975 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4162/0.5863, allocations: 122.6 MB / 0.7172 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001374/0.5865, allocations: 50.55 kB / 0.7173 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.5866, allocations: 0 / 0.7173 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.525e-05/0.5867, allocations: 8.641 kB / 0.7173 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.929e-05/0.5867, allocations: 10.03 kB / 0.7173 GB, free: 8.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.5875, allocations: 189.8 kB / 0.7175 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.675e-05/0.5875, allocations: 46.61 kB / 0.7175 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.067e-05/0.5876, allocations: 2.484 kB / 0.7175 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.5876, allocations: 18.94 kB / 0.7176 GB, free: 8.082 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.5877, allocations: 12.56 kB / 0.7176 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.5877, allocations: 1.125 kB / 0.7176 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.5881, allocations: 160.8 kB / 0.7177 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.5882, allocations: 6.203 kB / 0.7177 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.5882, allocations: 27.73 kB / 0.7177 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.5884, allocations: 111.2 kB / 0.7179 GB, free: 7.965 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5884, allocations: 1.25 kB / 0.7179 GB, free: 7.965 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5884, allocations: 4 kB / 0.7179 GB, free: 7.961 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.5884, allocations: 0 / 0.7179 GB, free: 7.961 MB / 0.545 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.0003464/0.5888, allocations: 347.9 kB / 0.7182 GB, free: 7.594 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5888, allocations: 10.03 kB / 0.7182 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.5889, allocations: 36.16 kB / 0.7182 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.5889, allocations: 5.375 kB / 0.7182 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.589, allocations: 161.4 kB / 0.7184 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.5891, allocations: 27.17 kB / 0.7184 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.5891, allocations: 7.828 kB / 0.7184 GB, free: 7.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.5892, allocations: 43.42 kB / 0.7185 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5892, allocations: 3.984 kB / 0.7185 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.5892, allocations: 1.031 kB / 0.7185 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.5893, allocations: 1.484 kB / 0.7185 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/0.5893, allocations: 18.2 kB / 0.7185 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.59, allocations: 0.605 MB / 0.7191 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.393e-05/0.59, allocations: 17.38 kB / 0.7191 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.5901, allocations: 6.578 kB / 0.7191 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.5903, allocations: 333 kB / 0.7194 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.5903, allocations: 32.42 kB / 0.7195 GB, free: 6.168 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.5903, allocations: 1 kB / 0.7195 GB, free: 6.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.5904, allocations: 44.42 kB / 0.7195 GB, free: 6.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5905, allocations: 53.12 kB / 0.7196 GB, free: 6.062 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.5905, allocations: 106.8 kB / 0.7197 GB, free: 5.957 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5906, allocations: 30.05 kB / 0.7197 GB, free: 5.926 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.5906, allocations: 89.69 kB / 0.7198 GB, free: 5.836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.5906, allocations: 9.656 kB / 0.7198 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.5906, allocations: 0 / 0.7198 GB, free: 5.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.5907, allocations: 313.1 kB / 0.7201 GB, free: 5.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.5908, allocations: 6.875 kB / 0.7201 GB, free: 5.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.5908, allocations: 18.59 kB / 0.7201 GB, free: 5.492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.598e-05/0.5908, allocations: 8.516 kB / 0.7201 GB, free: 5.488 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5908, allocations: 5.062 kB / 0.7201 GB, free: 5.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.196e-05/0.5909, allocations: 45.8 kB / 0.7202 GB, free: 5.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.5909, allocations: 5.125 kB / 0.7202 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5909, allocations: 0.6094 kB / 0.7202 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.591, allocations: 1.25 kB / 0.7202 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-05/0.591, allocations: 9.812 kB / 0.7202 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.591, allocations: 5.062 kB / 0.7202 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.591, allocations: 1.094 kB / 0.7202 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.5911, allocations: 6.859 kB / 0.7202 GB, free: 5.438 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.4e-05/0.5911, allocations: 112.6 kB / 0.7203 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.5912, allocations: 1.797 kB / 0.7203 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.5913, allocations: 114 kB / 0.7204 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.137e-05/0.5913, allocations: 186.1 kB / 0.7206 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.297e-05/0.5914, allocations: 182.6 kB / 0.7208 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.235e-05/0.5915, allocations: 177.6 kB / 0.7209 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.5917, allocations: 411.8 kB / 0.7213 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-05/0.5917, allocations: 106.6 kB / 0.7214 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.5918, allocations: 110.5 kB / 0.7215 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.173e-05/0.5918, allocations: 178.7 kB / 0.7217 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.5919, allocations: 178 kB / 0.7219 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.209e-05/0.592, allocations: 182 kB / 0.722 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-05/0.592, allocations: 177.9 kB / 0.7222 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.5922, allocations: 318.6 kB / 0.7225 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.5923, allocations: 184.9 kB / 0.7227 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.5923, allocations: 182.7 kB / 0.7229 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.5925, allocations: 106.5 kB / 0.723 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.5926, allocations: 183 kB / 0.7231 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.5926, allocations: 107.2 kB / 0.7232 GB, free: 2.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.5927, allocations: 86.98 kB / 0.7233 GB, free: 2.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5927, allocations: 0 / 0.7233 GB, free: 2.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002894/0.593, allocations: 50.7 kB / 0.7234 GB, free: 2.055 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 (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.0005767/0.5935, allocations: 0.893 MB / 0.7242 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.286e-05/0.5936, allocations: 12.7 kB / 0.7243 GB, free: 1.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5936, allocations: 4.125 kB / 0.7243 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-06/0.5936, allocations: 5.5 kB / 0.7243 GB, free: 1.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.594, allocations: 0.5213 MB / 0.7248 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.5944, allocations: 243 kB / 0.725 GB, free: 456 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.5947, allocations: 0.6781 MB / 0.7257 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.5947, allocations: 5.984 kB / 0.7257 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.5947, allocations: 9.281 kB / 0.7257 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5947, allocations: 1.188 kB / 0.7257 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.6068, allocations: 2.019 MB / 0.7277 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.607, allocations: 197.2 kB / 0.7278 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.273, allocations: 5.969 kB / 0.7278 GB, free: 15.26 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: