Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001562/0.001562, allocations: 100.4 kB / 19.7 MB, free: 2.141 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.001736/0.001736, allocations: 209.7 kB / 22.99 MB, free: 4.961 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.002475/0.002475, allocations: 290.1 kB / 313.5 MB, free: 2.617 MB / 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 1.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [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.002878/0.002878, allocations: 102.3 kB / 0.7407 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1702, allocations: 95.39 MB / 0.8339 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1658/0.336, allocations: 130 MB / 0.9608 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001443/0.3362, allocations: 55.81 kB / 0.9608 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.3362, allocations: 0 / 0.9608 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.3363, allocations: 0 / 0.9608 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.3364, allocations: 15.91 kB / 0.9608 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.3368, allocations: 111.6 kB / 0.9609 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.921e-05/0.3369, allocations: 31.91 kB / 0.961 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.3369, allocations: 7.922 kB / 0.961 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.337, allocations: 15.94 kB / 0.961 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.209e-05/0.337, allocations: 19.91 kB / 0.961 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3371, allocations: 0 / 0.961 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.3373, allocations: 67.81 kB / 0.9611 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.3373, allocations: 19.97 kB / 0.9611 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.3374, allocations: 11.88 kB / 0.9611 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.3375, allocations: 67.8 kB / 0.9612 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3375, allocations: 7.984 kB / 0.9612 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3375, allocations: 0 / 0.9612 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3375, allocations: 0 / 0.9612 GB, free: 4.945 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.000384/0.3379, allocations: 258.3 kB / 0.9614 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.338, allocations: 12.75 kB / 0.9614 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.3382, allocations: 20.92 kB / 0.9615 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3383, allocations: 106.5 kB / 0.9616 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.716e-05/0.3384, allocations: 55.34 kB / 0.9616 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.3384, allocations: 4 kB / 0.9616 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3385, allocations: 75.31 kB / 0.9617 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3385, allocations: 0 / 0.9617 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3385, allocations: 4 kB / 0.9617 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.3386, allocations: 0 / 0.9617 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.3386, allocations: 19.98 kB / 0.9617 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.339, allocations: 212.5 kB / 0.9619 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.13e-05/0.339, allocations: 14.58 kB / 0.9619 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.339, allocations: 12.95 kB / 0.9619 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.3391, allocations: 3.984 kB / 0.962 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3391, allocations: 34.5 kB / 0.962 GB, free: 4 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3391, allocations: 0 / 0.962 GB, free: 4 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.3392, allocations: 37.7 kB / 0.962 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3393, allocations: 51.41 kB / 0.9621 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3394, allocations: 113.7 kB / 0.9622 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3394, allocations: 29.83 kB / 0.9622 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.3394, allocations: 92.03 kB / 0.9623 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.3394, allocations: 3.953 kB / 0.9623 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.3395, allocations: 17.72 kB / 0.9623 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3396, allocations: 314.8 kB / 0.9626 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.3396, allocations: 8 kB / 0.9626 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.3397, allocations: 22.52 kB / 0.9626 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.3397, allocations: 34.5 kB / 0.9627 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3397, allocations: 4 kB / 0.9627 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.418e-05/0.3398, allocations: 53.62 kB / 0.9627 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3398, allocations: 8 kB / 0.9627 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3398, allocations: 3.938 kB / 0.9627 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3398, allocations: 0 / 0.9627 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.3399, allocations: 11.94 kB / 0.9628 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3399, allocations: 0 / 0.9628 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.3399, allocations: 3.938 kB / 0.9628 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.3399, allocations: 4 kB / 0.9628 GB, free: 3.125 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 9.194e-05/0.34, allocations: 118.6 kB / 0.9629 GB, free: 3 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.34, allocations: 0 / 0.9629 GB, free: 3 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.3401, allocations: 7.141 kB / 0.9629 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3401, allocations: 0 / 0.9629 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3401, allocations: 0 / 0.9629 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3401, allocations: 8.188 kB / 0.9629 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.3403, allocations: 298.3 kB / 0.9632 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3403, allocations: 4 kB / 0.9632 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.3403, allocations: 0 / 0.9632 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3403, allocations: 0 / 0.9632 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3404, allocations: 4 kB / 0.9632 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3404, allocations: 7.969 kB / 0.9632 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3404, allocations: 0 / 0.9632 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.99e-05/0.3404, allocations: 61.12 kB / 0.9632 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.3404, allocations: 0 / 0.9632 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3405, allocations: 0 / 0.9632 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.913e-05/0.3405, allocations: 7.938 kB / 0.9633 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-06/0.3405, allocations: 0 / 0.9633 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.3406, allocations: 0 / 0.9633 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.3406, allocations: 87.27 kB / 0.9633 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.3406, allocations: 4 kB / 0.9633 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001864/0.3408, allocations: 8.031 kB / 0.9633 GB, free: 2.453 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.000103/0.3409, allocations: 99.19 kB / 0.9634 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.341, allocations: 15.98 kB / 0.9635 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.341, allocations: 0 / 0.9635 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/0.341, allocations: 4 kB / 0.9635 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.3412, allocations: 7.938 kB / 0.9635 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.3415, allocations: 140.7 kB / 0.9636 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.083e-05/0.3415, allocations: 63.34 kB / 0.9637 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.3415, allocations: 11.44 kB / 0.9637 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of SimCode: time 2.91e-07/0.3415, allocations: 0 / 0.9637 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of Templates: time 0.001939/0.3435, allocations: 0.5866 MB / 0.9642 GB, free: 1.48 MB / 0.7012 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.114463783800602] Failed to read output from testmodel.py, exit status != 0: 0.35069845896214247 0.36566635200000003 0.025118744000000002 Calling exit ...