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.001378/0.001378, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001647/0.001647, allocations: 213.7 kB / 22.25 MB, free: 5.125 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.805 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.9225/0.9225, 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: 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.002052/0.002052, allocations: 76.33 kB / 0.6335 GB, free: 6.207 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1752, allocations: 87.89 MB / 0.7194 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5054/0.6807, allocations: 119 MB / 0.8356 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001499/0.6808, allocations: 52.81 kB / 0.8357 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.6808, allocations: 0 / 0.8357 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.6809, allocations: 7.938 kB / 0.8357 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.681, allocations: 14.25 kB / 0.8357 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008144/0.6818, allocations: 244.9 kB / 0.8359 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.036e-05/0.6819, allocations: 35.81 kB / 0.836 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.6819, allocations: 2.188 kB / 0.836 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.428e-05/0.682, allocations: 16.33 kB / 0.836 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.682, allocations: 19.81 kB / 0.836 GB, free: 3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.682, allocations: 0 / 0.836 GB, free: 3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.6824, allocations: 179.3 kB / 0.8362 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.6824, allocations: 6.641 kB / 0.8362 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.6825, allocations: 8.875 kB / 0.8362 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.6828, allocations: 176.2 kB / 0.8363 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6828, allocations: 0 / 0.8363 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6828, allocations: 0 / 0.8363 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.6828, allocations: 2.781 kB / 0.8364 GB, free: 2.816 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.0004183/0.6832, allocations: 284.6 kB / 0.8366 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.6832, allocations: 12.03 kB / 0.8366 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.6833, allocations: 0.9375 kB / 0.8366 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.6834, allocations: 106.5 kB / 0.8367 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/0.6835, allocations: 53.41 kB / 0.8368 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.6835, allocations: 3.938 kB / 0.8368 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.6836, allocations: 75.39 kB / 0.8369 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6836, allocations: 0 / 0.8369 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.6836, allocations: 3.938 kB / 0.8369 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.6837, allocations: 3.984 kB / 0.8369 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.6837, allocations: 12 kB / 0.8369 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.6843, allocations: 268.4 kB / 0.8371 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.685e-05/0.6844, allocations: 14.58 kB / 0.8372 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.6844, allocations: 4.859 kB / 0.8372 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.619e-05/0.6845, allocations: 36.05 kB / 0.8372 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.6845, allocations: 40.73 kB / 0.8372 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.6845, allocations: 0 / 0.8372 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.6846, allocations: 33.7 kB / 0.8373 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.6847, allocations: 51.41 kB / 0.8373 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/0.6848, allocations: 101.8 kB / 0.8374 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.6848, allocations: 29.7 kB / 0.8374 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.6849, allocations: 84.09 kB / 0.8375 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.6849, allocations: 7.953 kB / 0.8375 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.6849, allocations: 13.72 kB / 0.8375 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.685, allocations: 322.9 kB / 0.8378 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.6851, allocations: 8 kB / 0.8379 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.6851, allocations: 17.66 kB / 0.8379 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.6851, allocations: 25.7 kB / 0.8379 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6851, allocations: 0.875 kB / 0.8379 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.144e-05/0.6852, allocations: 41.64 kB / 0.8379 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6852, allocations: 4 kB / 0.8379 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6852, allocations: 4 kB / 0.8379 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.6852, allocations: 8 kB / 0.8379 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/0.6853, allocations: 7.984 kB / 0.838 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.6853, allocations: 0 / 0.838 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.6853, allocations: 8 kB / 0.838 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.6853, allocations: 3.656 kB / 0.838 GB, free: 0.9766 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.433e-05/0.6854, allocations: 114.3 kB / 0.8381 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.6854, allocations: 0 / 0.8381 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.6856, allocations: 133.6 kB / 0.8382 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.743e-05/0.6857, allocations: 180.3 kB / 0.8384 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.44e-05/0.6858, allocations: 188.2 kB / 0.8386 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.623e-05/0.6858, allocations: 176.3 kB / 0.8387 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.6861, allocations: 360.8 kB / 0.8391 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.862e-05/0.6862, allocations: 104.9 kB / 0.8392 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.6862, allocations: 105 kB / 0.8393 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.698e-05/0.6863, allocations: 184.2 kB / 0.8394 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-05/0.6864, allocations: 182.5 kB / 0.8396 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-05/0.6865, allocations: 176.3 kB / 0.8398 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.802e-05/0.6866, allocations: 188.2 kB / 0.84 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.6867, allocations: 307.7 kB / 0.8403 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.6868, allocations: 105 kB / 0.8404 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.175e-05/0.6869, allocations: 184.3 kB / 0.8405 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.6871, allocations: 112.9 kB / 0.8406 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.6872, allocations: 176.3 kB / 0.8408 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.6872, allocations: 108.9 kB / 0.8409 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.609e-05/0.6873, allocations: 83.28 kB / 0.841 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6873, allocations: 0 / 0.841 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003356/0.6876, allocations: 59.73 kB / 0.8411 GB, free: 13.64 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.0003578/0.688, allocations: 264 kB / 0.8413 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.945e-05/0.6881, allocations: 4 kB / 0.8413 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6881, allocations: 3.938 kB / 0.8413 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.6881, allocations: 4 kB / 0.8413 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.6885, allocations: 467.6 kB / 0.8418 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.6888, allocations: 178.9 kB / 0.8419 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.895e-05/0.6889, allocations: 59.34 kB / 0.842 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.6889, allocations: 4 kB / 0.842 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.6889, allocations: 7.438 kB / 0.842 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.6889, allocations: 0 / 0.842 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.004357/0.6933, allocations: 1.403 MB / 0.8434 GB, free: 11.23 MB / 0.6231 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: 5.948941117152572] Failed to read output from testmodel.py, exit status != 0: 0.7018855381757021 0.716251191 0.030453991000000003 Calling exit ...