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.004488/0.004488, allocations: 101.7 kB / 15.73 MB, free: 6.488 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.001061/0.001061, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002022, allocations: 278.4 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9171/0.9171, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 95.84 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1649, allocations: 86.98 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4976/0.6625, allocations: 147.8 MB / 0.9108 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001421/0.6627, allocations: 48.38 kB / 0.9108 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.6627, allocations: 0 / 0.9108 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.6629, allocations: 7.922 kB / 0.9108 GB, free: 14.97 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.211e-05/0.663, allocations: 7.984 kB / 0.9108 GB, free: 14.96 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.6634, allocations: 115.1 kB / 0.9109 GB, free: 14.86 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.183e-05/0.6635, allocations: 31.84 kB / 0.911 GB, free: 14.83 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.6635, allocations: 11.91 kB / 0.911 GB, free: 14.82 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.6636, allocations: 19.98 kB / 0.911 GB, free: 14.8 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.6637, allocations: 7.984 kB / 0.911 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.6637, allocations: 0 / 0.911 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.6639, allocations: 91.72 kB / 0.9111 GB, free: 14.7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.664, allocations: 7.922 kB / 0.9111 GB, free: 14.69 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.664, allocations: 8 kB / 0.9111 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.6641, allocations: 77.73 kB / 0.9112 GB, free: 14.61 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6642, allocations: 4 kB / 0.9112 GB, free: 14.61 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6642, allocations: 0 / 0.9112 GB, free: 14.61 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6642, allocations: 0 / 0.9112 GB, free: 14.61 MB / 0.67 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.0003661/0.6645, allocations: 336.4 kB / 0.9115 GB, free: 14.24 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.6646, allocations: 8.031 kB / 0.9115 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.6648, allocations: 21.8 kB / 0.9115 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.956e-05/0.6649, allocations: 168.5 kB / 0.9117 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.665, allocations: 34.75 kB / 0.9117 GB, free: 13.97 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.665, allocations: 0 / 0.9117 GB, free: 13.97 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.6651, allocations: 45.69 kB / 0.9118 GB, free: 13.92 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.6651, allocations: 0 / 0.9118 GB, free: 13.92 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6651, allocations: 0 / 0.9118 GB, free: 13.92 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.6652, allocations: 4 kB / 0.9118 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.6652, allocations: 19.98 kB / 0.9118 GB, free: 13.89 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.6656, allocations: 260.9 kB / 0.912 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 3.625e-05/0.6656, allocations: 22.52 kB / 0.9121 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.6657, allocations: 5.734 kB / 0.9121 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-06/0.6657, allocations: 0 / 0.9121 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.6657, allocations: 38.56 kB / 0.9121 GB, free: 13.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.6657, allocations: 1.688 kB / 0.9121 GB, free: 13.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.6658, allocations: 45.59 kB / 0.9121 GB, free: 13.45 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.6659, allocations: 51.41 kB / 0.9122 GB, free: 13.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.6659, allocations: 113.7 kB / 0.9123 GB, free: 13.27 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.666, allocations: 25.7 kB / 0.9123 GB, free: 13.24 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.666, allocations: 91.98 kB / 0.9124 GB, free: 13.14 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.666, allocations: 12.03 kB / 0.9124 GB, free: 13.13 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.6661, allocations: 13.72 kB / 0.9124 GB, free: 13.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.6662, allocations: 318.8 kB / 0.9127 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.6662, allocations: 6.875 kB / 0.9127 GB, free: 12.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.6662, allocations: 22.58 kB / 0.9128 GB, free: 12.76 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.6662, allocations: 38.5 kB / 0.9128 GB, free: 12.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6663, allocations: 0 / 0.9128 GB, free: 12.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.226e-05/0.6663, allocations: 49.64 kB / 0.9129 GB, free: 12.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.6664, allocations: 4 kB / 0.9129 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6664, allocations: 4 kB / 0.9129 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6664, allocations: 3.984 kB / 0.9129 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.6664, allocations: 4 kB / 0.9129 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.6665, allocations: 11.88 kB / 0.9129 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.6665, allocations: 8.094 kB / 0.9129 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.6665, allocations: 0 / 0.9129 GB, free: 12.62 MB / 0.67 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.866e-05/0.6666, allocations: 110.5 kB / 0.913 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.6666, allocations: 0 / 0.913 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.666e-05/0.6666, allocations: 7.125 kB / 0.913 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.6666, allocations: 0 / 0.913 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6666, allocations: 7.922 kB / 0.913 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6667, allocations: 0 / 0.913 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.6669, allocations: 354.6 kB / 0.9133 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6669, allocations: 0 / 0.9133 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.6669, allocations: 0 / 0.9133 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.6669, allocations: 7.938 kB / 0.9134 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.6669, allocations: 0 / 0.9134 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6669, allocations: 0 / 0.9134 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6669, allocations: 3.422 kB / 0.9134 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.841e-05/0.667, allocations: 65.09 kB / 0.9134 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.667, allocations: 77.2 kB / 0.9135 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.6671, allocations: 3.938 kB / 0.9135 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.6672, allocations: 15.97 kB / 0.9135 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.6672, allocations: 3.938 kB / 0.9135 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.6672, allocations: 0 / 0.9135 GB, free: 11.88 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.6672, allocations: 79.28 kB / 0.9136 GB, free: 11.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6672, allocations: 0 / 0.9136 GB, free: 11.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001927/0.6674, allocations: 8 kB / 0.9136 GB, free: 11.79 MB / 0.67 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.449e-05/0.6675, allocations: 99.28 kB / 0.9137 GB, free: 11.69 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 7.073e-05/0.6676, allocations: 23.92 kB / 0.9137 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6676, allocations: 0 / 0.9137 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-06/0.6676, allocations: 0 / 0.9137 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.6679, allocations: 4 kB / 0.9137 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.6681, allocations: 117.9 kB / 0.9138 GB, free: 11.52 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.6683, allocations: 0.6814 MB / 0.9145 GB, free: 10.81 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.6683, allocations: 4 kB / 0.9145 GB, free: 10.81 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.6684, allocations: 7.438 kB / 0.9145 GB, free: 10.8 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.6684, allocations: 0 / 0.9145 GB, free: 10.8 MB / 0.67 GB Notification: Performance of Templates: time 0.00228/0.6707, allocations: 0.519 MB / 0.915 GB, free: 10.33 MB / 0.67 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)