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.000786/0.000786, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009152/0.0009152, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 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 0.9459/0.9459, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 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.00172/0.00172, allocations: 237.6 kB / 260.2 MB, free: 12.82 MB / 250.7 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.737/0.737, allocations: 138.4 MB / 455.2 MB, free: 1.508 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.016e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3476/0.3476, allocations: 143.7 MB / 0.6955 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001691/0.3478, allocations: 50.77 kB / 0.6955 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.3478, allocations: 0 / 0.6955 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.3479, allocations: 11.92 kB / 0.6955 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/0.348, allocations: 7.984 kB / 0.6955 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/0.3486, allocations: 117.8 kB / 0.6956 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.991e-05/0.3487, allocations: 35.84 kB / 0.6957 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.3487, allocations: 8 kB / 0.6957 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.3488, allocations: 19.92 kB / 0.6957 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.3489, allocations: 15.97 kB / 0.6957 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3489, allocations: 0 / 0.6957 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.3492, allocations: 71.75 kB / 0.6958 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.3493, allocations: 11.97 kB / 0.6958 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.3493, allocations: 7.938 kB / 0.6958 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.3495, allocations: 75.78 kB / 0.6959 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3495, allocations: 0 / 0.6959 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3495, allocations: 0 / 0.6959 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3495, allocations: 0 / 0.6959 GB, free: 12.74 MB / 0.5105 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.0003584/0.3498, allocations: 374.3 kB / 0.6962 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3499, allocations: 8.75 kB / 0.6962 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.3501, allocations: 29.5 kB / 0.6963 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.696e-05/0.3502, allocations: 108.6 kB / 0.6964 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.3503, allocations: 55.97 kB / 0.6964 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3503, allocations: 4.312 kB / 0.6964 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3504, allocations: 84.03 kB / 0.6965 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3504, allocations: 4 kB / 0.6965 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3505, allocations: 0 / 0.6965 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.3505, allocations: 4 kB / 0.6965 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.3505, allocations: 11.98 kB / 0.6965 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.3509, allocations: 259.8 kB / 0.6968 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/0.3509, allocations: 35 kB / 0.6968 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.3509, allocations: 7.688 kB / 0.6968 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.351, allocations: 0 / 0.6968 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.351, allocations: 33.39 kB / 0.6968 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.351, allocations: 8.062 kB / 0.6969 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001624/0.3511, allocations: 29.7 kB / 0.6969 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.3512, allocations: 55.39 kB / 0.6969 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.881e-05/0.3512, allocations: 170.6 kB / 0.6971 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.3512, allocations: 25.7 kB / 0.6971 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.3513, allocations: 146.8 kB / 0.6973 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.533e-06/0.3513, allocations: 3.953 kB / 0.6973 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.3513, allocations: 23.38 kB / 0.6973 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.3514, allocations: 500 kB / 0.6978 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.3514, allocations: 4.125 kB / 0.6978 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.3514, allocations: 35.05 kB / 0.6978 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.3514, allocations: 38.44 kB / 0.6978 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3514, allocations: 4 kB / 0.6978 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.561e-05/0.3515, allocations: 49.62 kB / 0.6979 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3515, allocations: 8 kB / 0.6979 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3515, allocations: 0 / 0.6979 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3516, allocations: 96 / 0.6979 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.3516, allocations: 12 kB / 0.6979 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3516, allocations: 0 / 0.6979 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.3517, allocations: 0 / 0.6979 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.3517, allocations: 4 kB / 0.6979 GB, free: 10.41 MB / 0.5105 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 4.99e-05/0.3517, allocations: 160.5 kB / 0.6981 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.3517, allocations: 7.953 kB / 0.6981 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.3518, allocations: 11.22 kB / 0.6981 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3518, allocations: 0 / 0.6981 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3518, allocations: 0 / 0.6981 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3518, allocations: 0 / 0.6981 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.352, allocations: 408.3 kB / 0.6985 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.352, allocations: 0 / 0.6985 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.352, allocations: 0 / 0.6985 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.352, allocations: 0 / 0.6985 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.352, allocations: 0 / 0.6985 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.352, allocations: 0 / 0.6985 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.352, allocations: 0 / 0.6985 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.082e-05/0.352, allocations: 80.31 kB / 0.6986 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.352, allocations: 4 kB / 0.6986 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3521, allocations: 0 / 0.6986 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.865e-05/0.3521, allocations: 4.062 kB / 0.6986 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.3521, allocations: 4 kB / 0.6986 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.3521, allocations: 3.5 kB / 0.6986 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.705e-05/0.3522, allocations: 135.1 kB / 0.6987 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3522, allocations: 0 / 0.6987 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001985/0.3524, allocations: 8 kB / 0.6987 GB, free: 9.527 MB / 0.5105 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 8.633e-05/0.3524, allocations: 95.25 kB / 0.6988 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.482e-05/0.3525, allocations: 27.56 kB / 0.6988 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3525, allocations: 192 / 0.6988 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.3525, allocations: 15.67 kB / 0.6988 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.3528, allocations: 4.562 kB / 0.6988 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.3533, allocations: 117.1 kB / 0.699 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.413e-05/0.3533, allocations: 61.42 kB / 0.699 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.638e-05/0.3533, allocations: 8.062 kB / 0.699 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.3534, allocations: 8.5 kB / 0.699 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/0.3534, allocations: 0 / 0.699 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of Templates: time 0.002506/0.3559, allocations: 0.5634 MB / 0.6996 GB, free: 8.625 MB / 0.5105 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.109515911899507]