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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002307/0.002307, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9276/0.9276, allocations: 145 MB / 457.4 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 70.17 kB / 0.6331 GB, free: 6.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.19, allocations: 87.9 MB / 0.7189 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5719/0.7619, allocations: 119 MB / 0.8351 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001867/0.7621, allocations: 53.59 kB / 0.8352 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.7621, allocations: 0 / 0.8352 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.7622, allocations: 0 / 0.8352 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.093e-05/0.7623, allocations: 10.7 kB / 0.8352 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009625/0.7633, allocations: 259.9 kB / 0.8355 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.7634, allocations: 32.62 kB / 0.8355 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.7634, allocations: 2.875 kB / 0.8355 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.7634, allocations: 14.22 kB / 0.8355 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.7635, allocations: 17.22 kB / 0.8355 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.7635, allocations: 4 kB / 0.8355 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.764, allocations: 183.4 kB / 0.8357 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.7641, allocations: 6.719 kB / 0.8357 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.7641, allocations: 13.45 kB / 0.8357 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.7645, allocations: 163.1 kB / 0.8359 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7645, allocations: 0 / 0.8359 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7645, allocations: 0 / 0.8359 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.7645, allocations: 3.984 kB / 0.8359 GB, free: 2.934 MB / 0.6075 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.0004789/0.765, allocations: 279.4 kB / 0.8361 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.7651, allocations: 10.75 kB / 0.8362 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.7651, allocations: 42.69 kB / 0.8362 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.7652, allocations: 6.625 kB / 0.8362 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.7653, allocations: 108.8 kB / 0.8363 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.7654, allocations: 51.97 kB / 0.8364 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.7654, allocations: 6.5 kB / 0.8364 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.7656, allocations: 67.89 kB / 0.8364 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7656, allocations: 0 / 0.8364 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.7656, allocations: 0 / 0.8364 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.7656, allocations: 2.188 kB / 0.8364 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.7656, allocations: 12.27 kB / 0.8364 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.7664, allocations: 293.1 kB / 0.8367 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.904e-05/0.7664, allocations: 17.48 kB / 0.8367 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.7664, allocations: 4.859 kB / 0.8367 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.286e-05/0.7665, allocations: 34.44 kB / 0.8368 GB, free: 2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.7665, allocations: 30.56 kB / 0.8368 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.7665, allocations: 0 / 0.8368 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.7667, allocations: 41.91 kB / 0.8368 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.7667, allocations: 51.41 kB / 0.8369 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.7668, allocations: 107.1 kB / 0.837 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.7669, allocations: 25.7 kB / 0.837 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.7669, allocations: 94.44 kB / 0.8371 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.7669, allocations: 7.953 kB / 0.8371 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.767, allocations: 15.59 kB / 0.8371 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.7671, allocations: 314.8 kB / 0.8374 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.7671, allocations: 10.55 kB / 0.8374 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.7672, allocations: 14.53 kB / 0.8375 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.7672, allocations: 24.84 kB / 0.8375 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7672, allocations: 4 kB / 0.8375 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.411e-05/0.7673, allocations: 43.09 kB / 0.8375 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7673, allocations: 5.188 kB / 0.8375 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7673, allocations: 1.969 kB / 0.8375 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7673, allocations: 0 / 0.8375 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.7674, allocations: 14.16 kB / 0.8375 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7674, allocations: 3.938 kB / 0.8375 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.7674, allocations: 3.984 kB / 0.8376 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.7674, allocations: 6.188 kB / 0.8376 GB, free: 1.18 MB / 0.6075 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 8.955e-05/0.7675, allocations: 112.8 kB / 0.8377 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.7675, allocations: 0.625 kB / 0.8377 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.7677, allocations: 125.9 kB / 0.8378 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-05/0.7678, allocations: 188.2 kB / 0.838 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.76e-05/0.7678, allocations: 179.2 kB / 0.8381 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.564e-05/0.7679, allocations: 180.5 kB / 0.8383 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.7682, allocations: 381.4 kB / 0.8387 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-05/0.7683, allocations: 103.9 kB / 0.8388 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.7683, allocations: 107.2 kB / 0.8389 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-05/0.7684, allocations: 180.2 kB / 0.839 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.7686, allocations: 190.9 kB / 0.8392 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.4e-05/0.7686, allocations: 180.2 kB / 0.8394 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.117e-05/0.7687, allocations: 183.5 kB / 0.8396 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.7689, allocations: 304.9 kB / 0.8399 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.7689, allocations: 115.2 kB / 0.84 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.769, allocations: 178.8 kB / 0.8401 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.7692, allocations: 104.2 kB / 0.8402 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.7693, allocations: 180.2 kB / 0.8404 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.7694, allocations: 108.9 kB / 0.8405 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.837e-05/0.7694, allocations: 88.56 kB / 0.8406 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7694, allocations: 128 / 0.8406 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003483/0.7698, allocations: 59.8 kB / 0.8407 GB, free: 13.85 MB / 0.6231 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.0007273/0.7705, allocations: 0.891 MB / 0.8415 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.366e-05/0.7706, allocations: 8 kB / 0.8415 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7706, allocations: 0 / 0.8415 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/0.7706, allocations: 3.938 kB / 0.8415 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.771, allocations: 467.7 kB / 0.842 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.7724, allocations: 1.337 MB / 0.8433 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.7724, allocations: 63.34 kB / 0.8434 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.7725, allocations: 9 kB / 0.8434 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.7725, allocations: 7.438 kB / 0.8434 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of SimCode: time 6.52e-07/0.7725, allocations: 0 / 0.8434 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.8073, allocations: 2.822 MB / 0.8461 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.03, allocations: 14.98 kB / 0.8461 GB, free: 8.262 MB / 0.6231 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.807905694004148] Failed to read output from testmodel.py, exit status != 0: 12.133843199815601 12.151105598000001 11.381640477 Calling exit ...