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.001269/0.001269, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002122, allocations: 298.4 kB / 290.7 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9226/0.9226, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 100.1 kB / 0.5952 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1652, allocations: 86.99 MB / 0.6802 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4679/0.6331, allocations: 147.8 MB / 0.8245 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002046/0.6334, allocations: 51.34 kB / 0.8246 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.6334, allocations: 4.5 kB / 0.8246 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.6336, allocations: 4.438 kB / 0.8246 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.636e-05/0.6336, allocations: 10.69 kB / 0.8246 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.6342, allocations: 109.2 kB / 0.8247 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.6343, allocations: 33.47 kB / 0.8247 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.6343, allocations: 3.703 kB / 0.8247 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.6344, allocations: 19.38 kB / 0.8248 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.178e-05/0.6345, allocations: 15.22 kB / 0.8248 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.6345, allocations: 1.188 kB / 0.8248 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.6347, allocations: 85.81 kB / 0.8249 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.6348, allocations: 8.844 kB / 0.8249 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.6348, allocations: 14.3 kB / 0.8249 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.635, allocations: 66.91 kB / 0.8249 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.635, allocations: 0.5625 kB / 0.8249 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.223e-06/0.635, allocations: 0 / 0.8249 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.635, allocations: 0.5 kB / 0.8249 GB, free: 1.367 MB / 0.5606 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.0004164/0.6354, allocations: 342.4 kB / 0.8253 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.6355, allocations: 9.531 kB / 0.8253 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.6357, allocations: 21.12 kB / 0.8253 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.6359, allocations: 162.4 kB / 0.8255 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.6359, allocations: 31.45 kB / 0.8255 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.636, allocations: 8.875 kB / 0.8255 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.6361, allocations: 50.5 kB / 0.8255 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.6361, allocations: 0.5938 kB / 0.8255 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.6361, allocations: 4.062 kB / 0.8256 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.6362, allocations: 1.812 kB / 0.8256 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.6362, allocations: 18.14 kB / 0.8256 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.6366, allocations: 266.3 kB / 0.8258 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.655e-05/0.6367, allocations: 20.48 kB / 0.8258 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.6367, allocations: 8.375 kB / 0.8259 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.6367, allocations: 0.6875 kB / 0.8259 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.6367, allocations: 35.06 kB / 0.8259 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.6367, allocations: 0 / 0.8259 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.6369, allocations: 35.67 kB / 0.8259 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.6369, allocations: 51.41 kB / 0.826 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.637, allocations: 114.2 kB / 0.8261 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.637, allocations: 26.55 kB / 0.8261 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.6371, allocations: 96.92 kB / 0.8262 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.6371, allocations: 3.172 kB / 0.8262 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.6372, allocations: 17.09 kB / 0.8262 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6373, allocations: 311.9 kB / 0.8265 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.6373, allocations: 5.203 kB / 0.8265 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.6373, allocations: 28.81 kB / 0.8265 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.317e-05/0.6374, allocations: 32.33 kB / 0.8266 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.6374, allocations: 0 / 0.8266 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.745e-05/0.6375, allocations: 53.64 kB / 0.8266 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.6375, allocations: 5.406 kB / 0.8266 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6375, allocations: 1.281 kB / 0.8266 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6376, allocations: 5.094 kB / 0.8266 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.6376, allocations: 5.375 kB / 0.8266 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.6377, allocations: 8.016 kB / 0.8266 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.6377, allocations: 8.594 kB / 0.8267 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-06/0.6377, allocations: 2.25 kB / 0.8267 GB, free: 15.62 MB / 0.5762 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.159e-05/0.6378, allocations: 109.2 kB / 0.8268 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.6378, allocations: 1.625 kB / 0.8268 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.6378, allocations: 18.47 kB / 0.8268 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6379, allocations: 4.5 kB / 0.8268 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6379, allocations: 4.5 kB / 0.8268 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.6379, allocations: 0.5625 kB / 0.8268 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.6381, allocations: 341.7 kB / 0.8271 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6381, allocations: 0.625 kB / 0.8271 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.778e-05/0.6382, allocations: 5.484 kB / 0.8271 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6382, allocations: 4.469 kB / 0.8271 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.6382, allocations: 4.469 kB / 0.8271 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.6382, allocations: 0.5 kB / 0.8271 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6382, allocations: 4.031 kB / 0.8271 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.261e-05/0.6383, allocations: 61.38 kB / 0.8272 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.6383, allocations: 81.7 kB / 0.8273 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.6383, allocations: 4.969 kB / 0.8273 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.6384, allocations: 4.906 kB / 0.8273 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.6385, allocations: 0.5938 kB / 0.8273 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.6385, allocations: 0.5 kB / 0.8273 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.6385, allocations: 91.91 kB / 0.8274 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6385, allocations: 0 / 0.8274 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001902/0.6387, allocations: 6.594 kB / 0.8274 GB, free: 14.86 MB / 0.5762 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.000117/0.6388, allocations: 103.5 kB / 0.8275 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.6389, allocations: 16 kB / 0.8275 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.6389, allocations: 0.5 kB / 0.8275 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.853e-06/0.6389, allocations: 1.812 kB / 0.8275 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.6392, allocations: 9.797 kB / 0.8275 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.6394, allocations: 114.2 kB / 0.8276 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.6397, allocations: 0.6766 MB / 0.8283 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.068e-05/0.6397, allocations: 9.484 kB / 0.8283 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.6398, allocations: 10.03 kB / 0.8283 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.6398, allocations: 0 / 0.8283 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of Templates: time 0.002181/0.6419, allocations: 0.5011 MB / 0.8288 GB, free: 13.92 MB / 0.5762 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)