Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.001548/0.001548, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.503/1.503, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.742/1.742, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.00138/0.001381, allocations: 67.91 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2287, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5629/0.7916, allocations: 147.8 MB / 0.9284 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001319/0.7918, allocations: 49.5 kB / 0.9284 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.7919, allocations: 5.656 kB / 0.9284 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.792, allocations: 4 kB / 0.9284 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.897e-05/0.7921, allocations: 10.02 kB / 0.9285 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.7925, allocations: 102.1 kB / 0.9286 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.738e-05/0.7926, allocations: 29.11 kB / 0.9286 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.7927, allocations: 1.219 kB / 0.9286 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.7927, allocations: 20.53 kB / 0.9286 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.7928, allocations: 9.969 kB / 0.9286 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.7928, allocations: 4 kB / 0.9286 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.7931, allocations: 84.97 kB / 0.9287 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.7931, allocations: 6.734 kB / 0.9287 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.7932, allocations: 13.44 kB / 0.9287 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.7933, allocations: 67.88 kB / 0.9288 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.7933, allocations: 1.375 kB / 0.9288 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7934, allocations: 3.938 kB / 0.9288 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.7934, allocations: 0 / 0.9288 GB, free: 5.715 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.0004148/0.7938, allocations: 336.2 kB / 0.9291 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.7938, allocations: 14.28 kB / 0.9291 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.7941, allocations: 18.73 kB / 0.9291 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7942, allocations: 165.9 kB / 0.9293 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.7943, allocations: 31.02 kB / 0.9293 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.7943, allocations: 5.812 kB / 0.9293 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.7944, allocations: 44.69 kB / 0.9294 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.7944, allocations: 0 / 0.9294 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.7945, allocations: 9.922 kB / 0.9294 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.7945, allocations: 1.375 kB / 0.9294 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/0.7945, allocations: 18.98 kB / 0.9294 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.7949, allocations: 255.2 kB / 0.9296 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.67e-05/0.795, allocations: 21.27 kB / 0.9297 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.795, allocations: 16.89 kB / 0.9297 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.795, allocations: 3.344 kB / 0.9297 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.795, allocations: 31.94 kB / 0.9297 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.7951, allocations: 0 / 0.9297 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001239/0.7952, allocations: 35.11 kB / 0.9298 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.7952, allocations: 51.41 kB / 0.9298 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.7953, allocations: 114 kB / 0.9299 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.7953, allocations: 25.7 kB / 0.9299 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.7954, allocations: 98.86 kB / 0.93 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.7954, allocations: 3.906 kB / 0.93 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.7954, allocations: 13.84 kB / 0.93 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7956, allocations: 320.2 kB / 0.9303 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.7956, allocations: 2.75 kB / 0.9304 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.7956, allocations: 22.7 kB / 0.9304 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/0.7957, allocations: 34.75 kB / 0.9304 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7957, allocations: 1.375 kB / 0.9304 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.049e-05/0.7958, allocations: 56.75 kB / 0.9305 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.7958, allocations: 10.22 kB / 0.9305 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.7958, allocations: 1.375 kB / 0.9305 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7958, allocations: 1.375 kB / 0.9305 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.7959, allocations: 9.594 kB / 0.9305 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.7959, allocations: 5.312 kB / 0.9305 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/0.7959, allocations: 2.031 kB / 0.9305 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.7959, allocations: 1.375 kB / 0.9305 GB, free: 3.887 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.663e-05/0.796, allocations: 108.6 kB / 0.9306 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.796, allocations: 1.375 kB / 0.9306 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.7961, allocations: 12.48 kB / 0.9306 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.7961, allocations: 0 / 0.9306 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.7961, allocations: 3.938 kB / 0.9306 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7961, allocations: 10.3 kB / 0.9306 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.7964, allocations: 350.9 kB / 0.931 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7964, allocations: 0 / 0.931 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.7964, allocations: 3 kB / 0.931 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.7964, allocations: 3.938 kB / 0.931 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.7964, allocations: 1.375 kB / 0.931 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.7964, allocations: 0 / 0.931 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7964, allocations: 3.984 kB / 0.931 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.977e-05/0.7965, allocations: 60.05 kB / 0.931 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.7965, allocations: 79.98 kB / 0.9311 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.7966, allocations: 9.25 kB / 0.9311 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.7966, allocations: 5.359 kB / 0.9311 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.7967, allocations: 1.375 kB / 0.9311 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.7967, allocations: 0 / 0.9311 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.7967, allocations: 82.78 kB / 0.9312 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7967, allocations: 4.031 kB / 0.9312 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000202/0.7969, allocations: 9.5 kB / 0.9312 GB, free: 3.094 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 8.982e-05/0.797, allocations: 101.1 kB / 0.9313 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.297e-05/0.7971, allocations: 9.625 kB / 0.9313 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7971, allocations: 0 / 0.9313 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.7971, allocations: 6.688 kB / 0.9313 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.7974, allocations: 8.719 kB / 0.9313 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.7976, allocations: 139 kB / 0.9315 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.7979, allocations: 0.6769 MB / 0.9321 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.7979, allocations: 13.5 kB / 0.9321 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7979, allocations: 0 / 0.9321 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of Templates: time 0.00176/0.7997, allocations: 0.547 MB / 0.9327 GB, free: 1.883 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)