Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.295/1.295, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009575/0.0009577, allocations: 175.7 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007515/0.0007516, allocations: 87.97 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002802, allocations: 13.53 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1284/0.28, allocations: 145.7 MB / 1.039 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.000121/0.2802, allocations: 47.88 kB / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.2802, allocations: 0 / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 9.955e-05/0.2804, allocations: 0 / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.255e-05/0.2804, allocations: 15.91 kB / 1.039 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.2811, allocations: 191.4 kB / 1.039 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.2812, allocations: 51.83 kB / 1.039 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.2812, allocations: 8 kB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.2813, allocations: 8 kB / 1.039 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.2813, allocations: 15.91 kB / 1.039 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2814, allocations: 4 kB / 1.039 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.2818, allocations: 231.3 kB / 1.04 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.2818, allocations: 4 kB / 1.04 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.2819, allocations: 15.92 kB / 1.04 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.2821, allocations: 123.9 kB / 1.04 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2821, allocations: 4 kB / 1.04 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2821, allocations: 0 / 1.04 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2821, allocations: 0 / 1.04 GB, free: 1.238 MB / 0.6823 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.0003746/0.2825, allocations: 335.4 kB / 1.04 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2825, allocations: 8.031 kB / 1.04 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.2829, allocations: 28.91 kB / 1.04 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.283, allocations: 164.4 kB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.2831, allocations: 37.64 kB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.2831, allocations: 0 / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.2832, allocations: 49.67 kB / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2832, allocations: 0 / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2832, allocations: 0 / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.2833, allocations: 4 kB / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.2833, allocations: 23.92 kB / 1.04 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.2837, allocations: 264.8 kB / 1.041 GB, free: 200 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.2837, allocations: 18.58 kB / 1.041 GB, free: 172 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.2837, allocations: 12.92 kB / 1.041 GB, free: 156 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.2839, allocations: 93.03 kB / 1.041 GB, free: 44 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2839, allocations: 34.56 kB / 1.041 GB, free: 0 / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.35e-05/0.2839, allocations: 48 / 1.041 GB, free: 16 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002197/0.2842, allocations: 53.62 kB / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.2842, allocations: 51.41 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.2843, allocations: 113.7 kB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.2843, allocations: 25.7 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.2843, allocations: 84.05 kB / 1.041 GB, free: 15.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.2844, allocations: 15.84 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.2844, allocations: 9.719 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2845, allocations: 323 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.2845, allocations: 8 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.2845, allocations: 18.58 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.2846, allocations: 34.5 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2846, allocations: 8 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.591e-05/0.2847, allocations: 49.64 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2847, allocations: 7.984 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2847, allocations: 3.938 kB / 1.042 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2847, allocations: 0 / 1.042 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.147e-05/0.2848, allocations: 8 kB / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2848, allocations: 0 / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.2848, allocations: 3.938 kB / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2848, allocations: 4 kB / 1.042 GB, free: 15.12 MB / 0.698 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.128e-05/0.2849, allocations: 117.9 kB / 1.042 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.2849, allocations: 8 kB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.285, allocations: 7.109 kB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.285, allocations: 0 / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.285, allocations: 0 / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.285, allocations: 88.95 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.285, allocations: 4 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.2851, allocations: 4 kB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.2852, allocations: 0 / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.457e-05/0.2852, allocations: 117 kB / 1.042 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001125/0.2854, allocations: 218.7 kB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.716e-05/0.2854, allocations: 4 kB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.754e-05/0.2854, allocations: 75.28 kB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of Backend: time 2.81e-07/0.2854, allocations: 4 kB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.2858, allocations: 134.3 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004066/0.2863, allocations: 0.5679 MB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of Templates: time 0.002859/0.2891, allocations: 0.9432 MB / 1.044 GB, free: 12.74 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)