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.001655/0.001655, allocations: 104.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.001858/0.001858, allocations: 192 kB / 17.34 MB, free: 5.711 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002451/0.002451, allocations: 296 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.985/0.985, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 103.8 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4325, allocations: 86.98 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1745/0.6069, allocations: 148.2 MB / 0.9118 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001508/0.6071, allocations: 59.86 kB / 0.9119 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.6071, allocations: 0 / 0.9119 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.6072, allocations: 3.938 kB / 0.9119 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.6073, allocations: 19.91 kB / 0.9119 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.6077, allocations: 111.6 kB / 0.912 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.394e-05/0.6078, allocations: 27.86 kB / 0.912 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.6079, allocations: 4 kB / 0.9121 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 5.118e-05/0.6079, allocations: 23.91 kB / 0.9121 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.608, allocations: 4 kB / 0.9121 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.608, allocations: 4 kB / 0.9121 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.6082, allocations: 87.72 kB / 0.9122 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.6083, allocations: 7.984 kB / 0.9122 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.6083, allocations: 15.92 kB / 0.9122 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.6085, allocations: 75.58 kB / 0.9123 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6085, allocations: 0 / 0.9123 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6085, allocations: 0 / 0.9123 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.6085, allocations: 3.938 kB / 0.9123 GB, free: 14.62 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.0004337/0.6089, allocations: 337.2 kB / 0.9126 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.6089, allocations: 12.03 kB / 0.9126 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.6092, allocations: 24.91 kB / 0.9126 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.6093, allocations: 160.4 kB / 0.9128 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.6094, allocations: 33.64 kB / 0.9128 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.6094, allocations: 4 kB / 0.9128 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.6095, allocations: 41.69 kB / 0.9128 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.6095, allocations: 3.984 kB / 0.9129 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6095, allocations: 0 / 0.9129 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.6095, allocations: 8 kB / 0.9129 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.6096, allocations: 23.92 kB / 0.9129 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.61, allocations: 264.8 kB / 0.9131 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 3.756e-05/0.61, allocations: 18.56 kB / 0.9132 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.6101, allocations: 4.859 kB / 0.9132 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.6101, allocations: 7.984 kB / 0.9132 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.6101, allocations: 34.62 kB / 0.9132 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.6101, allocations: 0 / 0.9132 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.6102, allocations: 33.64 kB / 0.9132 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.6103, allocations: 55.34 kB / 0.9133 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.6104, allocations: 113.8 kB / 0.9134 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.6104, allocations: 25.7 kB / 0.9134 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.6104, allocations: 96.17 kB / 0.9135 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.6104, allocations: 0 / 0.9135 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.6105, allocations: 21.7 kB / 0.9135 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6106, allocations: 310.8 kB / 0.9138 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.6106, allocations: 4 kB / 0.9138 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.6107, allocations: 26.56 kB / 0.9139 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.6107, allocations: 34.77 kB / 0.9139 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6107, allocations: 0 / 0.9139 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.555e-05/0.6108, allocations: 57.62 kB / 0.9139 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.6108, allocations: 8 kB / 0.914 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6108, allocations: 3.984 kB / 0.914 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6109, allocations: 0 / 0.914 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.6109, allocations: 8 kB / 0.914 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6109, allocations: 8.031 kB / 0.914 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.611, allocations: 3.953 kB / 0.914 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.611, allocations: 7.938 kB / 0.914 GB, free: 12.62 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 8.327e-05/0.6111, allocations: 112.2 kB / 0.9141 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.6111, allocations: 8 kB / 0.9141 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.6111, allocations: 3.125 kB / 0.9141 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.6111, allocations: 0 / 0.9141 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6111, allocations: 7.875 kB / 0.9141 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6111, allocations: 0 / 0.9141 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.6114, allocations: 342.8 kB / 0.9144 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6114, allocations: 0 / 0.9144 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.6114, allocations: 7.984 kB / 0.9144 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6114, allocations: 3.938 kB / 0.9144 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.6114, allocations: 0 / 0.9144 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6114, allocations: 3.938 kB / 0.9144 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6114, allocations: 0 / 0.9144 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.507e-05/0.6115, allocations: 61.17 kB / 0.9145 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.6116, allocations: 88.94 kB / 0.9146 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.6116, allocations: 3.984 kB / 0.9146 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.6117, allocations: 4 kB / 0.9146 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.6117, allocations: 0 / 0.9146 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.6117, allocations: 3.938 kB / 0.9146 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.6117, allocations: 87.27 kB / 0.9147 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.6117, allocations: 4 kB / 0.9147 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001927/0.6119, allocations: 8.031 kB / 0.9147 GB, free: 11.79 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 0.0001068/0.612, allocations: 99.25 kB / 0.9148 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.918e-05/0.6121, allocations: 11.94 kB / 0.9148 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6121, allocations: 0 / 0.9148 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.6121, allocations: 4 kB / 0.9148 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.6124, allocations: 9 kB / 0.9148 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.6126, allocations: 118.8 kB / 0.9149 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.613, allocations: 0.6768 MB / 0.9156 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 4.89e-05/0.613, allocations: 7.984 kB / 0.9156 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.613, allocations: 11.44 kB / 0.9156 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of SimCode: time 3.3e-07/0.613, allocations: 0 / 0.9156 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of Templates: time 0.002988/0.616, allocations: 0.5083 MB / 0.9161 GB, free: 10.32 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)