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.001339/0.001342, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001339/0.001339, allocations: 193 kB / 16.26 MB, free: 6.621 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.494/1.494, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.002529, allocations: 294.5 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.507 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 92.64 kB / 0.6059 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1719, allocations: 89.16 MB / 0.693 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4742/0.6461, allocations: 146.2 MB / 0.8357 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.6463, allocations: 55.64 kB / 0.8358 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.6464, allocations: 3.938 kB / 0.8358 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.6465, allocations: 3.984 kB / 0.8358 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.6466, allocations: 6.812 kB / 0.8358 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000768/0.6474, allocations: 200.8 kB / 0.836 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.6475, allocations: 40.69 kB / 0.836 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.6475, allocations: 5.469 kB / 0.836 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.371e-05/0.6476, allocations: 21.16 kB / 0.836 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.6476, allocations: 11 kB / 0.836 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.6477, allocations: 1.375 kB / 0.836 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.6481, allocations: 198.9 kB / 0.8362 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.6482, allocations: 15.05 kB / 0.8363 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.6482, allocations: 9.609 kB / 0.8363 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.6485, allocations: 129.6 kB / 0.8364 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6485, allocations: 0 / 0.8364 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6485, allocations: 0 / 0.8364 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.6485, allocations: 0 / 0.8364 GB, free: 15.1 MB / 0.5762 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.000447/0.649, allocations: 343.1 kB / 0.8367 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.649, allocations: 8.906 kB / 0.8367 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.6494, allocations: 33.31 kB / 0.8368 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.6495, allocations: 165.9 kB / 0.8369 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.6496, allocations: 30.92 kB / 0.8369 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.6496, allocations: 5.344 kB / 0.8369 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.6498, allocations: 45.31 kB / 0.837 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.6498, allocations: 0 / 0.837 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.6498, allocations: 1.156 kB / 0.837 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.6498, allocations: 10.02 kB / 0.837 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.864e-05/0.6499, allocations: 21.02 kB / 0.837 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.6503, allocations: 255.4 kB / 0.8373 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.215e-05/0.6504, allocations: 31.84 kB / 0.8373 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.6504, allocations: 7.203 kB / 0.8373 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.6506, allocations: 95.38 kB / 0.8374 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.6506, allocations: 35.62 kB / 0.8374 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.6507, allocations: 0 / 0.8374 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002441/0.6509, allocations: 52.09 kB / 0.8375 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.651, allocations: 52.84 kB / 0.8375 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.651, allocations: 107.6 kB / 0.8376 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.6511, allocations: 25.7 kB / 0.8377 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.6511, allocations: 93.3 kB / 0.8377 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.6512, allocations: 5.062 kB / 0.8377 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.6512, allocations: 17.28 kB / 0.8378 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6513, allocations: 312 kB / 0.8381 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.6514, allocations: 9.453 kB / 0.8381 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.6514, allocations: 23.52 kB / 0.8381 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.984e-05/0.6515, allocations: 34.67 kB / 0.8381 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6515, allocations: 1.125 kB / 0.8381 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.091e-05/0.6516, allocations: 53.41 kB / 0.8382 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6516, allocations: 5.281 kB / 0.8382 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6516, allocations: 1.25 kB / 0.8382 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.6516, allocations: 1.188 kB / 0.8382 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.6517, allocations: 9.391 kB / 0.8382 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6517, allocations: 5.188 kB / 0.8382 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.6517, allocations: 9.188 kB / 0.8382 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.6517, allocations: 2.125 kB / 0.8382 GB, free: 13.15 MB / 0.5762 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 8.831e-05/0.6518, allocations: 111.7 kB / 0.8383 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.6519, allocations: 2.406 kB / 0.8383 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.6519, allocations: 5.062 kB / 0.8383 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.6519, allocations: 3.984 kB / 0.8383 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6519, allocations: 3.938 kB / 0.8383 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.6519, allocations: 7.922 kB / 0.8383 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.6522, allocations: 365 kB / 0.8387 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6523, allocations: 2.219 kB / 0.8387 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.6523, allocations: 2.219 kB / 0.8387 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.6523, allocations: 9.031 kB / 0.8387 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.6523, allocations: 5.203 kB / 0.8387 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6523, allocations: 1.344 kB / 0.8387 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6523, allocations: 0 / 0.8387 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.082e-05/0.6524, allocations: 71.94 kB / 0.8388 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.6525, allocations: 78.23 kB / 0.8388 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.6525, allocations: 15.17 kB / 0.8389 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.6526, allocations: 3.469 kB / 0.8389 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.6526, allocations: 3.938 kB / 0.8389 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.6526, allocations: 2.094 kB / 0.8389 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.6527, allocations: 86.73 kB / 0.839 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6527, allocations: 0 / 0.839 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001982/0.6529, allocations: 6.531 kB / 0.839 GB, free: 12.33 MB / 0.5762 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.0001311/0.653, allocations: 105.5 kB / 0.8391 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.003e-05/0.6531, allocations: 10.88 kB / 0.8391 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6531, allocations: 4.188 kB / 0.8391 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.6532, allocations: 7.75 kB / 0.8391 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.6534, allocations: 15.67 kB / 0.8391 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.6537, allocations: 123.8 kB / 0.8392 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.654, allocations: 0.6782 MB / 0.8399 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.163e-05/0.6541, allocations: 8.219 kB / 0.8399 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.6541, allocations: 8.438 kB / 0.8399 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.6541, allocations: 0 / 0.8399 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of Templates: time 0.003063/0.6572, allocations: 0.5883 MB / 0.8405 GB, free: 11.07 MB / 0.5762 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)