Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002519/0.002519, allocations: 188.3 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9039/0.9039, allocations: 134 MB / 440.3 MB, free: 204 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002649/0.002649, allocations: 68.47 kB / 0.6107 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2094, allocations: 84.72 MB / 0.6934 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.664/0.8734, allocations: 148.8 MB / 0.8387 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000247/0.8737, allocations: 59.27 kB / 0.8388 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.8737, allocations: 0 / 0.8388 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.8738, allocations: 10.5 kB / 0.8388 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.8739, allocations: 10.44 kB / 0.8388 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.8748, allocations: 218.3 kB / 0.839 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.754e-05/0.8749, allocations: 34.28 kB / 0.839 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.875, allocations: 6.156 kB / 0.839 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.875, allocations: 19.92 kB / 0.8391 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.354e-05/0.8751, allocations: 22.78 kB / 0.8391 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.8751, allocations: 2.875 kB / 0.8391 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.8756, allocations: 207.4 kB / 0.8393 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.8757, allocations: 6.766 kB / 0.8393 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.8757, allocations: 18.86 kB / 0.8393 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.876, allocations: 108.3 kB / 0.8394 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.876, allocations: 0 / 0.8394 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.876, allocations: 0 / 0.8394 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.876, allocations: 0 / 0.8394 GB, free: 11.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005506/0.8766, allocations: 273.3 kB / 0.8397 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.8766, allocations: 10.09 kB / 0.8397 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005571/0.8772, allocations: 28.11 kB / 0.8397 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.8773, allocations: 105 kB / 0.8398 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/0.8774, allocations: 37.52 kB / 0.8398 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.8774, allocations: 2.906 kB / 0.8398 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.8776, allocations: 56.61 kB / 0.8399 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.8776, allocations: 3.984 kB / 0.8399 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.8776, allocations: 0 / 0.8399 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.8777, allocations: 2.375 kB / 0.8399 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.808e-05/0.8777, allocations: 20.73 kB / 0.8399 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.8783, allocations: 227 kB / 0.8401 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/0.8784, allocations: 31.86 kB / 0.8402 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.8784, allocations: 7.516 kB / 0.8402 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.8785, allocations: 18.2 kB / 0.8402 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.8786, allocations: 36.56 kB / 0.8402 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.8786, allocations: 0 / 0.8402 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003184/0.8789, allocations: 54.67 kB / 0.8403 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.879, allocations: 57.97 kB / 0.8403 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.8792, allocations: 102.5 kB / 0.8404 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.8793, allocations: 29.7 kB / 0.8405 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.8794, allocations: 90.84 kB / 0.8405 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.8794, allocations: 3.953 kB / 0.8405 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.8794, allocations: 18.5 kB / 0.8406 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003126/0.8798, allocations: 314.8 kB / 0.8409 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.8798, allocations: 6.625 kB / 0.8409 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.8798, allocations: 23.98 kB / 0.8409 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.8799, allocations: 34.12 kB / 0.8409 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.8799, allocations: 4.125 kB / 0.8409 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001115/0.88, allocations: 56.56 kB / 0.841 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.88, allocations: 4.594 kB / 0.841 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.88, allocations: 2.906 kB / 0.841 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.8801, allocations: 0 / 0.841 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.8801, allocations: 4.875 kB / 0.841 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.8801, allocations: 2.594 kB / 0.841 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.8802, allocations: 3.938 kB / 0.841 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.8802, allocations: 2.719 kB / 0.841 GB, free: 9.836 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 0.0001196/0.8803, allocations: 112.5 kB / 0.8411 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.8803, allocations: 8.047 kB / 0.8411 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.8804, allocations: 13.8 kB / 0.8411 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8804, allocations: 0 / 0.8411 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.8804, allocations: 0 / 0.8411 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.8804, allocations: 3.938 kB / 0.8411 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.8808, allocations: 330.5 kB / 0.8415 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8808, allocations: 3.984 kB / 0.8415 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.8808, allocations: 6.188 kB / 0.8415 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.8808, allocations: 6.469 kB / 0.8415 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.8808, allocations: 0 / 0.8415 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8808, allocations: 3.938 kB / 0.8415 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8808, allocations: 5.328 kB / 0.8415 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.756e-05/0.8809, allocations: 68.12 kB / 0.8415 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.881, allocations: 3.984 kB / 0.8415 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.881, allocations: 10.72 kB / 0.8416 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.8811, allocations: 6.094 kB / 0.8416 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.8811, allocations: 0 / 0.8416 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.8811, allocations: 2.281 kB / 0.8416 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.976e-05/0.8812, allocations: 82.55 kB / 0.8416 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8812, allocations: 0 / 0.8416 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002139/0.8814, allocations: 7.781 kB / 0.8417 GB, free: 9.148 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001707/0.8815, allocations: 105.9 kB / 0.8418 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.8816, allocations: 18.3 kB / 0.8418 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8816, allocations: 0 / 0.8418 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.8817, allocations: 6.562 kB / 0.8418 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.8819, allocations: 13 kB / 0.8418 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.8823, allocations: 135.5 kB / 0.8419 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.8826, allocations: 0.6751 MB / 0.8426 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.87e-05/0.8827, allocations: 4.625 kB / 0.8426 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.8827, allocations: 10.34 kB / 0.8426 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.8827, allocations: 0 / 0.8426 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.003619/0.8863, allocations: 0.5962 MB / 0.8432 GB, free: 7.883 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.512728936970234] Failed to read output from testmodel.py, exit status != 0: 0.8953345771878958 0.91057736 0.031168749000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9abb1097b0>