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.001892/0.001892, allocations: 78.19 kB / 19 MB, free: 2.871 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.002515/0.002515, allocations: 163.2 kB / 22.26 MB, free: 5.141 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.406/1.406, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.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.002797/0.002797, allocations: 238.8 kB / 259.3 MB, free: 0.582 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.066/1.066, allocations: 138.5 MB / 454.2 MB, free: 2.062 MB / 366.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.003081/0.003081, allocations: 104.3 kB / 0.6466 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4177, allocations: 95.36 MB / 0.7397 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1656/0.5832, allocations: 129.9 MB / 0.8666 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001327/0.5834, allocations: 43.88 kB / 0.8667 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.5834, allocations: 0 / 0.8667 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 9.704e-05/0.5835, allocations: 11.88 kB / 0.8667 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.397e-05/0.5836, allocations: 15.91 kB / 0.8667 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.5841, allocations: 107.3 kB / 0.8668 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.027e-05/0.5842, allocations: 39.84 kB / 0.8668 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.5842, allocations: 0 / 0.8668 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.5843, allocations: 19.98 kB / 0.8668 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.5844, allocations: 19.84 kB / 0.8669 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.5844, allocations: 4 kB / 0.8669 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.5846, allocations: 63.81 kB / 0.8669 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.5847, allocations: 7.984 kB / 0.8669 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.5847, allocations: 11.98 kB / 0.8669 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.5849, allocations: 76.86 kB / 0.867 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5849, allocations: 0 / 0.867 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5849, allocations: 0 / 0.867 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.5849, allocations: 0 / 0.867 GB, free: 12.37 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.0003713/0.5853, allocations: 262.3 kB / 0.8673 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.5853, allocations: 8.75 kB / 0.8673 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.5855, allocations: 16.92 kB / 0.8673 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.5856, allocations: 122.5 kB / 0.8674 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.5857, allocations: 55.34 kB / 0.8675 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.5857, allocations: 0 / 0.8675 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.5859, allocations: 79.31 kB / 0.8675 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5859, allocations: 0 / 0.8675 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.5859, allocations: 0 / 0.8675 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.5859, allocations: 7.938 kB / 0.8676 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.152e-05/0.586, allocations: 15.98 kB / 0.8676 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.5863, allocations: 216.5 kB / 0.8678 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.424e-05/0.5864, allocations: 18.58 kB / 0.8678 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.5864, allocations: 4.859 kB / 0.8678 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-06/0.5864, allocations: 0 / 0.8678 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.5864, allocations: 46.53 kB / 0.8678 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.5864, allocations: 0 / 0.8678 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.5866, allocations: 33.7 kB / 0.8679 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.5866, allocations: 51.41 kB / 0.8679 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.5867, allocations: 113.7 kB / 0.868 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.5867, allocations: 29.7 kB / 0.8681 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.5868, allocations: 92.16 kB / 0.8681 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-06/0.5868, allocations: 3.953 kB / 0.8681 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.5868, allocations: 17.72 kB / 0.8682 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.587, allocations: 318.8 kB / 0.8685 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.587, allocations: 4 kB / 0.8685 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.587, allocations: 26.52 kB / 0.8685 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.672e-05/0.5871, allocations: 30.56 kB / 0.8685 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5871, allocations: 0 / 0.8685 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.928e-05/0.5871, allocations: 57.62 kB / 0.8686 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5872, allocations: 4 kB / 0.8686 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5872, allocations: 4 kB / 0.8686 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.5872, allocations: 0 / 0.8686 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.5872, allocations: 4 kB / 0.8686 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5872, allocations: 7.938 kB / 0.8686 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.5873, allocations: 3.938 kB / 0.8686 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.5873, allocations: 0 / 0.8686 GB, free: 10.54 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.734e-05/0.5874, allocations: 113.8 kB / 0.8687 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.5874, allocations: 4.094 kB / 0.8687 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.5874, allocations: 11.14 kB / 0.8687 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5874, allocations: 0 / 0.8687 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.5874, allocations: 0 / 0.8687 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5874, allocations: 3.938 kB / 0.8687 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.5877, allocations: 294.4 kB / 0.869 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5877, allocations: 0 / 0.869 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/0.5877, allocations: 7.938 kB / 0.869 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.5877, allocations: 256 / 0.869 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.5877, allocations: 0 / 0.869 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5877, allocations: 11.88 kB / 0.869 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5877, allocations: 8.016 kB / 0.869 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.791e-05/0.5878, allocations: 65.06 kB / 0.8691 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.5878, allocations: 4 kB / 0.8691 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.5878, allocations: 0 / 0.8691 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.5879, allocations: 3.938 kB / 0.8691 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.5879, allocations: 4 kB / 0.8691 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.5879, allocations: 0 / 0.8691 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.588, allocations: 87.27 kB / 0.8692 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.588, allocations: 0 / 0.8692 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000197/0.5882, allocations: 8 kB / 0.8692 GB, free: 9.859 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 9.845e-05/0.5883, allocations: 99.28 kB / 0.8693 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 9.058e-05/0.5884, allocations: 19.92 kB / 0.8693 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5884, allocations: 0 / 0.8693 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.638e-06/0.5884, allocations: 0 / 0.8693 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.5885, allocations: 4 kB / 0.8693 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.5888, allocations: 122.6 kB / 0.8694 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.5889, allocations: 63.59 kB / 0.8695 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.865e-05/0.5889, allocations: 8.078 kB / 0.8695 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.5889, allocations: 8.5 kB / 0.8695 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of SimCode: time 4.01e-07/0.5889, allocations: 0 / 0.8695 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of Templates: time 0.002926/0.5919, allocations: 0.5382 MB / 0.87 GB, free: 8.996 MB / 0.7012 GB " [Timeout remaining time 659] 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.089731901884079] Failed to read output from testmodel.py, exit status != 0: 0.601187014952302 0.6175915710000001 0.029255212000000003 Calling exit ...