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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.001021/0.001021, allocations: 108 kB / 15.6 MB, free: 132 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.00105/0.00105, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.007/1.007, allocations: 143 MB / 433.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.89 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1504, allocations: 82.04 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3904/0.5408, allocations: 135.4 MB / 0.7266 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.541, allocations: 43.8 kB / 0.7267 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.541, allocations: 4 kB / 0.7267 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.5412, allocations: 6.953 kB / 0.7267 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.5413, allocations: 16.84 kB / 0.7267 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008311/0.5421, allocations: 236.9 kB / 0.7269 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.809e-05/0.5422, allocations: 37.41 kB / 0.727 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.5422, allocations: 7.156 kB / 0.727 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.5423, allocations: 15.91 kB / 0.727 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.5423, allocations: 11.41 kB / 0.727 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.5424, allocations: 1.469 kB / 0.727 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.5428, allocations: 244.2 kB / 0.7272 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.5429, allocations: 8.734 kB / 0.7272 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.5429, allocations: 14.02 kB / 0.7272 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.5433, allocations: 188.4 kB / 0.7274 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5433, allocations: 0 / 0.7274 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.286e-06/0.5433, allocations: 4 kB / 0.7274 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.5433, allocations: 4.75 kB / 0.7274 GB, free: 14.84 MB / 0.5606 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.0004056/0.5437, allocations: 362.2 kB / 0.7278 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.5438, allocations: 9.219 kB / 0.7278 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.5438, allocations: 31.5 kB / 0.7278 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.5438, allocations: 3.5 kB / 0.7278 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.5439, allocations: 165.2 kB / 0.728 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.544, allocations: 26.27 kB / 0.728 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.544, allocations: 9.188 kB / 0.728 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.5441, allocations: 44.02 kB / 0.7281 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.5442, allocations: 2.531 kB / 0.7281 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.5442, allocations: 2.031 kB / 0.7281 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.5442, allocations: 1.312 kB / 0.7281 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.5442, allocations: 20.98 kB / 0.7281 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006762/0.5449, allocations: 0.5964 MB / 0.7287 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.545, allocations: 15.77 kB / 0.7287 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.545, allocations: 7.578 kB / 0.7287 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.5452, allocations: 337.1 kB / 0.729 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.5452, allocations: 33.41 kB / 0.729 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.5452, allocations: 0 / 0.729 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.5454, allocations: 37.11 kB / 0.7291 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.5454, allocations: 57.33 kB / 0.7291 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.5455, allocations: 106.3 kB / 0.7292 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.5455, allocations: 27.36 kB / 0.7293 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.5455, allocations: 84.66 kB / 0.7293 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.5456, allocations: 13.81 kB / 0.7293 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.5456, allocations: 15.58 kB / 0.7294 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.5457, allocations: 315.5 kB / 0.7297 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.5457, allocations: 8.422 kB / 0.7297 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.5457, allocations: 26.56 kB / 0.7297 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.545e-05/0.5458, allocations: 25.02 kB / 0.7297 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5458, allocations: 0.7969 kB / 0.7297 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.41e-05/0.5459, allocations: 41.88 kB / 0.7298 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5459, allocations: 10.09 kB / 0.7298 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5459, allocations: 1.312 kB / 0.7298 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5459, allocations: 5.125 kB / 0.7298 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.042e-05/0.546, allocations: 5.297 kB / 0.7298 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.546, allocations: 2.297 kB / 0.7298 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.546, allocations: 5.5 kB / 0.7298 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.546, allocations: 6.219 kB / 0.7298 GB, free: 12.27 MB / 0.5606 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 5.74e-05/0.5461, allocations: 107.8 kB / 0.7299 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.5461, allocations: 2.594 kB / 0.7299 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.5462, allocations: 122.4 kB / 0.73 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-05/0.5463, allocations: 188.5 kB / 0.7302 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.871e-05/0.5463, allocations: 181.9 kB / 0.7304 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.265e-05/0.5464, allocations: 183.9 kB / 0.7305 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.5466, allocations: 411.4 kB / 0.7309 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/0.5466, allocations: 107 kB / 0.731 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.5467, allocations: 106.6 kB / 0.7311 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.016e-05/0.5467, allocations: 178.2 kB / 0.7313 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.5468, allocations: 182 kB / 0.7315 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.798e-05/0.5468, allocations: 178.2 kB / 0.7317 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.137e-05/0.5469, allocations: 180.9 kB / 0.7318 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.547, allocations: 311.5 kB / 0.7321 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.5471, allocations: 184 kB / 0.7323 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.5471, allocations: 186.8 kB / 0.7325 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.5473, allocations: 109.2 kB / 0.7326 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.5473, allocations: 182 kB / 0.7328 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.5474, allocations: 103.6 kB / 0.7329 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.5474, allocations: 90.36 kB / 0.7329 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5474, allocations: 0 / 0.7329 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002864/0.5477, allocations: 56.83 kB / 0.733 GB, free: 8.871 MB / 0.5606 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.0005107/0.5482, allocations: 0.883 MB / 0.7339 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.302e-05/0.5483, allocations: 10.95 kB / 0.7339 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5483, allocations: 5.344 kB / 0.7339 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.5483, allocations: 3.938 kB / 0.7339 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.5487, allocations: 459.6 kB / 0.7343 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.5496, allocations: 1.333 MB / 0.7356 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.5498, allocations: 0.6746 MB / 0.7363 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.834e-05/0.5499, allocations: 6.172 kB / 0.7363 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.5499, allocations: 10.72 kB / 0.7363 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5499, allocations: 0 / 0.7363 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.419/1.969, allocations: 2.258 MB / 0.7385 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.622/10.59, allocations: 9.297 kB / 0.7385 GB, free: 5.098 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/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)