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.001236/0.001236, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001449/0.001449, allocations: 212.7 kB / 23.01 MB, free: 4.57 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.343/1.343, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002435/0.002435, allocations: 287 kB / 313.5 MB, free: 2.816 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.136/1.136, allocations: 180.6 MB / 0.5377 GB, free: 13 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.002775/0.002775, allocations: 107.7 kB / 0.7408 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1576, allocations: 95.38 MB / 0.834 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1643/0.3219, allocations: 151.2 MB / 0.9816 GB, free: 416 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.322, allocations: 63.8 kB / 0.9816 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.3221, allocations: 0 / 0.9816 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.63e-05/0.3222, allocations: 3.984 kB / 0.9817 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.637e-05/0.3222, allocations: 11.92 kB / 0.9817 GB, free: 336 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.3227, allocations: 109.6 kB / 0.9818 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.928e-05/0.3228, allocations: 39.84 kB / 0.9818 GB, free: 188 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.3228, allocations: 0 / 0.9818 GB, free: 188 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.3229, allocations: 15.98 kB / 0.9818 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.3229, allocations: 15.86 kB / 0.9818 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.3229, allocations: 4 kB / 0.9818 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.3232, allocations: 87.77 kB / 0.9819 GB, free: 64 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.3232, allocations: 15.98 kB / 0.9819 GB, free: 48 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.3233, allocations: 11.94 kB / 0.982 GB, free: 36 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3805/0.7038, allocations: 74.81 kB / 0.982 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7038, allocations: 0.5625 kB / 0.982 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.225e-06/0.7038, allocations: 4.438 kB / 0.982 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.7038, allocations: 0 / 0.982 GB, free: 3.973 MB / 0.7169 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.0004278/0.7042, allocations: 259.8 kB / 0.9823 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7043, allocations: 10.69 kB / 0.9823 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.7045, allocations: 21.27 kB / 0.9823 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.7046, allocations: 106.3 kB / 0.9824 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-05/0.7047, allocations: 55.97 kB / 0.9825 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.7047, allocations: 5.5 kB / 0.9825 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.7048, allocations: 49.03 kB / 0.9825 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7048, allocations: 4.344 kB / 0.9825 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.7048, allocations: 0 / 0.9825 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.7049, allocations: 6.594 kB / 0.9825 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.7049, allocations: 17.66 kB / 0.9825 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.7053, allocations: 230.8 kB / 0.9828 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.215e-05/0.7053, allocations: 16.23 kB / 0.9828 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.7053, allocations: 7.578 kB / 0.9828 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.7053, allocations: 5 kB / 0.9828 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.7053, allocations: 37.48 kB / 0.9828 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.7053, allocations: 0 / 0.9828 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.7055, allocations: 36.12 kB / 0.9829 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.7055, allocations: 55.28 kB / 0.9829 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.7056, allocations: 107.9 kB / 0.983 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.7056, allocations: 26.77 kB / 0.983 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.7057, allocations: 95.09 kB / 0.9831 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-06/0.7057, allocations: 1.438 kB / 0.9831 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.7057, allocations: 22.48 kB / 0.9832 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7058, allocations: 316.8 kB / 0.9835 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.7058, allocations: 5.672 kB / 0.9835 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.7059, allocations: 24.94 kB / 0.9835 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.7059, allocations: 32.73 kB / 0.9835 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7059, allocations: 2.109 kB / 0.9835 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.136e-05/0.706, allocations: 56.34 kB / 0.9836 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.706, allocations: 6.047 kB / 0.9836 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.706, allocations: 2.5 kB / 0.9836 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.706, allocations: 1.75 kB / 0.9836 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.7061, allocations: 10.06 kB / 0.9836 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.7061, allocations: 2.484 kB / 0.9836 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.7061, allocations: 9.875 kB / 0.9836 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.7061, allocations: 1.781 kB / 0.9836 GB, free: 18.45 MB / 0.7325 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.579e-05/0.7062, allocations: 110.8 kB / 0.9837 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.7062, allocations: 3 kB / 0.9837 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.7062, allocations: 5.828 kB / 0.9837 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7062, allocations: 0.6562 kB / 0.9837 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.7062, allocations: 3.375 kB / 0.9837 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.7062, allocations: 5 kB / 0.9837 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.7065, allocations: 323.4 kB / 0.984 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7065, allocations: 0 / 0.984 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.355e-05/0.7065, allocations: 3.469 kB / 0.984 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7065, allocations: 0 / 0.984 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.7065, allocations: 4.938 kB / 0.984 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7065, allocations: 2.328 kB / 0.984 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7065, allocations: 0.875 kB / 0.984 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.855e-05/0.7066, allocations: 61.52 kB / 0.9841 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.7066, allocations: 3.141 kB / 0.9841 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.7066, allocations: 5.781 kB / 0.9841 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.7067, allocations: 4.328 kB / 0.9841 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.7067, allocations: 1.328 kB / 0.9841 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.7067, allocations: 0.6094 kB / 0.9841 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.7068, allocations: 86.3 kB / 0.9842 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7068, allocations: 0 / 0.9842 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001966/0.7069, allocations: 8.422 kB / 0.9842 GB, free: 17.85 MB / 0.7325 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.0001058/0.7071, allocations: 97.84 kB / 0.9843 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.095e-05/0.7071, allocations: 18.22 kB / 0.9843 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7071, allocations: 0.9062 kB / 0.9843 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-06/0.7071, allocations: 1.562 kB / 0.9843 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.7074, allocations: 7.328 kB / 0.9843 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.7076, allocations: 139.1 kB / 0.9845 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.7079, allocations: 0.6801 MB / 0.9851 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.7079, allocations: 13.38 kB / 0.9851 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.7079, allocations: 0.7812 kB / 0.9851 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.002026/0.7099, allocations: 0.5751 MB / 0.9857 GB, free: 16.91 MB / 0.7325 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: 8.346436179010198] Failed to read output from testmodel.py, exit status != 0: 0.7166645361576229 0.728871482 0.02192155699999994 Calling exit ...