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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7888/0.7888, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 180.3 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.3 MB / 441.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 93.91 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002594/0.002594, allocations: 264.9 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.852e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5638, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.19/11.76, allocations: 4.368 GB / 5.132 GB, free: 129.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/11.76, allocations: 86.66 kB / 5.133 GB, free: 129.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08066/11.84, allocations: 47.04 MB / 5.179 GB, free: 82.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.373e-06/11.84, allocations: 4 kB / 5.179 GB, free: 82.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.113e-06/11.84, allocations: 0 / 5.179 GB, free: 82.11 MB / 0.698 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.0002429/11.84, allocations: 326.5 kB / 5.179 GB, free: 81.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/11.84, allocations: 19.95 kB / 5.179 GB, free: 81.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/11.84, allocations: 23.92 kB / 5.179 GB, free: 81.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.976e-05/11.84, allocations: 163.1 kB / 5.179 GB, free: 81.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/11.84, allocations: 29.7 kB / 5.179 GB, free: 81.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/11.84, allocations: 0 / 5.179 GB, free: 81.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/11.84, allocations: 41.69 kB / 5.179 GB, free: 81.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/11.84, allocations: 8 kB / 5.179 GB, free: 81.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/11.84, allocations: 0 / 5.179 GB, free: 81.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/11.84, allocations: 11.88 kB / 5.179 GB, free: 81.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/11.84, allocations: 16 kB / 5.179 GB, free: 81.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/11.84, allocations: 264.8 kB / 5.179 GB, free: 81.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.314e-05/11.84, allocations: 14.58 kB / 5.179 GB, free: 81.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/11.84, allocations: 12.92 kB / 5.179 GB, free: 81.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/11.84, allocations: 3.953 kB / 5.179 GB, free: 81.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/11.84, allocations: 30.56 kB / 5.179 GB, free: 81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/11.84, allocations: 0 / 5.179 GB, free: 81 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001058/11.84, allocations: 37.62 kB / 5.179 GB, free: 80.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/11.84, allocations: 55.41 kB / 5.18 GB, free: 80.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/11.84, allocations: 96.94 kB / 5.18 GB, free: 80.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/11.84, allocations: 33.73 kB / 5.18 GB, free: 80.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/11.84, allocations: 88.05 kB / 5.18 GB, free: 80.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-06/11.84, allocations: 7.891 kB / 5.18 GB, free: 80.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/11.84, allocations: 0 / 5.18 GB, free: 80.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.572e-05/11.84, allocations: 314.8 kB / 5.18 GB, free: 80.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/11.84, allocations: 4 kB / 5.18 GB, free: 80.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/11.84, allocations: 22.58 kB / 5.18 GB, free: 80.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/11.84, allocations: 11.98 kB / 5.18 GB, free: 80.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/11.84, allocations: 0 / 5.18 GB, free: 80.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.114e-05/11.84, allocations: 49.64 kB / 5.18 GB, free: 80.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/11.84, allocations: 11.94 kB / 5.18 GB, free: 80.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/11.84, allocations: 4 kB / 5.18 GB, free: 80.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/11.84, allocations: 0 / 5.18 GB, free: 80.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/11.84, allocations: 7.938 kB / 5.18 GB, free: 80.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/11.84, allocations: 8.094 kB / 5.18 GB, free: 80.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/11.84, allocations: 3.938 kB / 5.18 GB, free: 80.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/11.84, allocations: 4 kB / 5.18 GB, free: 80.2 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/11.84, allocations: 105 kB / 5.18 GB, free: 80.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/11.84, allocations: 4.156 kB / 5.18 GB, free: 80.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/11.84, allocations: 11.08 kB / 5.18 GB, free: 80.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/11.84, allocations: 0 / 5.18 GB, free: 80.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/11.84, allocations: 4 kB / 5.18 GB, free: 80.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/11.84, allocations: 3.984 kB / 5.18 GB, free: 80.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/11.84, allocations: 350.7 kB / 5.181 GB, free: 79.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/11.84, allocations: 0 / 5.181 GB, free: 79.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/11.84, allocations: 3.953 kB / 5.181 GB, free: 79.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/11.84, allocations: 4 kB / 5.181 GB, free: 79.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/11.84, allocations: 0 / 5.181 GB, free: 79.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/11.84, allocations: 0 / 5.181 GB, free: 79.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/11.84, allocations: 0 / 5.181 GB, free: 79.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.908e-05/11.84, allocations: 65.16 kB / 5.181 GB, free: 79.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/11.84, allocations: 77.11 kB / 5.181 GB, free: 79.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/11.84, allocations: 3.953 kB / 5.181 GB, free: 79.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/11.84, allocations: 4.094 kB / 5.181 GB, free: 79.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/11.84, allocations: 7.969 kB / 5.181 GB, free: 79.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-06/11.84, allocations: 0 / 5.181 GB, free: 79.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.609e-05/11.84, allocations: 87.28 kB / 5.181 GB, free: 79.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/11.84, allocations: 0 / 5.181 GB, free: 79.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002871/11.84, allocations: 44.02 kB / 5.181 GB, free: 79.34 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005046/11.84, allocations: 0.5515 MB / 5.181 GB, free: 78.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.419e-05/11.84, allocations: 16 kB / 5.181 GB, free: 78.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/11.84, allocations: 0 / 5.181 GB, free: 78.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.33e-06/11.84, allocations: 4 kB / 5.181 GB, free: 78.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/11.84, allocations: 4.812 kB / 5.181 GB, free: 78.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001376/11.84, allocations: 64.86 kB / 5.182 GB, free: 78.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.45e-05/11.84, allocations: 0.677 MB / 5.182 GB, free: 77.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.162e-05/11.84, allocations: 12.23 kB / 5.182 GB, free: 77.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/11.84, allocations: 7.438 kB / 5.182 GB, free: 77.95 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/11.84, allocations: 3.938 kB / 5.182 GB, free: 77.94 MB / 0.698 GB Notification: Performance of Templates: time 0.01055/11.85, allocations: 9.668 MB / 5.192 GB, free: 68.26 MB / 0.698 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)