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.001511/0.001511, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001762/0.001762, allocations: 214.9 kB / 23.01 MB, free: 4.566 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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.8438/0.8438, allocations: 145 MB / 458.2 MB, free: 15.51 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: translateModel(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [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.001955/0.001955, allocations: 69.86 kB / 0.6344 GB, free: 6.871 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1634, allocations: 87.88 MB / 0.7202 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4323/0.5956, allocations: 138.7 MB / 0.8557 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.5958, allocations: 55.05 kB / 0.8557 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.5958, allocations: 4 kB / 0.8557 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.5959, allocations: 3.984 kB / 0.8557 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.596, allocations: 7.938 kB / 0.8557 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.5968, allocations: 259.1 kB / 0.856 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.564e-05/0.5969, allocations: 31.91 kB / 0.856 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.5969, allocations: 8 kB / 0.856 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.597, allocations: 11.98 kB / 0.856 GB, free: 2 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.597, allocations: 23.75 kB / 0.856 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.597, allocations: 0 / 0.856 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004884/0.5975, allocations: 263.4 kB / 0.8563 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.5976, allocations: 4 kB / 0.8563 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.5976, allocations: 15.91 kB / 0.8563 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.5979, allocations: 176.7 kB / 0.8565 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5979, allocations: 0 / 0.8565 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5979, allocations: 0 / 0.8565 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.5979, allocations: 0 / 0.8565 GB, free: 1.535 MB / 0.6231 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.0004016/0.5983, allocations: 300 kB / 0.8568 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.5984, allocations: 8.031 kB / 0.8568 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.5984, allocations: 0.9375 kB / 0.8568 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.5985, allocations: 110.5 kB / 0.8569 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.5986, allocations: 52.16 kB / 0.8569 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.5986, allocations: 10 kB / 0.8569 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.5987, allocations: 41.67 kB / 0.857 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5987, allocations: 4 kB / 0.857 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.5987, allocations: 3.984 kB / 0.857 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.5988, allocations: 4 kB / 0.857 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.5988, allocations: 12 kB / 0.857 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.5994, allocations: 287.8 kB / 0.8573 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 3.913e-05/0.5995, allocations: 18.58 kB / 0.8573 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.5995, allocations: 8.859 kB / 0.8573 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.921e-05/0.5995, allocations: 32.03 kB / 0.8573 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.5996, allocations: 34.56 kB / 0.8574 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.5996, allocations: 0 / 0.8574 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.5997, allocations: 33.64 kB / 0.8574 GB, free: 468 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.5998, allocations: 55.39 kB / 0.8575 GB, free: 400 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.5998, allocations: 105.8 kB / 0.8576 GB, free: 284 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.5999, allocations: 29.83 kB / 0.8576 GB, free: 248 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.5999, allocations: 84.09 kB / 0.8577 GB, free: 160 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.5999, allocations: 7.938 kB / 0.8577 GB, free: 152 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.5999, allocations: 17.72 kB / 0.8577 GB, free: 128 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6001, allocations: 318.8 kB / 0.858 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.6001, allocations: 0 / 0.858 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.6001, allocations: 21.7 kB / 0.858 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.6002, allocations: 27.34 kB / 0.858 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6002, allocations: 0 / 0.858 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.589e-05/0.6002, allocations: 45.69 kB / 0.8581 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6003, allocations: 11.94 kB / 0.8581 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6003, allocations: 0 / 0.8581 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6003, allocations: 0 / 0.8581 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.354e-05/0.6003, allocations: 7.938 kB / 0.8581 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.6003, allocations: 0 / 0.8581 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.6003, allocations: 8.062 kB / 0.8581 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.6004, allocations: 0 / 0.8581 GB, free: 15.66 MB / 0.6387 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.074e-05/0.6004, allocations: 122.9 kB / 0.8582 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.6005, allocations: 0 / 0.8582 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.6006, allocations: 115.4 kB / 0.8583 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.776e-05/0.6007, allocations: 192.2 kB / 0.8585 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.469e-05/0.6008, allocations: 180.3 kB / 0.8587 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000138/0.6009, allocations: 180.2 kB / 0.8589 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.6012, allocations: 380.2 kB / 0.8592 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.642e-05/0.6013, allocations: 106 kB / 0.8593 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.6013, allocations: 106.2 kB / 0.8594 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-05/0.6014, allocations: 184.3 kB / 0.8596 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.6015, allocations: 184.2 kB / 0.8598 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-05/0.6015, allocations: 180.3 kB / 0.8599 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.943e-05/0.6016, allocations: 176.3 kB / 0.8601 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.6018, allocations: 311.7 kB / 0.8604 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.6019, allocations: 113.8 kB / 0.8605 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.62e-05/0.6019, allocations: 184.3 kB / 0.8607 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.6021, allocations: 101 kB / 0.8608 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/0.6022, allocations: 188.2 kB / 0.861 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.6022, allocations: 101 kB / 0.8611 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.813e-05/0.6023, allocations: 84.72 kB / 0.8612 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6023, allocations: 4 kB / 0.8612 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003288/0.6026, allocations: 63.67 kB / 0.8612 GB, free: 12.29 MB / 0.6387 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.0003326/0.6029, allocations: 262.1 kB / 0.8615 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.603, allocations: 7.938 kB / 0.8615 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.603, allocations: 0 / 0.8615 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.603, allocations: 4 kB / 0.8615 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.6035, allocations: 463.6 kB / 0.8619 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.6037, allocations: 204.6 kB / 0.8621 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.6041, allocations: 0.6768 MB / 0.8628 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.6041, allocations: 11.44 kB / 0.8628 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6041, allocations: 0 / 0.8628 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of Templates: time 0.003725/0.6078, allocations: 1.287 MB / 0.864 GB, free: 9.336 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.915095704142004] Failed to read output from testmodel.py, exit status != 0: 0.6163812519516796 0.629901971 0.029054847 Calling exit ...