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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001512, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002098/0.002098, allocations: 186.6 kB / 16.25 MB, free: 6.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.371/1.371, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 251.6 MB / 0.5089 GB, free: 3.316 MB / 414.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.001402/0.001402, allocations: 63.91 kB / 0.6217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.5434, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.155/0.6984, allocations: 146.2 MB / 0.8667 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001602/0.6986, allocations: 55.84 kB / 0.8668 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.6986, allocations: 0 / 0.8668 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.6989, allocations: 0 / 0.8668 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.699, allocations: 11.92 kB / 0.8668 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.6998, allocations: 194 kB / 0.867 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.6999, allocations: 35.84 kB / 0.867 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.6999, allocations: 0 / 0.867 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.6999, allocations: 19.92 kB / 0.867 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.7, allocations: 11.98 kB / 0.8671 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.7, allocations: 0 / 0.8671 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.7004, allocations: 203.4 kB / 0.8673 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.7004, allocations: 7.984 kB / 0.8673 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.7005, allocations: 11.94 kB / 0.8673 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.7007, allocations: 129.6 kB / 0.8674 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7007, allocations: 4 kB / 0.8674 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7007, allocations: 0 / 0.8674 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.7007, allocations: 0 / 0.8674 GB, free: 9.633 MB / 0.6856 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.0003972/0.7011, allocations: 347 kB / 0.8677 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.7012, allocations: 8.031 kB / 0.8677 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.7015, allocations: 24.91 kB / 0.8678 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.7016, allocations: 160.4 kB / 0.8679 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/0.7017, allocations: 33.62 kB / 0.8679 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.7017, allocations: 4 kB / 0.868 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.7019, allocations: 49.67 kB / 0.868 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.7019, allocations: 4 kB / 0.868 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.7019, allocations: 0 / 0.868 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.7019, allocations: 4 kB / 0.868 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.14e-05/0.702, allocations: 23.92 kB / 0.868 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.7024, allocations: 264.8 kB / 0.8683 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.7024, allocations: 22.58 kB / 0.8683 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.7025, allocations: 12.92 kB / 0.8683 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.7026, allocations: 89.09 kB / 0.8684 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.7026, allocations: 30.56 kB / 0.8684 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7026, allocations: 0 / 0.8684 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0002422/0.7029, allocations: 53.62 kB / 0.8685 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.7029, allocations: 55.53 kB / 0.8685 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.703, allocations: 113.7 kB / 0.8686 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.703, allocations: 25.7 kB / 0.8687 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.7031, allocations: 88.05 kB / 0.8688 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.7031, allocations: 7.891 kB / 0.8688 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.7031, allocations: 13.72 kB / 0.8688 GB, free: 8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.7032, allocations: 318.8 kB / 0.8691 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.7033, allocations: 3.938 kB / 0.8691 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.7033, allocations: 30.56 kB / 0.8691 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.7033, allocations: 30.52 kB / 0.8691 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7034, allocations: 0 / 0.8691 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.192e-05/0.7034, allocations: 58 kB / 0.8692 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.7035, allocations: 8 kB / 0.8692 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.7035, allocations: 0 / 0.8692 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.7035, allocations: 4 kB / 0.8692 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.7035, allocations: 4 kB / 0.8692 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7035, allocations: 3.938 kB / 0.8692 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.7036, allocations: 7.984 kB / 0.8692 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.7036, allocations: 3.938 kB / 0.8692 GB, free: 7.504 MB / 0.6856 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 6.369e-05/0.7037, allocations: 113.8 kB / 0.8693 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.7037, allocations: 3.906 kB / 0.8693 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.7037, allocations: 11.12 kB / 0.8693 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.7037, allocations: 4 kB / 0.8693 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7037, allocations: 3.938 kB / 0.8694 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.7037, allocations: 0 / 0.8694 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.704, allocations: 363.6 kB / 0.8697 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.704, allocations: 0 / 0.8697 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.704, allocations: 4 kB / 0.8697 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.704, allocations: 8 kB / 0.8697 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.704, allocations: 0 / 0.8697 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.704, allocations: 4 kB / 0.8697 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7041, allocations: 0 / 0.8697 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.524e-05/0.7041, allocations: 65.98 kB / 0.8698 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.7042, allocations: 88.98 kB / 0.8699 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.7042, allocations: 0 / 0.8699 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.7043, allocations: 15.95 kB / 0.8699 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.7043, allocations: 0 / 0.8699 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.7043, allocations: 0 / 0.8699 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.7043, allocations: 83.28 kB / 0.87 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7043, allocations: 0 / 0.87 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001855/0.7045, allocations: 8 kB / 0.87 GB, free: 6.629 MB / 0.6856 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.0001221/0.7047, allocations: 103.2 kB / 0.8701 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.159e-05/0.7047, allocations: 23.92 kB / 0.8701 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7047, allocations: 3.938 kB / 0.8701 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.126e-05/0.7048, allocations: 4 kB / 0.8701 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.705, allocations: 7.938 kB / 0.8701 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.7052, allocations: 131.7 kB / 0.8702 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.7055, allocations: 0.6807 MB / 0.8709 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.418e-05/0.7055, allocations: 3.984 kB / 0.8709 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.7055, allocations: 11.44 kB / 0.8709 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of SimCode: time 2.8e-07/0.7055, allocations: 0 / 0.8709 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of Templates: time 0.002523/0.7081, allocations: 0.531 MB / 0.8714 GB, free: 5.074 MB / 0.6856 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)