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.0007341/0.0007344, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.004395/0.004395, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.336 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 0.8597/0.8597, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 12 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 83.42 MB / 0.598 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3426/0.4771, allocations: 131.6 MB / 0.7265 GB, free: 44 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001336/0.4773, allocations: 51.44 kB / 0.7265 GB, free: 12 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.4773, allocations: 0.9688 kB / 0.7265 GB, free: 12 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.428e-05/0.4774, allocations: 8.5 kB / 0.7265 GB, free: 4 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.499e-05/0.4775, allocations: 10.14 kB / 0.7265 GB, free: 0 / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.4782, allocations: 225 kB / 0.7267 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.4783, allocations: 61 kB / 0.7268 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.8e-05/0.4784, allocations: 2.031 kB / 0.7268 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.4784, allocations: 11.84 kB / 0.7268 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.4785, allocations: 25.61 kB / 0.7268 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.4785, allocations: 0 / 0.7268 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.4789, allocations: 247.2 kB / 0.7271 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.479, allocations: 4.312 kB / 0.7271 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.479, allocations: 36.86 kB / 0.7271 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.4793, allocations: 194.6 kB / 0.7273 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4794, allocations: 0 / 0.7273 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4794, allocations: 0.6562 kB / 0.7273 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.4794, allocations: 1.156 kB / 0.7273 GB, free: 15.68 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.0003377/0.4797, allocations: 352.5 kB / 0.7276 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4798, allocations: 9.688 kB / 0.7276 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.4798, allocations: 36.31 kB / 0.7277 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.4798, allocations: 4 kB / 0.7277 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.4799, allocations: 163.2 kB / 0.7278 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.48, allocations: 32.02 kB / 0.7279 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.48, allocations: 9.922 kB / 0.7279 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.4801, allocations: 39.86 kB / 0.7279 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.4801, allocations: 4.656 kB / 0.7279 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.4801, allocations: 0 / 0.7279 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.4802, allocations: 1.156 kB / 0.7279 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.4802, allocations: 17 kB / 0.7279 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.4808, allocations: 0.5995 MB / 0.7285 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.055e-05/0.4809, allocations: 28.06 kB / 0.7285 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.4809, allocations: 6.234 kB / 0.7286 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.4811, allocations: 338 kB / 0.7289 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.4811, allocations: 32.33 kB / 0.7289 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4811, allocations: 0.9688 kB / 0.7289 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001144/0.4812, allocations: 33.78 kB / 0.7289 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.4813, allocations: 56.05 kB / 0.729 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.4813, allocations: 107.5 kB / 0.7291 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.4813, allocations: 25.7 kB / 0.7291 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.4814, allocations: 90.66 kB / 0.7292 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.4814, allocations: 8.969 kB / 0.7292 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.4814, allocations: 11.45 kB / 0.7292 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.4815, allocations: 316.1 kB / 0.7295 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.4815, allocations: 3.859 kB / 0.7295 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.4816, allocations: 18.47 kB / 0.7295 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.4816, allocations: 21.27 kB / 0.7296 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4816, allocations: 1.094 kB / 0.7296 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.008e-05/0.4817, allocations: 49.61 kB / 0.7296 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.4817, allocations: 4.656 kB / 0.7296 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4817, allocations: 1.641 kB / 0.7296 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.4817, allocations: 1.438 kB / 0.7296 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/0.4818, allocations: 5.438 kB / 0.7296 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4818, allocations: 9.031 kB / 0.7296 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.4818, allocations: 1.547 kB / 0.7296 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.4818, allocations: 5.344 kB / 0.7296 GB, free: 13.12 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 6.91e-05/0.4819, allocations: 117.7 kB / 0.7298 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.4819, allocations: 5.156 kB / 0.7298 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.549e-05/0.482, allocations: 115.5 kB / 0.7299 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.057e-05/0.4821, allocations: 190.2 kB / 0.7301 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.537e-05/0.4821, allocations: 177 kB / 0.7302 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/0.4822, allocations: 178.3 kB / 0.7304 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.4823, allocations: 412.5 kB / 0.7308 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.647e-05/0.4824, allocations: 101.5 kB / 0.7309 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.4824, allocations: 108.5 kB / 0.731 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.456e-05/0.4825, allocations: 181 kB / 0.7312 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.4825, allocations: 178.5 kB / 0.7313 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.169e-05/0.4826, allocations: 180.9 kB / 0.7315 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.241e-05/0.4826, allocations: 179.2 kB / 0.7317 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.4827, allocations: 321.4 kB / 0.732 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.4828, allocations: 185 kB / 0.7322 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.4828, allocations: 186.9 kB / 0.7323 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.483, allocations: 105.4 kB / 0.7324 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.483, allocations: 182.4 kB / 0.7326 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.4831, allocations: 103.4 kB / 0.7327 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.4831, allocations: 94.34 kB / 0.7328 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4831, allocations: 1.562 kB / 0.7328 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002845/0.4834, allocations: 52.44 kB / 0.7328 GB, free: 9.73 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.0004694/0.4839, allocations: 0.8826 MB / 0.7337 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.298e-05/0.4839, allocations: 12.45 kB / 0.7337 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.484, allocations: 0 / 0.7337 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.484, allocations: 1.406 kB / 0.7337 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.4843, allocations: 0.5299 MB / 0.7342 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.4851, allocations: 1.351 MB / 0.7356 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.4853, allocations: 0.6783 MB / 0.7362 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.4854, allocations: 6.828 kB / 0.7362 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.4854, allocations: 14.17 kB / 0.7362 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.4854, allocations: 0 / 0.7362 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.233/1.718, allocations: 2.078 MB / 0.7383 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/1.718, allocations: 213.5 kB / 0.7385 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/3.868, allocations: 2.5 kB / 0.7385 GB, free: 5.809 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)