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.001308/0.001308, allocations: 115.1 kB / 16.37 MB, free: 5.996 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.001268/0.001269, allocations: 188 kB / 17.3 MB, free: 5.617 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.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.896/1.896, allocations: 292.3 MB / 0.5496 GB, free: 17.75 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.00151/0.001511, allocations: 60.12 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2589, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.629/0.888, allocations: 148.3 MB / 0.9296 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.8882, allocations: 61.66 kB / 0.9296 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.8883, allocations: 0 / 0.9296 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.8884, allocations: 0.5625 kB / 0.9296 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.8885, allocations: 14.67 kB / 0.9296 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008425/0.8894, allocations: 202.2 kB / 0.9298 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.459e-05/0.8895, allocations: 36.34 kB / 0.9299 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.8895, allocations: 5.375 kB / 0.9299 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.8896, allocations: 8.25 kB / 0.9299 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.8897, allocations: 18.12 kB / 0.9299 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.8897, allocations: 1.375 kB / 0.9299 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.8901, allocations: 192.5 kB / 0.9301 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.8902, allocations: 16.09 kB / 0.9301 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.8902, allocations: 4.125 kB / 0.9301 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.8905, allocations: 115.3 kB / 0.9302 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8905, allocations: 0 / 0.9302 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8905, allocations: 1.594 kB / 0.9302 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8905, allocations: 4 kB / 0.9302 GB, free: 4.977 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.0004513/0.891, allocations: 346.7 kB / 0.9305 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.891, allocations: 9.188 kB / 0.9306 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.8913, allocations: 23.23 kB / 0.9306 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.8915, allocations: 164.6 kB / 0.9307 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/0.8915, allocations: 32.17 kB / 0.9308 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.8916, allocations: 1.281 kB / 0.9308 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.8917, allocations: 53.17 kB / 0.9308 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.8917, allocations: 1.188 kB / 0.9308 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.8918, allocations: 0 / 0.9308 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.8918, allocations: 6.594 kB / 0.9308 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.837e-05/0.8919, allocations: 24.86 kB / 0.9308 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.8922, allocations: 252.3 kB / 0.9311 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/0.8923, allocations: 31.73 kB / 0.9311 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.8923, allocations: 7.391 kB / 0.9311 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.8925, allocations: 94.89 kB / 0.9312 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.8925, allocations: 37.84 kB / 0.9313 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8925, allocations: 0 / 0.9313 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002612/0.8928, allocations: 59.53 kB / 0.9313 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.8929, allocations: 52.91 kB / 0.9314 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.8929, allocations: 106.5 kB / 0.9315 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.893, allocations: 27.08 kB / 0.9315 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.893, allocations: 89.39 kB / 0.9316 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.893, allocations: 1.188 kB / 0.9316 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.8931, allocations: 16.84 kB / 0.9316 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8932, allocations: 316 kB / 0.9319 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.8932, allocations: 7.172 kB / 0.9319 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.8933, allocations: 22.92 kB / 0.9319 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/0.8933, allocations: 32.48 kB / 0.9319 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8933, allocations: 0 / 0.9319 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.023e-05/0.8934, allocations: 60.81 kB / 0.932 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8934, allocations: 6.375 kB / 0.932 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.8934, allocations: 1.375 kB / 0.932 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.8935, allocations: 1.812 kB / 0.932 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.8935, allocations: 8.422 kB / 0.932 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.8935, allocations: 4.969 kB / 0.932 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.8936, allocations: 6.281 kB / 0.932 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.8936, allocations: 2.562 kB / 0.932 GB, free: 3.035 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 9.171e-05/0.8937, allocations: 112.8 kB / 0.9321 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.8937, allocations: 1.312 kB / 0.9321 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.8938, allocations: 8.562 kB / 0.9322 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8938, allocations: 0 / 0.9322 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8938, allocations: 0 / 0.9322 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.8938, allocations: 9.266 kB / 0.9322 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.8941, allocations: 360.6 kB / 0.9325 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8941, allocations: 8 kB / 0.9325 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.8941, allocations: 4.219 kB / 0.9325 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.8941, allocations: 5.75 kB / 0.9325 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.8941, allocations: 3.984 kB / 0.9325 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8942, allocations: 3.562 kB / 0.9325 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8942, allocations: 1.75 kB / 0.9325 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.88e-05/0.8942, allocations: 75.03 kB / 0.9326 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.8943, allocations: 77.11 kB / 0.9327 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.8943, allocations: 7.922 kB / 0.9327 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.8944, allocations: 4 kB / 0.9327 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.8944, allocations: 0 / 0.9327 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.8944, allocations: 8 kB / 0.9327 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.8945, allocations: 83.27 kB / 0.9328 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8945, allocations: 0 / 0.9328 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001913/0.8947, allocations: 4 kB / 0.9328 GB, free: 2.203 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.0001375/0.8948, allocations: 111.2 kB / 0.9329 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.754e-05/0.8949, allocations: 15.94 kB / 0.9329 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8949, allocations: 4 kB / 0.9329 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.275e-06/0.895, allocations: 0 / 0.9329 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.8952, allocations: 9.672 kB / 0.9329 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.8955, allocations: 151.5 kB / 0.9331 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.8958, allocations: 0.6768 MB / 0.9337 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.8958, allocations: 11.44 kB / 0.9337 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.8958, allocations: 0 / 0.9337 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of Templates: time 0.001938/0.8978, allocations: 0.597 MB / 0.9343 GB, free: 0.582 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 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)