Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001444/0.001444, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001479/0.001479, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.318/1.318, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002232/0.002232, allocations: 283.9 kB / 303.6 MB, free: 3.727 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9894/0.9894, allocations: 180.9 MB / 0.5268 GB, free: 2.695 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002631, allocations: 103.8 kB / 0.7259 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4711, allocations: 94.15 MB / 0.8178 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1648/0.6359, allocations: 148.7 MB / 0.9631 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001385/0.636, allocations: 59.77 kB / 0.9631 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.636, allocations: 0 / 0.9631 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/0.6361, allocations: 7.938 kB / 0.9631 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.6362, allocations: 7.984 kB / 0.9631 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.6369, allocations: 227.1 kB / 0.9634 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.85e-05/0.637, allocations: 27.92 kB / 0.9634 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.637, allocations: 0 / 0.9634 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.637, allocations: 27.91 kB / 0.9634 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.6371, allocations: 15.92 kB / 0.9634 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.6371, allocations: 0 / 0.9634 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.6375, allocations: 215.3 kB / 0.9636 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.6375, allocations: 3.938 kB / 0.9636 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.6376, allocations: 15.92 kB / 0.9636 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.6378, allocations: 111.3 kB / 0.9638 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6378, allocations: 0 / 0.9638 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6378, allocations: 0 / 0.9638 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.6378, allocations: 0 / 0.9638 GB, free: 11.23 MB / 0.7012 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.000402/0.6382, allocations: 347.3 kB / 0.9641 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.6382, allocations: 8.031 kB / 0.9641 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.6385, allocations: 36.84 kB / 0.9641 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.6387, allocations: 164.4 kB / 0.9643 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/0.6387, allocations: 37.58 kB / 0.9643 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.6387, allocations: 0 / 0.9643 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.6388, allocations: 45.69 kB / 0.9644 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.6388, allocations: 4 kB / 0.9644 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.6389, allocations: 0 / 0.9644 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.6389, allocations: 4 kB / 0.9644 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.488e-05/0.6389, allocations: 19.98 kB / 0.9644 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.6393, allocations: 260.9 kB / 0.9646 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.942e-05/0.6393, allocations: 22.52 kB / 0.9647 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.6393, allocations: 20.91 kB / 0.9647 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.6395, allocations: 85.11 kB / 0.9648 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.6395, allocations: 34.55 kB / 0.9648 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6395, allocations: 0 / 0.9648 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0002192/0.6397, allocations: 49.69 kB / 0.9648 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.6398, allocations: 59.47 kB / 0.9649 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.6398, allocations: 105.8 kB / 0.965 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.6398, allocations: 25.7 kB / 0.965 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.6399, allocations: 96 kB / 0.9651 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.6399, allocations: 7.953 kB / 0.9651 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.6399, allocations: 13.72 kB / 0.9651 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6401, allocations: 314.8 kB / 0.9654 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.6401, allocations: 4 kB / 0.9654 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-05/0.6401, allocations: 34.56 kB / 0.9655 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.6402, allocations: 30.52 kB / 0.9655 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6402, allocations: 0 / 0.9655 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.953e-05/0.6402, allocations: 53.62 kB / 0.9656 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.6402, allocations: 8.094 kB / 0.9656 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6402, allocations: 4 kB / 0.9656 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.6403, allocations: 0 / 0.9656 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.6403, allocations: 4 kB / 0.9656 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6403, allocations: 11.92 kB / 0.9656 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.6403, allocations: 0 / 0.9656 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.6404, allocations: 7.938 kB / 0.9656 GB, free: 9.086 MB / 0.7012 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 7.554e-05/0.6404, allocations: 113.8 kB / 0.9657 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.6405, allocations: 3.953 kB / 0.9657 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.6405, allocations: 15.12 kB / 0.9657 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.6405, allocations: 0 / 0.9657 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6405, allocations: 4.219 kB / 0.9657 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.6405, allocations: 0 / 0.9657 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.6408, allocations: 355.6 kB / 0.9661 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6408, allocations: 0 / 0.9661 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.6408, allocations: 7.984 kB / 0.9661 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6408, allocations: 3.938 kB / 0.9661 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6408, allocations: 8.062 kB / 0.9661 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6408, allocations: 3.938 kB / 0.9661 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6408, allocations: 4 kB / 0.9661 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.966e-05/0.6409, allocations: 73.98 kB / 0.9662 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.641, allocations: 85 kB / 0.9662 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.641, allocations: 0 / 0.9662 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.6411, allocations: 12.02 kB / 0.9662 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.6411, allocations: 0 / 0.9662 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.6411, allocations: 0 / 0.9662 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.6411, allocations: 79.28 kB / 0.9663 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.6411, allocations: 0 / 0.9663 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000185/0.6413, allocations: 12 kB / 0.9663 GB, free: 8.211 MB / 0.7012 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.0001198/0.6414, allocations: 103.2 kB / 0.9664 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 7.066e-05/0.6415, allocations: 15.94 kB / 0.9664 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6415, allocations: 0 / 0.9664 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.354e-05/0.6415, allocations: 11.94 kB / 0.9665 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.6417, allocations: 4 kB / 0.9665 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.642, allocations: 161.8 kB / 0.9666 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.6423, allocations: 0.6729 MB / 0.9673 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.6423, allocations: 7.438 kB / 0.9673 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of SimCode: time 2.6e-07/0.6423, allocations: 0 / 0.9673 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of Templates: time 0.001931/0.6442, allocations: 0.625 MB / 0.9679 GB, free: 6.551 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.97828243393451] Failed to read output from testmodel.py, exit status != 0: 0.6513035909738392 0.662854316 0.022460003000000003 Calling exit ...