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.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.001263/0.001263, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001325/0.001325, allocations: 156.5 kB / 23 MB, free: 4.949 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.363/1.363, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002508/0.002508, allocations: 237.8 kB / 260 MB, free: 448 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8891/0.8891, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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: NcDataReader2 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: BuildingSystems 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.002983/0.002983, allocations: 99.84 kB / 0.6473 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4115, allocations: 95.34 MB / 0.7404 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1605/0.572, allocations: 130.4 MB / 0.8677 GB, free: 64 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.000135/0.5721, allocations: 51.86 kB / 0.8678 GB, free: 12 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.5722, allocations: 0 / 0.8678 GB, free: 12 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 9.692e-05/0.5722, allocations: 7.938 kB / 0.8678 GB, free: 4 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.524e-05/0.5723, allocations: 12.02 kB / 0.8678 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007762/0.5731, allocations: 211.1 kB / 0.868 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.788e-05/0.5732, allocations: 31.91 kB / 0.868 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.135e-05/0.5732, allocations: 4 kB / 0.868 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.5733, allocations: 19.91 kB / 0.8681 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.5733, allocations: 19.81 kB / 0.8681 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.5733, allocations: 0 / 0.8681 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.5737, allocations: 155.4 kB / 0.8682 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.445e-05/0.5737, allocations: 15.97 kB / 0.8682 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.5738, allocations: 11.94 kB / 0.8682 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.574, allocations: 104.4 kB / 0.8683 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.574, allocations: 0 / 0.8683 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.072e-06/0.574, allocations: 3.938 kB / 0.8684 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.574, allocations: 0 / 0.8684 GB, free: 15.43 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.0003867/0.5744, allocations: 266.2 kB / 0.8686 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5744, allocations: 9.344 kB / 0.8686 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.5747, allocations: 32.91 kB / 0.8686 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.5748, allocations: 106.5 kB / 0.8687 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/0.5749, allocations: 63.28 kB / 0.8688 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.5749, allocations: 0 / 0.8688 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.575, allocations: 79.36 kB / 0.8689 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.575, allocations: 0 / 0.8689 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.575, allocations: 0 / 0.8689 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.5751, allocations: 4 kB / 0.8689 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.16e-05/0.5751, allocations: 19.98 kB / 0.8689 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.5754, allocations: 204.6 kB / 0.8691 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 6.108e-05/0.5755, allocations: 30.5 kB / 0.8691 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.5755, allocations: 12.92 kB / 0.8691 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.5756, allocations: 11.98 kB / 0.8692 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.5757, allocations: 34.56 kB / 0.8692 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5757, allocations: 0 / 0.8692 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0002365/0.5759, allocations: 45.69 kB / 0.8692 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.5759, allocations: 59.53 kB / 0.8693 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.576, allocations: 109.7 kB / 0.8694 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.5761, allocations: 25.7 kB / 0.8694 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.5761, allocations: 88.09 kB / 0.8695 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.5761, allocations: 7.953 kB / 0.8695 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.5761, allocations: 17.7 kB / 0.8695 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.5764, allocations: 318.8 kB / 0.8698 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.5764, allocations: 4 kB / 0.8698 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.5765, allocations: 26.56 kB / 0.8699 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.5765, allocations: 34.52 kB / 0.8699 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5765, allocations: 0 / 0.8699 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.523e-05/0.5766, allocations: 57.58 kB / 0.8699 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5766, allocations: 4 kB / 0.8699 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5766, allocations: 4 kB / 0.87 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.5767, allocations: 0 / 0.87 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.204e-05/0.5767, allocations: 8 kB / 0.87 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5767, allocations: 4 kB / 0.87 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.5767, allocations: 11.97 kB / 0.87 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.5767, allocations: 4 kB / 0.87 GB, free: 13.56 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 8.04e-05/0.5768, allocations: 113.8 kB / 0.8701 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.5769, allocations: 0 / 0.8701 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.5769, allocations: 11.31 kB / 0.8701 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5769, allocations: 3.938 kB / 0.8701 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5769, allocations: 0 / 0.8701 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5769, allocations: 3.938 kB / 0.8701 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.5772, allocations: 311.2 kB / 0.8704 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5772, allocations: 0 / 0.8704 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.5772, allocations: 12.05 kB / 0.8704 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.5772, allocations: 0 / 0.8704 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-06/0.5772, allocations: 0 / 0.8704 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5772, allocations: 3.938 kB / 0.8704 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5772, allocations: 3.938 kB / 0.8704 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.5773, allocations: 70 kB / 0.8705 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.5773, allocations: 4 kB / 0.8705 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.5773, allocations: 3.984 kB / 0.8705 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-05/0.5774, allocations: 7.938 kB / 0.8705 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-06/0.5774, allocations: 0 / 0.8705 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.5774, allocations: 4.031 kB / 0.8705 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.5775, allocations: 91.27 kB / 0.8706 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5775, allocations: 0 / 0.8706 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001967/0.5777, allocations: 8 kB / 0.8706 GB, free: 12.84 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.0001112/0.5778, allocations: 99.19 kB / 0.8707 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 7.723e-05/0.5778, allocations: 15.94 kB / 0.8707 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5778, allocations: 4.188 kB / 0.8707 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.5779, allocations: 15.92 kB / 0.8707 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.5781, allocations: 4.406 kB / 0.8707 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.5783, allocations: 123.6 kB / 0.8709 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.855e-05/0.5784, allocations: 63.34 kB / 0.8709 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.651e-05/0.5784, allocations: 12.11 kB / 0.8709 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.5785, allocations: 8.5 kB / 0.8709 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of SimCode: time 3.01e-07/0.5785, allocations: 0 / 0.8709 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of Templates: time 0.002878/0.5813, allocations: 0.6054 MB / 0.8715 GB, free: 11.85 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.741639037965797] Failed to read output from testmodel.py, exit status != 0: 0.5892540729837492 0.603554299 0.026594881 Calling exit ...