Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001463/0.001463, allocations: 121.2 kB / 17.8 MB, free: 5.121 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.001543/0.001543, allocations: 189.5 kB / 20.75 MB, free: 2.184 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.433/1.433, allocations: 225.6 MB / 249.1 MB, free: 3.668 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8718/0.8718, allocations: 128.4 MB / 432.4 MB, free: 13.49 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 68.22 kB / 0.5987 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4522, allocations: 83.25 MB / 0.68 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1854/0.6376, allocations: 148.7 MB / 0.8252 GB, free: 10.07 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.0001684/0.6377, allocations: 43.88 kB / 0.8253 GB, free: 10.03 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.6378, allocations: 4 kB / 0.8253 GB, free: 10.02 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.6379, allocations: 7.922 kB / 0.8253 GB, free: 10.02 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 8.925e-05/0.638, allocations: 7.984 kB / 0.8253 GB, free: 10.01 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009292/0.6389, allocations: 223.1 kB / 0.8255 GB, free: 9.789 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.639, allocations: 31.91 kB / 0.8255 GB, free: 9.758 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.6391, allocations: 8 kB / 0.8255 GB, free: 9.75 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.6391, allocations: 19.86 kB / 0.8256 GB, free: 9.73 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 8.022e-05/0.6392, allocations: 11.98 kB / 0.8256 GB, free: 9.719 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.6392, allocations: 4 kB / 0.8256 GB, free: 9.715 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005587/0.6398, allocations: 211.4 kB / 0.8258 GB, free: 9.508 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.6398, allocations: 7.984 kB / 0.8258 GB, free: 9.5 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.6399, allocations: 7.938 kB / 0.8258 GB, free: 9.492 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.6402, allocations: 111.7 kB / 0.8259 GB, free: 9.383 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6402, allocations: 4 kB / 0.8259 GB, free: 9.379 MB / 0.6388 GB Notification: Performance of FrontEnd: time 3.787e-06/0.6402, allocations: 3.984 kB / 0.8259 GB, free: 9.375 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.6402, allocations: 7.938 kB / 0.8259 GB, free: 9.367 MB / 0.6388 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.0005048/0.6407, allocations: 339.3 kB / 0.8262 GB, free: 8.988 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6408, allocations: 12.03 kB / 0.8263 GB, free: 8.977 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.6412, allocations: 24.91 kB / 0.8263 GB, free: 8.953 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.6413, allocations: 168.4 kB / 0.8264 GB, free: 8.75 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.6414, allocations: 33.58 kB / 0.8265 GB, free: 8.711 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.6414, allocations: 0 / 0.8265 GB, free: 8.711 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.6416, allocations: 57.66 kB / 0.8265 GB, free: 8.648 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6416, allocations: 0 / 0.8265 GB, free: 8.648 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.6416, allocations: 4 kB / 0.8265 GB, free: 8.645 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.6416, allocations: 0 / 0.8265 GB, free: 8.645 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.6417, allocations: 19.98 kB / 0.8265 GB, free: 8.625 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.6421, allocations: 256.9 kB / 0.8268 GB, free: 8.324 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.6422, allocations: 26.52 kB / 0.8268 GB, free: 8.289 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.6422, allocations: 12.92 kB / 0.8268 GB, free: 8.273 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.6424, allocations: 89.09 kB / 0.8269 GB, free: 8.168 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.6424, allocations: 34.56 kB / 0.8269 GB, free: 8.125 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6424, allocations: 0 / 0.8269 GB, free: 8.125 MB / 0.6388 GB Notification: Performance of matching and sorting (n=2): time 0.0002643/0.6427, allocations: 53.73 kB / 0.827 GB, free: 8.066 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.6427, allocations: 55.34 kB / 0.8271 GB, free: 8 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.6428, allocations: 109.8 kB / 0.8272 GB, free: 7.883 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.6428, allocations: 25.7 kB / 0.8272 GB, free: 7.852 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.6429, allocations: 91.97 kB / 0.8273 GB, free: 7.758 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.6429, allocations: 11.95 kB / 0.8273 GB, free: 7.746 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.643, allocations: 13.72 kB / 0.8273 GB, free: 7.727 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6431, allocations: 318.8 kB / 0.8276 GB, free: 7.406 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.6431, allocations: 8.031 kB / 0.8276 GB, free: 7.398 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.6432, allocations: 22.58 kB / 0.8276 GB, free: 7.367 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.877e-05/0.6432, allocations: 34.5 kB / 0.8277 GB, free: 7.324 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6432, allocations: 0 / 0.8277 GB, free: 7.324 MB / 0.6388 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.6433, allocations: 57.62 kB / 0.8277 GB, free: 7.262 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6433, allocations: 8 kB / 0.8277 GB, free: 7.254 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6433, allocations: 0 / 0.8277 GB, free: 7.254 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6434, allocations: 0 / 0.8277 GB, free: 7.254 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.6434, allocations: 4 kB / 0.8277 GB, free: 7.25 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6434, allocations: 7.938 kB / 0.8277 GB, free: 7.242 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.6435, allocations: 4 kB / 0.8277 GB, free: 7.238 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.6435, allocations: 4 kB / 0.8277 GB, free: 7.234 MB / 0.6388 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 8.578e-05/0.6436, allocations: 105.8 kB / 0.8278 GB, free: 7.121 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.6436, allocations: 8.094 kB / 0.8278 GB, free: 7.113 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.6436, allocations: 11.11 kB / 0.8279 GB, free: 7.105 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6436, allocations: 0 / 0.8279 GB, free: 7.105 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6436, allocations: 7.875 kB / 0.8279 GB, free: 7.098 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6436, allocations: 0 / 0.8279 GB, free: 7.098 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.644, allocations: 359.5 kB / 0.8282 GB, free: 6.684 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.644, allocations: 8 kB / 0.8282 GB, free: 6.676 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.6441, allocations: 4.062 kB / 0.8282 GB, free: 6.672 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.6441, allocations: 8.219 kB / 0.8282 GB, free: 6.664 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.6441, allocations: 0 / 0.8282 GB, free: 6.664 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6441, allocations: 0 / 0.8282 GB, free: 6.664 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6441, allocations: 3.938 kB / 0.8282 GB, free: 6.66 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.6442, allocations: 73.98 kB / 0.8283 GB, free: 6.566 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.6442, allocations: 85.03 kB / 0.8284 GB, free: 6.465 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.6443, allocations: 4.031 kB / 0.8284 GB, free: 6.461 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/0.6443, allocations: 4 kB / 0.8284 GB, free: 6.457 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.6444, allocations: 0 / 0.8284 GB, free: 6.457 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.6444, allocations: 4 kB / 0.8284 GB, free: 6.453 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.6444, allocations: 83.27 kB / 0.8285 GB, free: 6.371 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8e-08/0.6444, allocations: 3.938 kB / 0.8285 GB, free: 6.367 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0002015/0.6446, allocations: 8 kB / 0.8285 GB, free: 6.359 MB / 0.6388 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.0001572/0.6448, allocations: 103.2 kB / 0.8286 GB, free: 6.25 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 9.883e-05/0.6449, allocations: 15.92 kB / 0.8286 GB, free: 6.234 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6449, allocations: 4 kB / 0.8286 GB, free: 6.23 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.6449, allocations: 7.938 kB / 0.8286 GB, free: 6.223 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.6451, allocations: 4 kB / 0.8286 GB, free: 6.219 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.6455, allocations: 157.3 kB / 0.8288 GB, free: 6.031 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.6458, allocations: 0.6768 MB / 0.8294 GB, free: 5.328 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.6458, allocations: 7.438 kB / 0.8294 GB, free: 5.32 MB / 0.6388 GB Notification: Performance of SimCode: time 3.21e-07/0.6458, allocations: 0 / 0.8294 GB, free: 5.32 MB / 0.6388 GB Notification: Performance of Templates: time 0.002253/0.6481, allocations: 0.6129 MB / 0.83 GB, free: 4.707 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.934333045035601] Failed to read output from testmodel.py, exit status != 0: 0.6569424970075488 0.671368481 0.028132300000000002 Calling exit ...