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.001365/0.001365, allocations: 102.4 kB / 16.35 MB, free: 6.348 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.001608/0.001608, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.397/1.397, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.772/1.772, allocations: 292.3 MB / 0.5496 GB, free: 17.68 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.001723/0.001723, allocations: 66.88 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2315, allocations: 114.6 MB / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5597/0.7912, allocations: 148.3 MB / 0.9295 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001563/0.7915, allocations: 53.8 kB / 0.9296 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.7915, allocations: 0 / 0.9296 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.7917, allocations: 1.656 kB / 0.9296 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.7918, allocations: 17.22 kB / 0.9296 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.7927, allocations: 198.5 kB / 0.9298 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.7928, allocations: 35.69 kB / 0.9298 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.7929, allocations: 5.438 kB / 0.9298 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.7929, allocations: 8.094 kB / 0.9299 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.793, allocations: 23.09 kB / 0.9299 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.793, allocations: 0 / 0.9299 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.7935, allocations: 193 kB / 0.9301 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.7936, allocations: 6.734 kB / 0.9301 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.7936, allocations: 14.28 kB / 0.9301 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.7939, allocations: 113.7 kB / 0.9302 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7939, allocations: 3.938 kB / 0.9302 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7939, allocations: 2.031 kB / 0.9302 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.7939, allocations: 4 kB / 0.9302 GB, free: 4.93 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.0004342/0.7944, allocations: 341.6 kB / 0.9305 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7944, allocations: 8.5 kB / 0.9305 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.7947, allocations: 26.47 kB / 0.9306 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.7949, allocations: 162.3 kB / 0.9307 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.7949, allocations: 30.83 kB / 0.9307 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.7949, allocations: 1.094 kB / 0.9307 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.7951, allocations: 54.61 kB / 0.9308 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.7951, allocations: 1.406 kB / 0.9308 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.7951, allocations: 0 / 0.9308 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.7952, allocations: 5.391 kB / 0.9308 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.972e-05/0.7952, allocations: 25.95 kB / 0.9308 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.7956, allocations: 251.3 kB / 0.9311 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.7957, allocations: 32.39 kB / 0.9311 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.7957, allocations: 8.734 kB / 0.9311 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.7959, allocations: 89.97 kB / 0.9312 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.7959, allocations: 32.09 kB / 0.9312 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.765e-06/0.7959, allocations: 0 / 0.9312 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002393/0.7962, allocations: 60.19 kB / 0.9313 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.7962, allocations: 51.41 kB / 0.9313 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.7963, allocations: 114.3 kB / 0.9314 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.7963, allocations: 25.7 kB / 0.9315 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.7964, allocations: 89.7 kB / 0.9315 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.7964, allocations: 1.312 kB / 0.9315 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.7964, allocations: 12.81 kB / 0.9316 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7965, allocations: 324.5 kB / 0.9319 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.7965, allocations: 2.719 kB / 0.9319 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.7966, allocations: 19.83 kB / 0.9319 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.7966, allocations: 36.94 kB / 0.9319 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7966, allocations: 5.312 kB / 0.9319 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.607e-05/0.7967, allocations: 61.27 kB / 0.932 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.7968, allocations: 6.281 kB / 0.932 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7968, allocations: 5.141 kB / 0.932 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7968, allocations: 1.281 kB / 0.932 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.7968, allocations: 5.531 kB / 0.932 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.7969, allocations: 5 kB / 0.932 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.7969, allocations: 5.719 kB / 0.932 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.7969, allocations: 1.375 kB / 0.932 GB, free: 2.992 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 8.509e-05/0.797, allocations: 112.7 kB / 0.9321 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.797, allocations: 2.344 kB / 0.9321 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.7971, allocations: 7.125 kB / 0.9321 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.7971, allocations: 1.344 kB / 0.9321 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7971, allocations: 3.984 kB / 0.9321 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7971, allocations: 3.938 kB / 0.9321 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.7974, allocations: 365.2 kB / 0.9325 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7974, allocations: 5.375 kB / 0.9325 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.7974, allocations: 6.859 kB / 0.9325 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.7974, allocations: 5.312 kB / 0.9325 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.7974, allocations: 0 / 0.9325 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7974, allocations: 2.875 kB / 0.9325 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7975, allocations: 0 / 0.9325 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.7975, allocations: 71.81 kB / 0.9326 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.7976, allocations: 83.81 kB / 0.9327 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.7976, allocations: 6.062 kB / 0.9327 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.7977, allocations: 3.75 kB / 0.9327 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.7977, allocations: 0 / 0.9327 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.7977, allocations: 1.594 kB / 0.9327 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.7978, allocations: 87.92 kB / 0.9328 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7978, allocations: 0 / 0.9328 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001961/0.798, allocations: 6.344 kB / 0.9328 GB, free: 2.18 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.0001338/0.7981, allocations: 105.4 kB / 0.9329 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.91e-05/0.7982, allocations: 21.12 kB / 0.9329 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7982, allocations: 0 / 0.9329 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.33e-05/0.7982, allocations: 7.984 kB / 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.0002445/0.7985, allocations: 6.094 kB / 0.9329 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.7988, allocations: 125.7 kB / 0.933 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.799, allocations: 0.6806 MB / 0.9337 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.002e-05/0.7991, allocations: 4 kB / 0.9337 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.7991, allocations: 7.438 kB / 0.9337 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.7991, allocations: 8 kB / 0.9337 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of Templates: time 0.002853/0.802, allocations: 0.5274 MB / 0.9342 GB, free: 0.707 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)