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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 101.7 kB / 16.4 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 189.5 kB / 17.34 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 286.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8973/0.8973, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.00171, allocations: 107.8 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3853, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1416/0.5269, allocations: 147.8 MB / 0.9114 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00013/0.5271, allocations: 59.84 kB / 0.9115 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.5271, allocations: 0 / 0.9115 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.5273, allocations: 7.938 kB / 0.9115 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.5274, allocations: 15.92 kB / 0.9115 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.5279, allocations: 110.5 kB / 0.9116 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.765e-05/0.528, allocations: 39.84 kB / 0.9116 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.528, allocations: 0 / 0.9116 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.208e-05/0.5281, allocations: 19.92 kB / 0.9117 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.5281, allocations: 11.98 kB / 0.9117 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.5281, allocations: 0 / 0.9117 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.5284, allocations: 83.73 kB / 0.9117 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.5285, allocations: 11.97 kB / 0.9118 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.5285, allocations: 11.94 kB / 0.9118 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.5287, allocations: 75.5 kB / 0.9118 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5287, allocations: 0 / 0.9118 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5287, allocations: 4 kB / 0.9118 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.5287, allocations: 0 / 0.9118 GB, free: 15.12 MB / 0.6856 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.000354/0.5291, allocations: 334 kB / 0.9122 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.5291, allocations: 8.031 kB / 0.9122 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.5294, allocations: 24.91 kB / 0.9122 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.5295, allocations: 168.3 kB / 0.9124 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.5295, allocations: 33.64 kB / 0.9124 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-06/0.5296, allocations: 0 / 0.9124 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.5297, allocations: 45.69 kB / 0.9124 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5297, allocations: 7.969 kB / 0.9124 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5297, allocations: 0 / 0.9124 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.5297, allocations: 4 kB / 0.9124 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081e-05/0.5298, allocations: 19.98 kB / 0.9125 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.5301, allocations: 256.9 kB / 0.9127 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 3.527e-05/0.5302, allocations: 22.56 kB / 0.9127 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.5302, allocations: 4.859 kB / 0.9127 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.5302, allocations: 4 kB / 0.9127 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.5302, allocations: 30.56 kB / 0.9128 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.5302, allocations: 0 / 0.9128 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001203/0.5304, allocations: 45.61 kB / 0.9128 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.5304, allocations: 55.34 kB / 0.9129 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.5305, allocations: 109.8 kB / 0.913 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.5305, allocations: 25.7 kB / 0.913 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.5306, allocations: 92.11 kB / 0.9131 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.214e-06/0.5306, allocations: 7.938 kB / 0.9131 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.5306, allocations: 21.61 kB / 0.9131 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.5307, allocations: 314.8 kB / 0.9134 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.5307, allocations: 8 kB / 0.9134 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.5308, allocations: 22.56 kB / 0.9134 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.5308, allocations: 34.52 kB / 0.9135 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5308, allocations: 0 / 0.9135 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.826e-05/0.5309, allocations: 57.56 kB / 0.9135 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.5309, allocations: 4 kB / 0.9135 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5309, allocations: 0 / 0.9135 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.5309, allocations: 4 kB / 0.9135 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.531, allocations: 4 kB / 0.9135 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.531, allocations: 12.02 kB / 0.9135 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.531, allocations: 4 kB / 0.9135 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.5311, allocations: 0 / 0.9135 GB, free: 13.12 MB / 0.6856 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 6.997e-05/0.5311, allocations: 117.8 kB / 0.9137 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.5312, allocations: 0 / 0.9137 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.5312, allocations: 7.125 kB / 0.9137 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.5312, allocations: 0 / 0.9137 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.5312, allocations: 3.938 kB / 0.9137 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.5312, allocations: 3.938 kB / 0.9137 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.5314, allocations: 342.8 kB / 0.914 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5314, allocations: 0 / 0.914 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.466e-05/0.5315, allocations: 3.984 kB / 0.914 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.5315, allocations: 7.938 kB / 0.914 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.5315, allocations: 0 / 0.914 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.5315, allocations: 0 / 0.914 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5315, allocations: 0 / 0.914 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.047e-05/0.5316, allocations: 69.02 kB / 0.9141 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.5316, allocations: 81.05 kB / 0.9142 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.5316, allocations: 3.984 kB / 0.9142 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.5317, allocations: 4 kB / 0.9142 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-06/0.5317, allocations: 0 / 0.9142 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.5317, allocations: 0 / 0.9142 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.653e-05/0.5318, allocations: 91.52 kB / 0.9143 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.302e-06/0.5318, allocations: 0 / 0.9143 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002032/0.532, allocations: 11.94 kB / 0.9143 GB, free: 12.29 MB / 0.6856 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.246e-05/0.5321, allocations: 99.28 kB / 0.9144 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.244e-05/0.5322, allocations: 15.94 kB / 0.9144 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5322, allocations: 4 kB / 0.9144 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.5322, allocations: 0 / 0.9144 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.5324, allocations: 6.734 kB / 0.9144 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.5327, allocations: 148.5 kB / 0.9145 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.5329, allocations: 0.6729 MB / 0.9152 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.5329, allocations: 11.44 kB / 0.9152 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/0.5329, allocations: 0 / 0.9152 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of Templates: time 0.001761/0.5347, allocations: 0.573 MB / 0.9158 GB, free: 10.7 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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)