Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 98.8 kB / 16.29 MB, free: 6.012 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.001093/0.001093, allocations: 180.1 kB / 17.22 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.87/1.87, allocations: 292.3 MB / 0.5495 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2868, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7174/1.004, allocations: 148.3 MB / 0.9289 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001568/1.004, allocations: 53.92 kB / 0.9289 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/1.005, allocations: 4 kB / 0.9289 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/1.005, allocations: 1.375 kB / 0.9289 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/1.005, allocations: 14.66 kB / 0.9289 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008597/1.006, allocations: 200.5 kB / 0.9291 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/1.006, allocations: 31.91 kB / 0.9291 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/1.006, allocations: 5.234 kB / 0.9291 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/1.006, allocations: 11.83 kB / 0.9292 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/1.006, allocations: 14.05 kB / 0.9292 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/1.006, allocations: 0.9688 kB / 0.9292 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/1.006, allocations: 198.7 kB / 0.9294 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/1.007, allocations: 10.64 kB / 0.9294 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/1.007, allocations: 9.219 kB / 0.9294 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002876/1.007, allocations: 110.9 kB / 0.9295 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/1.007, allocations: 0 / 0.9295 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/1.007, allocations: 4.594 kB / 0.9295 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.007, allocations: 0 / 0.9295 GB, free: 5.199 MB / 0.7169 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.0004712/1.007, allocations: 343.4 kB / 0.9298 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.007, allocations: 8.719 kB / 0.9298 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/1.008, allocations: 30.78 kB / 0.9299 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/1.008, allocations: 165.8 kB / 0.93 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.962e-05/1.008, allocations: 30.77 kB / 0.93 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/1.008, allocations: 6.578 kB / 0.9301 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/1.008, allocations: 45.84 kB / 0.9301 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.008, allocations: 4 kB / 0.9301 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.008, allocations: 1.125 kB / 0.9301 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/1.008, allocations: 6.359 kB / 0.9301 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.533e-05/1.008, allocations: 24.52 kB / 0.9301 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/1.009, allocations: 255.8 kB / 0.9304 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.76e-05/1.009, allocations: 27.62 kB / 0.9304 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/1.009, allocations: 16.36 kB / 0.9304 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/1.009, allocations: 90.5 kB / 0.9305 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.009, allocations: 32.03 kB / 0.9305 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/1.009, allocations: 0 / 0.9305 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000255/1.009, allocations: 55.84 kB / 0.9306 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/1.009, allocations: 55.53 kB / 0.9306 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/1.01, allocations: 108.9 kB / 0.9307 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/1.01, allocations: 27.67 kB / 0.9308 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/1.01, allocations: 89.41 kB / 0.9309 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-06/1.01, allocations: 5.406 kB / 0.9309 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/1.01, allocations: 12.53 kB / 0.9309 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.01, allocations: 316.2 kB / 0.9312 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/1.01, allocations: 6.734 kB / 0.9312 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.592e-05/1.01, allocations: 24.23 kB / 0.9312 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/1.01, allocations: 30.77 kB / 0.9312 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.01, allocations: 0 / 0.9312 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.416e-05/1.01, allocations: 58 kB / 0.9313 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.01, allocations: 10.69 kB / 0.9313 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.01, allocations: 0 / 0.9313 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.01, allocations: 1.312 kB / 0.9313 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/1.01, allocations: 10.52 kB / 0.9313 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/1.01, allocations: 1.156 kB / 0.9313 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/1.01, allocations: 9.5 kB / 0.9313 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/1.01, allocations: 1.25 kB / 0.9313 GB, free: 3.25 MB / 0.7169 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.789e-05/1.01, allocations: 112.6 kB / 0.9314 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/1.01, allocations: 1.25 kB / 0.9314 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/1.01, allocations: 12.38 kB / 0.9314 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/1.01, allocations: 0 / 0.9314 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.01, allocations: 1.5 kB / 0.9314 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.01, allocations: 5.812 kB / 0.9314 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/1.011, allocations: 361.6 kB / 0.9318 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.011, allocations: 0 / 0.9318 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/1.011, allocations: 2.906 kB / 0.9318 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.011, allocations: 4.969 kB / 0.9318 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/1.011, allocations: 10.56 kB / 0.9318 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.011, allocations: 5.406 kB / 0.9318 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.011, allocations: 5.203 kB / 0.9318 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.398e-05/1.011, allocations: 64.19 kB / 0.9319 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/1.011, allocations: 79.08 kB / 0.932 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/1.011, allocations: 3.938 kB / 0.932 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/1.011, allocations: 10.92 kB / 0.932 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/1.011, allocations: 9.328 kB / 0.932 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/1.011, allocations: 1.281 kB / 0.932 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.078e-05/1.011, allocations: 82.91 kB / 0.9321 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.011, allocations: 1.125 kB / 0.9321 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001911/1.011, allocations: 6.656 kB / 0.9321 GB, free: 2.434 MB / 0.7169 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.0001476/1.011, allocations: 108.7 kB / 0.9322 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.227e-05/1.012, allocations: 18.94 kB / 0.9322 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.012, allocations: 0 / 0.9322 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/1.012, allocations: 4 kB / 0.9322 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/1.012, allocations: 6.734 kB / 0.9322 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/1.012, allocations: 121.2 kB / 0.9323 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.013, allocations: 0.673 MB / 0.933 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.757e-05/1.013, allocations: 12.05 kB / 0.933 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/1.013, allocations: 8.812 kB / 0.933 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/1.013, allocations: 1.688 kB / 0.933 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.003105/1.016, allocations: 0.5245 MB / 0.9335 GB, free: 1.141 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)