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.001914/0.001914, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002468/0.002468, allocations: 213.2 kB / 22.25 MB, free: 5.242 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.704/1.704, allocations: 230.6 MB / 256 MB, free: 7.797 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.002677/0.002677, allocations: 292.9 kB / 312.7 MB, free: 2.59 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.254/1.254, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.003092/0.003092, allocations: 104.9 kB / 0.74 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1937, allocations: 95.37 MB / 0.8331 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1731/0.3668, allocations: 130 MB / 0.96 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001798/0.367, allocations: 51.73 kB / 0.9601 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.367, allocations: 0 / 0.9601 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.3672, allocations: 7.938 kB / 0.9601 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 9.109e-05/0.3672, allocations: 15.91 kB / 0.9601 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.3678, allocations: 104.9 kB / 0.9602 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3679, allocations: 43.83 kB / 0.9602 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.368, allocations: 4 kB / 0.9603 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.368, allocations: 11.94 kB / 0.9603 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.3681, allocations: 19.97 kB / 0.9603 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3681, allocations: 4 kB / 0.9603 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.3684, allocations: 67.73 kB / 0.9603 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.3685, allocations: 15.94 kB / 0.9604 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.3685, allocations: 11.97 kB / 0.9604 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.3687, allocations: 67.73 kB / 0.9604 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3687, allocations: 0 / 0.9604 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3687, allocations: 0 / 0.9604 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3687, allocations: 0 / 0.9604 GB, free: 4.902 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.0004334/0.3692, allocations: 262.3 kB / 0.9607 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3692, allocations: 8.75 kB / 0.9607 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.3694, allocations: 20.92 kB / 0.9607 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3696, allocations: 110.5 kB / 0.9608 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.572e-05/0.3697, allocations: 59.33 kB / 0.9609 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3697, allocations: 4 kB / 0.9609 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3698, allocations: 71.38 kB / 0.961 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3698, allocations: 0 / 0.961 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3699, allocations: 0 / 0.961 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.3699, allocations: 8 kB / 0.961 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.3699, allocations: 19.92 kB / 0.961 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.3703, allocations: 212.5 kB / 0.9612 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/0.3704, allocations: 22.61 kB / 0.9612 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.3704, allocations: 4.859 kB / 0.9612 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.3704, allocations: 4 kB / 0.9612 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3704, allocations: 34.56 kB / 0.9612 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3704, allocations: 0 / 0.9612 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001296/0.3706, allocations: 33.64 kB / 0.9613 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3706, allocations: 59.53 kB / 0.9613 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3707, allocations: 113.7 kB / 0.9614 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3707, allocations: 25.7 kB / 0.9615 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.3708, allocations: 92.03 kB / 0.9616 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.3708, allocations: 3.953 kB / 0.9616 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.3708, allocations: 21.7 kB / 0.9616 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.371, allocations: 318.8 kB / 0.9619 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.371, allocations: 4 kB / 0.9619 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.371, allocations: 26.56 kB / 0.9619 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.057e-05/0.3711, allocations: 34.52 kB / 0.9619 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3711, allocations: 0 / 0.9619 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.452e-05/0.3712, allocations: 53.62 kB / 0.962 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3712, allocations: 8 kB / 0.962 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3712, allocations: 0 / 0.962 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3712, allocations: 0 / 0.962 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.3713, allocations: 4 kB / 0.962 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3713, allocations: 7.938 kB / 0.962 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.3713, allocations: 3.938 kB / 0.962 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3713, allocations: 8.094 kB / 0.962 GB, free: 3.07 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.42e-05/0.3714, allocations: 110.5 kB / 0.9621 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.3715, allocations: 4 kB / 0.9621 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.3715, allocations: 7.406 kB / 0.9621 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3715, allocations: 0 / 0.9621 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3715, allocations: 4 kB / 0.9621 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3715, allocations: 3.938 kB / 0.9622 GB, free: 2.934 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.3719, allocations: 294.4 kB / 0.9624 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3719, allocations: 4 kB / 0.9624 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.3719, allocations: 32 / 0.9624 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3719, allocations: 4 kB / 0.9624 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3719, allocations: 3.938 kB / 0.9624 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3719, allocations: 3.938 kB / 0.9624 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3719, allocations: 0 / 0.9624 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.658e-05/0.372, allocations: 61.12 kB / 0.9625 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.372, allocations: 4 kB / 0.9625 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.372, allocations: 0 / 0.9625 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.3721, allocations: 7.938 kB / 0.9625 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.3721, allocations: 3.984 kB / 0.9625 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.3721, allocations: 32 / 0.9625 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 8.485e-05/0.3722, allocations: 87.22 kB / 0.9626 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6e-08/0.3722, allocations: 0 / 0.9626 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001985/0.3724, allocations: 12 kB / 0.9626 GB, free: 2.398 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.0001162/0.3725, allocations: 95.25 kB / 0.9627 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.994e-05/0.3726, allocations: 19.86 kB / 0.9627 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3726, allocations: 0 / 0.9627 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-06/0.3726, allocations: 4 kB / 0.9627 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.3728, allocations: 8.25 kB / 0.9627 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.3732, allocations: 118.7 kB / 0.9628 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.718e-05/0.3733, allocations: 59.34 kB / 0.9629 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 6.053e-05/0.3733, allocations: 8.078 kB / 0.9629 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.3734, allocations: 7.438 kB / 0.9629 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of SimCode: time 4.7e-07/0.3734, allocations: 4 kB / 0.9629 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of Templates: time 0.003553/0.3769, allocations: 0.5658 MB / 0.9635 GB, free: 1.512 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: 6.633596995845437] Failed to read output from testmodel.py, exit status != 0: 0.3849633950740099 0.401562167 0.029485444000000003 Calling exit ...