Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00103/0.00103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001102/0.001103, allocations: 193.9 kB / 16.13 MB, free: 6.652 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.497/1.497, allocations: 205.1 MB / 222 MB, free: 5 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.496/1.496, allocations: 251.6 MB / 0.5088 GB, free: 3.305 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.0014/0.0014, allocations: 63.91 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.556, allocations: 104.7 MB / 0.7238 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1543/0.7103, allocations: 145.6 MB / 0.866 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001412/0.7105, allocations: 63.84 kB / 0.866 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.7106, allocations: 3.938 kB / 0.866 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.7107, allocations: 0 / 0.866 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.7108, allocations: 11.92 kB / 0.8661 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.7112, allocations: 79.75 kB / 0.8661 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.7113, allocations: 63.8 kB / 0.8662 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.7113, allocations: 4 kB / 0.8662 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.7114, allocations: 8 kB / 0.8662 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.7115, allocations: 19.91 kB / 0.8662 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.7115, allocations: 11.94 kB / 0.8662 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.7117, allocations: 83.72 kB / 0.8663 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.7118, allocations: 7.984 kB / 0.8663 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.7118, allocations: 8 kB / 0.8663 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.712, allocations: 61.83 kB / 0.8664 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.712, allocations: 0 / 0.8664 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 7.81e-07/0.712, allocations: 0 / 0.8664 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.712, allocations: 0 / 0.8664 GB, free: 12.82 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.0004301/0.7125, allocations: 351.5 kB / 0.8667 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.7125, allocations: 12.03 kB / 0.8667 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.7127, allocations: 16.92 kB / 0.8667 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.7129, allocations: 160.4 kB / 0.8669 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.7129, allocations: 33.64 kB / 0.8669 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.713, allocations: 0 / 0.8669 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.7131, allocations: 49.67 kB / 0.867 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.7131, allocations: 0 / 0.867 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.7131, allocations: 7.984 kB / 0.867 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.7132, allocations: 0 / 0.867 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.665e-05/0.7132, allocations: 23.92 kB / 0.867 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.7136, allocations: 268.8 kB / 0.8673 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 3.915e-05/0.7137, allocations: 18.58 kB / 0.8673 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.7137, allocations: 12.86 kB / 0.8673 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.7137, allocations: 0 / 0.8673 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.7137, allocations: 30.56 kB / 0.8673 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.7138, allocations: 0 / 0.8673 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.7139, allocations: 41.69 kB / 0.8674 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.7139, allocations: 55.34 kB / 0.8674 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.714, allocations: 105.8 kB / 0.8675 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.714, allocations: 25.7 kB / 0.8675 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.7141, allocations: 100 kB / 0.8676 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/0.7141, allocations: 4 kB / 0.8676 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.7142, allocations: 9.719 kB / 0.8677 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7143, allocations: 318.8 kB / 0.868 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.7143, allocations: 7.984 kB / 0.868 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.7143, allocations: 18.58 kB / 0.868 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.7144, allocations: 38.52 kB / 0.868 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7144, allocations: 0 / 0.868 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.968e-05/0.7145, allocations: 53.62 kB / 0.8681 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7145, allocations: 5.875 kB / 0.8681 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.7145, allocations: 0 / 0.8681 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.7145, allocations: 4 kB / 0.8681 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.7146, allocations: 16.08 kB / 0.8681 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.7146, allocations: 7.875 kB / 0.8681 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.7147, allocations: 7.906 kB / 0.8681 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.7147, allocations: 0 / 0.8681 GB, free: 10.8 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 7.326e-05/0.7147, allocations: 113.8 kB / 0.8682 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.7148, allocations: 0 / 0.8682 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.7148, allocations: 7.125 kB / 0.8682 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.7148, allocations: 0 / 0.8682 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.7148, allocations: 3.938 kB / 0.8682 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.7148, allocations: 4 kB / 0.8682 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.7151, allocations: 346.8 kB / 0.8686 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7151, allocations: 3.938 kB / 0.8686 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-05/0.7151, allocations: 0 / 0.8686 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.7151, allocations: 3.938 kB / 0.8686 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.7151, allocations: 4 kB / 0.8686 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.7151, allocations: 0 / 0.8686 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7151, allocations: 0 / 0.8686 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.321e-05/0.7152, allocations: 65.09 kB / 0.8686 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.7153, allocations: 89.2 kB / 0.8687 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.7153, allocations: 0 / 0.8687 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.7154, allocations: 8 kB / 0.8687 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.7154, allocations: 3.984 kB / 0.8687 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-06/0.7154, allocations: 0 / 0.8687 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.7154, allocations: 79.28 kB / 0.8688 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.7154, allocations: 32 / 0.8688 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001859/0.7156, allocations: 16 kB / 0.8688 GB, free: 9.965 MB / 0.6856 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 0.000102/0.7157, allocations: 95.25 kB / 0.8689 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 6.61e-05/0.7158, allocations: 15.92 kB / 0.8689 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.7158, allocations: 4 kB / 0.8689 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.489e-06/0.7158, allocations: 0 / 0.8689 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.7161, allocations: 10.95 kB / 0.8689 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.7164, allocations: 116.6 kB / 0.8691 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.7166, allocations: 0.6809 MB / 0.8697 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.057e-05/0.7166, allocations: 8.078 kB / 0.8697 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.7167, allocations: 7.438 kB / 0.8697 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of SimCode: time 3.31e-07/0.7167, allocations: 4 kB / 0.8697 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of Templates: time 0.002083/0.7188, allocations: 452 kB / 0.8702 GB, free: 8.562 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)