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.008332/0.008332, allocations: 102 kB / 15.73 MB, free: 6.039 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.001933/0.001933, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 275 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9332/0.9332, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 95.84 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1816, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5484/0.73, allocations: 147.8 MB / 0.9108 GB, free: 15.01 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0002144/0.7303, allocations: 53.67 kB / 0.9108 GB, free: 14.96 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.7303, allocations: 0 / 0.9108 GB, free: 14.96 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.7304, allocations: 0 / 0.9108 GB, free: 14.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 9.13e-05/0.7306, allocations: 15.91 kB / 0.9108 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.7311, allocations: 113.1 kB / 0.9109 GB, free: 14.84 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.7313, allocations: 31.92 kB / 0.911 GB, free: 14.81 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.7313, allocations: 0 / 0.911 GB, free: 14.81 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.7314, allocations: 19.86 kB / 0.911 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.7314, allocations: 11.98 kB / 0.911 GB, free: 14.78 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.7315, allocations: 0 / 0.911 GB, free: 14.78 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.7318, allocations: 85.22 kB / 0.9111 GB, free: 14.7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.7319, allocations: 7.984 kB / 0.9111 GB, free: 14.69 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.7319, allocations: 19.92 kB / 0.9111 GB, free: 14.67 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.7321, allocations: 73.12 kB / 0.9112 GB, free: 14.61 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.7321, allocations: 0 / 0.9112 GB, free: 14.61 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7321, allocations: 0 / 0.9112 GB, free: 14.61 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.7321, 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.0005576/0.7327, allocations: 340.5 kB / 0.9115 GB, free: 14.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.7328, allocations: 8.031 kB / 0.9115 GB, free: 14.22 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.733, allocations: 18.61 kB / 0.9115 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7331, allocations: 172.6 kB / 0.9117 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/0.7332, allocations: 33.64 kB / 0.9117 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.7332, allocations: 0 / 0.9117 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.7333, allocations: 53.61 kB / 0.9118 GB, free: 13.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.7333, allocations: 0 / 0.9118 GB, free: 13.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.7334, allocations: 0 / 0.9118 GB, free: 13.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.7334, allocations: 3.984 kB / 0.9118 GB, free: 13.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.377e-05/0.7334, allocations: 19.98 kB / 0.9118 GB, free: 13.88 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.7338, allocations: 260.9 kB / 0.912 GB, free: 13.57 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/0.7339, allocations: 18.52 kB / 0.9121 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.7339, allocations: 12.95 kB / 0.9121 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-06/0.7339, allocations: 0 / 0.9121 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.7339, allocations: 30.56 kB / 0.9121 GB, free: 13.49 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.7339, allocations: 4 kB / 0.9121 GB, free: 13.49 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.7341, allocations: 33.61 kB / 0.9121 GB, free: 13.45 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.7341, allocations: 55.41 kB / 0.9122 GB, free: 13.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.7342, allocations: 113.8 kB / 0.9123 GB, free: 13.26 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.7343, allocations: 29.64 kB / 0.9123 GB, free: 13.23 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.7343, allocations: 87.98 kB / 0.9124 GB, free: 13.14 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-06/0.7343, allocations: 7.844 kB / 0.9124 GB, free: 13.13 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.7344, allocations: 17.72 kB / 0.9124 GB, free: 13.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7345, allocations: 323 kB / 0.9127 GB, free: 12.78 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.7345, allocations: 0 / 0.9127 GB, free: 12.78 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.7346, allocations: 31.14 kB / 0.9128 GB, free: 12.74 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.7346, allocations: 34.5 kB / 0.9128 GB, free: 12.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7346, allocations: 0 / 0.9128 GB, free: 12.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.987e-05/0.7347, allocations: 61.56 kB / 0.9129 GB, free: 12.63 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7347, allocations: 4 kB / 0.9129 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.7348, allocations: 0 / 0.9129 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.7348, allocations: 4.938 kB / 0.9129 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.7348, allocations: 4 kB / 0.9129 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.7348, allocations: 3.938 kB / 0.9129 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.7349, allocations: 4 kB / 0.9129 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.7349, allocations: 0 / 0.9129 GB, free: 12.61 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 7.579e-05/0.735, allocations: 114.6 kB / 0.913 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.735, allocations: 7.984 kB / 0.913 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.735, allocations: 3.125 kB / 0.913 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.735, allocations: 0 / 0.913 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.7351, allocations: 10 kB / 0.913 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7351, allocations: 0 / 0.913 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.7354, allocations: 346.6 kB / 0.9133 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7354, allocations: 0 / 0.9133 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.7354, allocations: 4.031 kB / 0.9133 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7354, allocations: 3.938 kB / 0.9133 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.7355, allocations: 3.984 kB / 0.9134 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.7355, allocations: 4 kB / 0.9134 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7355, allocations: 0 / 0.9134 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.426e-05/0.7355, allocations: 53.14 kB / 0.9134 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.7356, allocations: 81.11 kB / 0.9135 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.7356, allocations: 3.938 kB / 0.9135 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.7357, allocations: 8.016 kB / 0.9135 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.7357, allocations: 3.938 kB / 0.9135 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.7357, allocations: 4 kB / 0.9135 GB, free: 11.88 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.7358, allocations: 84.03 kB / 0.9136 GB, free: 11.79 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7358, allocations: 0 / 0.9136 GB, free: 11.79 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002395/0.736, 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 0.0001082/0.7362, allocations: 99.23 kB / 0.9137 GB, free: 11.68 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 8.391e-05/0.7363, allocations: 12 kB / 0.9137 GB, free: 11.67 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7363, allocations: 0 / 0.9137 GB, free: 11.67 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.7363, allocations: 15.88 kB / 0.9137 GB, free: 11.65 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.7365, allocations: 14.08 kB / 0.9137 GB, free: 11.64 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.7368, allocations: 117 kB / 0.9138 GB, free: 11.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.7372, allocations: 0.6768 MB / 0.9145 GB, free: 10.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 5.751e-05/0.7373, allocations: 16.31 kB / 0.9145 GB, free: 10.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.7373, allocations: 7.438 kB / 0.9145 GB, free: 10.78 MB / 0.67 GB Notification: Performance of SimCode: time 3.6e-07/0.7373, allocations: 0 / 0.9145 GB, free: 10.78 MB / 0.67 GB Notification: Performance of Templates: time 0.002509/0.7399, allocations: 0.4962 MB / 0.915 GB, free: 10.32 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)