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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.7858/0.7858, allocations: 143.4 MB / 159.2 MB, free: 4.898 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 184.5 kB / 191.9 MB, free: 5.707 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.462/1.462, allocations: 222.9 MB / 447.3 MB, free: 5.836 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.001055/0.001055, allocations: 95.77 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 274.2 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 79.89 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3629, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5446/0.9076, allocations: 146 MB / 0.9105 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.9078, allocations: 55.19 kB / 0.9106 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.9078, allocations: 0 / 0.9106 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.9079, allocations: 8.547 kB / 0.9106 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.9081, allocations: 12.09 kB / 0.9106 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.9087, allocations: 199.7 kB / 0.9108 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.9088, allocations: 57.14 kB / 0.9108 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.9089, allocations: 2.484 kB / 0.9108 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.9089, allocations: 18.42 kB / 0.9108 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.909, allocations: 18.94 kB / 0.9109 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.909, allocations: 1 kB / 0.9109 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.9095, allocations: 229 kB / 0.9111 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.9095, allocations: 15.81 kB / 0.9111 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.9096, allocations: 8.141 kB / 0.9111 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.9098, allocations: 126.7 kB / 0.9112 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9099, allocations: 1.031 kB / 0.9112 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9099, allocations: 0 / 0.9112 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.9099, allocations: 0 / 0.9112 GB, free: 0.6797 MB / 0.5573 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.0004461/0.9103, allocations: 342 kB / 0.9116 GB, free: 16.32 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.9104, allocations: 9.594 kB / 0.9116 GB, free: 16.32 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.9107, allocations: 30.17 kB / 0.9116 GB, free: 16.32 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.9108, allocations: 167.5 kB / 0.9118 GB, free: 16.12 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.9108, allocations: 33.19 kB / 0.9118 GB, free: 16.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.9109, allocations: 1.562 kB / 0.9118 GB, free: 16.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.911, allocations: 52.48 kB / 0.9118 GB, free: 16.05 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.911, allocations: 1.203 kB / 0.9118 GB, free: 16.05 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.911, allocations: 1.094 kB / 0.9118 GB, free: 16.05 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.9111, allocations: 1.188 kB / 0.9118 GB, free: 16.05 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.9111, allocations: 26.91 kB / 0.9119 GB, free: 16.05 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.9114, allocations: 252.9 kB / 0.9121 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.919e-05/0.9115, allocations: 28.94 kB / 0.9121 GB, free: 15.76 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.9115, allocations: 8.078 kB / 0.9121 GB, free: 15.75 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.9117, allocations: 94.27 kB / 0.9122 GB, free: 15.66 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.9117, allocations: 39.45 kB / 0.9123 GB, free: 15.62 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.9117, allocations: 0 / 0.9123 GB, free: 15.62 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0002192/0.912, allocations: 48.47 kB / 0.9123 GB, free: 15.58 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.912, allocations: 56.16 kB / 0.9124 GB, free: 15.52 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.9121, allocations: 109.9 kB / 0.9125 GB, free: 15.41 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.9121, allocations: 25.7 kB / 0.9125 GB, free: 15.38 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.9121, allocations: 90.42 kB / 0.9126 GB, free: 15.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-06/0.9122, allocations: 5.797 kB / 0.9126 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.9122, allocations: 19.25 kB / 0.9126 GB, free: 15.28 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.9123, allocations: 313.2 kB / 0.9129 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.9123, allocations: 8.141 kB / 0.9129 GB, free: 14.96 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.9124, allocations: 25.16 kB / 0.9129 GB, free: 14.94 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.9124, allocations: 32.62 kB / 0.913 GB, free: 14.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9124, allocations: 0.7812 kB / 0.913 GB, free: 14.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.328e-05/0.9125, allocations: 56.58 kB / 0.913 GB, free: 14.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.9125, allocations: 4.75 kB / 0.913 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9125, allocations: 0.875 kB / 0.913 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.9125, allocations: 1.672 kB / 0.913 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.9126, allocations: 9.547 kB / 0.913 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.9126, allocations: 4.906 kB / 0.913 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.9126, allocations: 11.8 kB / 0.9131 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.9127, allocations: 1.625 kB / 0.9131 GB, free: 14.87 MB / 0.573 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.071e-05/0.9127, allocations: 114.9 kB / 0.9132 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.9128, allocations: 7.672 kB / 0.9132 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.9128, allocations: 4.891 kB / 0.9132 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.9128, allocations: 0 / 0.9132 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9128, allocations: 1.031 kB / 0.9132 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.9128, allocations: 3.938 kB / 0.9132 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.9131, allocations: 362 kB / 0.9135 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9131, allocations: 0.7812 kB / 0.9135 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.9131, allocations: 10.55 kB / 0.9135 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.9131, allocations: 4.812 kB / 0.9135 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.9132, allocations: 1.344 kB / 0.9135 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.9132, allocations: 4.781 kB / 0.9136 GB, free: 14.35 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9132, allocations: 1.844 kB / 0.9136 GB, free: 14.35 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.9135, allocations: 0.6213 MB / 0.9142 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.9135, allocations: 83.5 kB / 0.9142 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.9135, allocations: 1.438 kB / 0.9142 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.9136, allocations: 4.922 kB / 0.9142 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.9136, allocations: 4.984 kB / 0.9143 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.9136, allocations: 1.25 kB / 0.9143 GB, free: 13.61 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.9137, allocations: 80.47 kB / 0.9143 GB, free: 13.53 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9137, allocations: 0.6875 kB / 0.9143 GB, free: 13.53 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002966/0.914, allocations: 10.19 kB / 0.9143 GB, free: 13.53 MB / 0.573 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.0001353/0.9141, allocations: 111.8 kB / 0.9144 GB, free: 13.43 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 7.239e-05/0.9142, allocations: 14.95 kB / 0.9145 GB, free: 13.43 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9142, allocations: 0 / 0.9145 GB, free: 13.43 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.9142, allocations: 5.172 kB / 0.9145 GB, free: 13.43 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.9145, allocations: 9.641 kB / 0.9145 GB, free: 13.43 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.9148, allocations: 224.8 kB / 0.9147 GB, free: 13.21 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.915, allocations: 0.6819 MB / 0.9154 GB, free: 12.51 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.26e-05/0.9151, allocations: 14.36 kB / 0.9154 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.9151, allocations: 9.125 kB / 0.9154 GB, free: 12.5 MB / 0.573 GB Notification: Performance of SimCode: time 2.3e-07/0.9151, allocations: 0 / 0.9154 GB, free: 12.5 MB / 0.573 GB Notification: Performance of Templates: time 0.002635/0.9178, allocations: 0.569 MB / 0.9159 GB, free: 12.43 MB / 0.573 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)