Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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: 71.77 kB / 20.51 MB, free: 1.125 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.001566/0.001566, allocations: 161.1 kB / 23.76 MB, free: 4.195 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.54/1.54, allocations: 177.2 MB / 204.1 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9223/0.9223, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: IBPSA 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.002361/0.002361, allocations: 72.72 kB / 0.555 GB, free: 2.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1926, allocations: 89.14 MB / 0.6421 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5035/0.6961, allocations: 119 MB / 0.7583 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001748/0.6963, allocations: 57.66 kB / 0.7583 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.6963, allocations: 0 / 0.7583 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.6964, allocations: 3.938 kB / 0.7583 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.6965, allocations: 14.81 kB / 0.7583 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008819/0.6974, allocations: 242 kB / 0.7586 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.6974, allocations: 38.83 kB / 0.7586 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.6975, allocations: 0 / 0.7586 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.6975, allocations: 21.08 kB / 0.7586 GB, free: 452 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.653e-05/0.6976, allocations: 11.5 kB / 0.7586 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.6976, allocations: 2 kB / 0.7586 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000404/0.698, allocations: 179.2 kB / 0.7588 GB, free: 380 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.6981, allocations: 12.59 kB / 0.7588 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.6981, allocations: 5.281 kB / 0.7588 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.6984, allocations: 167.3 kB / 0.759 GB, free: 336 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6984, allocations: 0 / 0.759 GB, free: 336 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6984, allocations: 0 / 0.759 GB, free: 336 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.6984, allocations: 0 / 0.759 GB, free: 336 kB / 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.0004605/0.6989, allocations: 286.1 kB / 0.7593 GB, free: 48 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.6989, allocations: 10.44 kB / 0.7593 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.699, allocations: 0.9375 kB / 0.7593 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.6991, allocations: 117.4 kB / 0.7594 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.6992, allocations: 56.75 kB / 0.7594 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.6992, allocations: 3.938 kB / 0.7594 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.6994, allocations: 66.84 kB / 0.7595 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6994, allocations: 0 / 0.7595 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.6994, allocations: 0 / 0.7595 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.6994, allocations: 6.312 kB / 0.7595 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.6994, allocations: 12.94 kB / 0.7595 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.7001, allocations: 255.5 kB / 0.7598 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.7001, allocations: 24.83 kB / 0.7598 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.7001, allocations: 7.797 kB / 0.7598 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.367e-05/0.7002, allocations: 26.92 kB / 0.7598 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.7002, allocations: 33.81 kB / 0.7599 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7002, allocations: 3.938 kB / 0.7599 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001451/0.7004, allocations: 45.95 kB / 0.7599 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.7004, allocations: 51.41 kB / 0.7599 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.7005, allocations: 106.9 kB / 0.76 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.7005, allocations: 25.83 kB / 0.7601 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.7006, allocations: 97.27 kB / 0.7602 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-06/0.7006, allocations: 0 / 0.7602 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.7007, allocations: 19.34 kB / 0.7602 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7008, allocations: 317.1 kB / 0.7605 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.7008, allocations: 2.5 kB / 0.7605 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.7009, allocations: 17.88 kB / 0.7605 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.7009, allocations: 23.19 kB / 0.7605 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7009, allocations: 1.031 kB / 0.7605 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.149e-05/0.701, allocations: 54.09 kB / 0.7606 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.701, allocations: 5.469 kB / 0.7606 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.701, allocations: 0 / 0.7606 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.701, allocations: 2.656 kB / 0.7606 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.434e-05/0.701, allocations: 5.156 kB / 0.7606 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.7011, allocations: 6.469 kB / 0.7606 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.7011, allocations: 3.953 kB / 0.7606 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.7011, allocations: 2.812 kB / 0.7606 GB, free: 14.71 MB / 0.6231 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 9.824e-05/0.7012, allocations: 119.2 kB / 0.7607 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.7012, allocations: 0 / 0.7607 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.7013, allocations: 120.2 kB / 0.7608 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.362e-05/0.7014, allocations: 188.1 kB / 0.761 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/0.7015, allocations: 180.3 kB / 0.7612 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.512e-05/0.7016, allocations: 180.3 kB / 0.7614 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.7019, allocations: 360.4 kB / 0.7617 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-05/0.7019, allocations: 103.3 kB / 0.7618 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.702, allocations: 107 kB / 0.7619 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.253e-05/0.7021, allocations: 184.3 kB / 0.7621 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.583e-05/0.7022, allocations: 180.8 kB / 0.7623 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.247e-05/0.7022, allocations: 183.5 kB / 0.7624 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-05/0.7023, allocations: 180.3 kB / 0.7626 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.7025, allocations: 311.1 kB / 0.7629 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.7026, allocations: 109.2 kB / 0.763 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.7027, allocations: 182.9 kB / 0.7632 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.7029, allocations: 105.5 kB / 0.7633 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.703, allocations: 182.9 kB / 0.7634 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.703, allocations: 107.6 kB / 0.7636 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.7031, allocations: 81.5 kB / 0.7636 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7031, allocations: 0 / 0.7636 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003312/0.7034, allocations: 59.59 kB / 0.7637 GB, free: 11.49 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.0002904/0.7037, allocations: 251.7 kB / 0.7639 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.7038, allocations: 15 kB / 0.7639 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7038, allocations: 0 / 0.7639 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.7038, allocations: 4.125 kB / 0.7639 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.7042, allocations: 468.4 kB / 0.7644 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.7045, allocations: 188.4 kB / 0.7646 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.7046, allocations: 58 kB / 0.7646 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.7046, allocations: 8.141 kB / 0.7646 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.7046, allocations: 8.5 kB / 0.7646 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.7046, allocations: 4 kB / 0.7646 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.004038/0.7086, allocations: 1.325 MB / 0.7659 GB, free: 10.26 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.124372015008703] Failed to read output from testmodel.py, exit status != 0: 0.7182634850032628 0.7309218230000001 0.029582525000000002 Calling exit ...