Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005876/0.005876, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001329/0.001329, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 292.8 kB / 290.8 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.9811/0.9811, allocations: 169.3 MB / 0.4983 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 95.86 kB / 0.6814 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4229, allocations: 86.98 MB / 0.7664 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1528/0.5757, allocations: 148.3 MB / 0.9112 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.000139/0.5759, allocations: 51.8 kB / 0.9112 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.5759, allocations: 0 / 0.9112 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.5761, allocations: 7.922 kB / 0.9112 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.5761, allocations: 11.94 kB / 0.9112 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.5769, allocations: 211.2 kB / 0.9114 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.172e-05/0.577, allocations: 31.91 kB / 0.9115 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.5771, allocations: 4 kB / 0.9115 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.5771, allocations: 15.92 kB / 0.9115 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.5772, allocations: 15.92 kB / 0.9115 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.5772, allocations: 0 / 0.9115 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.5777, allocations: 199.5 kB / 0.9117 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.5777, allocations: 11.92 kB / 0.9117 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.5778, allocations: 11.92 kB / 0.9117 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.5781, allocations: 111.5 kB / 0.9118 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5781, allocations: 0 / 0.9118 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5781, allocations: 0 / 0.9118 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.5781, allocations: 0 / 0.9118 GB, free: 14.44 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.0003992/0.5785, allocations: 346 kB / 0.9121 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5786, allocations: 8.031 kB / 0.9122 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.5789, allocations: 32.91 kB / 0.9122 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.579, allocations: 164.4 kB / 0.9123 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.579, allocations: 29.64 kB / 0.9124 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.5791, allocations: 11.88 kB / 0.9124 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.5792, allocations: 53.66 kB / 0.9124 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.5792, allocations: 0 / 0.9124 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.5792, allocations: 0 / 0.9124 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.5792, allocations: 0 / 0.9124 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.295e-05/0.5793, allocations: 27.98 kB / 0.9125 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.5796, allocations: 264.8 kB / 0.9127 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.564e-05/0.5797, allocations: 22.52 kB / 0.9127 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.5797, allocations: 8.859 kB / 0.9127 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.5799, allocations: 97.16 kB / 0.9128 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.5799, allocations: 30.56 kB / 0.9129 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5799, allocations: 0 / 0.9129 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0002357/0.5802, allocations: 49.69 kB / 0.9129 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.5802, allocations: 51.41 kB / 0.913 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.5803, allocations: 117.6 kB / 0.9131 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.5803, allocations: 25.7 kB / 0.9131 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.5804, allocations: 84.27 kB / 0.9132 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.5804, allocations: 7.906 kB / 0.9132 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.5804, allocations: 13.72 kB / 0.9132 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.5805, allocations: 326.8 kB / 0.9135 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.5805, allocations: 4 kB / 0.9135 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.5806, allocations: 18.58 kB / 0.9135 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.5806, allocations: 42.5 kB / 0.9136 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5806, allocations: 0 / 0.9136 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.306e-05/0.5807, allocations: 57.53 kB / 0.9136 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.5807, allocations: 4 kB / 0.9136 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5808, allocations: 0 / 0.9136 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5808, allocations: 4 kB / 0.9136 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.5808, allocations: 4 kB / 0.9136 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5809, allocations: 8.031 kB / 0.9136 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.5809, allocations: 8 kB / 0.9137 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.5809, allocations: 0 / 0.9137 GB, free: 12.29 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 7.371e-05/0.581, allocations: 112.2 kB / 0.9138 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.581, allocations: 0 / 0.9138 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.581, allocations: 11.11 kB / 0.9138 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.581, allocations: 3.938 kB / 0.9138 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5811, allocations: 7.938 kB / 0.9138 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.5811, allocations: 0 / 0.9138 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.5813, allocations: 359.6 kB / 0.9141 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5813, allocations: 0 / 0.9141 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.5814, allocations: 4 kB / 0.9141 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5814, allocations: 3.938 kB / 0.9141 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.5814, allocations: 0 / 0.9141 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5814, allocations: 4 kB / 0.9141 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5814, allocations: 4.219 kB / 0.9141 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.723e-05/0.5815, allocations: 77.95 kB / 0.9142 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.5816, allocations: 92.97 kB / 0.9143 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.5816, allocations: 0 / 0.9143 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.5817, allocations: 4 kB / 0.9143 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.5817, allocations: 4 kB / 0.9143 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.5817, allocations: 0 / 0.9143 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.5817, allocations: 91.3 kB / 0.9144 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5818, allocations: 0 / 0.9144 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002069/0.582, allocations: 8 kB / 0.9144 GB, free: 11.41 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001168/0.5821, allocations: 95.25 kB / 0.9145 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.343e-05/0.5822, allocations: 23.92 kB / 0.9145 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5822, allocations: 192 / 0.9145 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.5822, allocations: 11.94 kB / 0.9145 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.5824, allocations: 4 kB / 0.9145 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.5827, allocations: 115.4 kB / 0.9146 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.5829, allocations: 0.6845 MB / 0.9153 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.271e-05/0.583, allocations: 8.125 kB / 0.9153 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.583, allocations: 7.438 kB / 0.9153 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of SimCode: time 2.01e-07/0.583, allocations: 0 / 0.9153 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.002616/0.5856, allocations: 0.582 MB / 0.9159 GB, free: 9.828 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)