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.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.001713/0.001713, allocations: 75.66 kB / 20.51 MB, free: 1.285 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.001416/0.001416, allocations: 159.1 kB / 23.76 MB, free: 4.469 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.437/1.437, allocations: 177.2 MB / 204.1 MB, free: 8.949 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.9509/0.9509, allocations: 113.9 MB / 374.5 MB, free: 12.86 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.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: 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.002179/0.002179, allocations: 71.02 kB / 0.555 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1782, allocations: 89.15 MB / 0.6421 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5297/0.7078, allocations: 130.3 MB / 0.7693 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001396/0.708, allocations: 53.05 kB / 0.7694 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.708, allocations: 0 / 0.7694 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.7081, allocations: 3.938 kB / 0.7694 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.053e-05/0.7082, allocations: 24.19 kB / 0.7694 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007557/0.7089, allocations: 200.2 kB / 0.7696 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.89e-05/0.709, allocations: 35.88 kB / 0.7696 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.7091, allocations: 10.64 kB / 0.7696 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.7091, allocations: 14.59 kB / 0.7697 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.933e-05/0.7092, allocations: 13.59 kB / 0.7697 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.7092, allocations: 4 kB / 0.7697 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.7096, allocations: 166.4 kB / 0.7698 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.7096, allocations: 6.25 kB / 0.7698 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.7096, allocations: 12.91 kB / 0.7699 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.7099, allocations: 103.8 kB / 0.77 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7099, allocations: 0 / 0.77 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7099, allocations: 0 / 0.77 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7099, allocations: 0 / 0.77 GB, free: 8.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004077/0.7103, allocations: 266.6 kB / 0.7702 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.7103, allocations: 7.969 kB / 0.7702 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.7106, allocations: 32.88 kB / 0.7702 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.7107, allocations: 109.6 kB / 0.7704 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.643e-05/0.7108, allocations: 55.34 kB / 0.7704 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.7108, allocations: 6.859 kB / 0.7704 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.711, allocations: 69.86 kB / 0.7705 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.711, allocations: 0 / 0.7705 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.711, allocations: 2.75 kB / 0.7705 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.711, allocations: 0 / 0.7705 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.7111, allocations: 21.27 kB / 0.7705 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.7114, allocations: 216.4 kB / 0.7707 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.559e-05/0.7115, allocations: 36 kB / 0.7707 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.7115, allocations: 7.641 kB / 0.7707 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.7116, allocations: 10.56 kB / 0.7708 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.7116, allocations: 43.02 kB / 0.7708 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7116, allocations: 0 / 0.7708 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0002467/0.7119, allocations: 55 kB / 0.7709 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.7119, allocations: 51.41 kB / 0.7709 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.712, allocations: 105 kB / 0.771 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.712, allocations: 25.7 kB / 0.771 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.7121, allocations: 95.05 kB / 0.7711 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.557e-06/0.7121, allocations: 3.953 kB / 0.7711 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.7122, allocations: 12.69 kB / 0.7711 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7123, allocations: 321.3 kB / 0.7714 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.7123, allocations: 3.312 kB / 0.7714 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.7123, allocations: 23.69 kB / 0.7715 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.7124, allocations: 37.2 kB / 0.7715 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.7124, allocations: 0 / 0.7715 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.656e-05/0.7125, allocations: 57.62 kB / 0.7716 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.7125, allocations: 5.562 kB / 0.7716 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.7125, allocations: 3.625 kB / 0.7716 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.7125, allocations: 2.719 kB / 0.7716 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.7126, allocations: 6 kB / 0.7716 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.7126, allocations: 7.984 kB / 0.7716 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.7126, allocations: 6.859 kB / 0.7716 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.7126, allocations: 3.938 kB / 0.7716 GB, free: 6.879 MB / 0.6231 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.056e-05/0.7127, allocations: 108.5 kB / 0.7717 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.7127, allocations: 2.656 kB / 0.7717 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.7127, allocations: 7.312 kB / 0.7717 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7127, allocations: 2.312 kB / 0.7717 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7128, allocations: 1.688 kB / 0.7717 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.7128, allocations: 3.938 kB / 0.7717 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.7131, allocations: 312.7 kB / 0.772 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7131, allocations: 2.938 kB / 0.772 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.7131, allocations: 10.81 kB / 0.772 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.7131, allocations: 0 / 0.772 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.7131, allocations: 0 / 0.772 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.7131, allocations: 3.938 kB / 0.772 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7131, allocations: 2.188 kB / 0.772 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.697e-05/0.7132, allocations: 69.2 kB / 0.7721 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-06/0.7132, allocations: 10.08 kB / 0.7721 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.7132, allocations: 96 / 0.7721 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.7133, allocations: 10.66 kB / 0.7721 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.7133, allocations: 2.75 kB / 0.7721 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.7133, allocations: 0 / 0.7721 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.7134, allocations: 88.89 kB / 0.7722 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7134, allocations: 0 / 0.7722 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002/0.7136, allocations: 4.812 kB / 0.7722 GB, free: 6.227 MB / 0.6231 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.0001203/0.7137, allocations: 107.5 kB / 0.7723 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.7138, allocations: 22.61 kB / 0.7723 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7138, allocations: 0 / 0.7723 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.7138, allocations: 6.25 kB / 0.7723 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.714, allocations: 7.562 kB / 0.7723 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.7143, allocations: 117.7 kB / 0.7725 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.613e-05/0.7144, allocations: 61.12 kB / 0.7725 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.997e-05/0.7144, allocations: 13.23 kB / 0.7725 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.7144, allocations: 11.22 kB / 0.7725 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.7144, allocations: 0 / 0.7725 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of Templates: time 0.003125/0.7176, allocations: 0.5988 MB / 0.7731 GB, free: 5.59 MB / 0.6231 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.08159864495974] Failed to read output from testmodel.py, exit status != 0: 0.7257380270166323 0.738493241 0.025805041 Calling exit ...