Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001062/0.001062, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3969/0.3969, allocations: 54.99 MB / 325.4 MB, free: 0.7344 MB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005224, allocations: 15.98 kB / 396.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3083, allocations: 60.71 MB / 457.3 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1427/0.451, allocations: 125.2 MB / 0.5689 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002121/0.4512, allocations: 127.7 kB / 0.569 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.4513, allocations: 0 / 0.569 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.4514, allocations: 3.984 kB / 0.569 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.726e-05/0.4514, allocations: 7.984 kB / 0.569 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/0.452, allocations: 142.4 kB / 0.5692 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.926e-05/0.4521, allocations: 23.95 kB / 0.5692 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.4521, allocations: 0 / 0.5692 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.4521, allocations: 11.94 kB / 0.5692 GB, free: 9.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.4522, allocations: 7.984 kB / 0.5692 GB, free: 9.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.4522, allocations: 0 / 0.5692 GB, free: 9.758 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.4525, allocations: 107.7 kB / 0.5693 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.4526, allocations: 11.98 kB / 0.5693 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.4526, allocations: 29.7 kB / 0.5693 GB, free: 9.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.4527, allocations: 45.92 kB / 0.5694 GB, free: 9.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.4528, allocations: 0 / 0.5694 GB, free: 9.562 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4528, allocations: 0 / 0.5694 GB, free: 9.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.4528, allocations: 0 / 0.5694 GB, free: 9.562 MB / 446.1 MB 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.0003481/0.4531, allocations: 332.4 kB / 0.5697 GB, free: 9.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.4532, allocations: 12.02 kB / 0.5697 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.4535, allocations: 23.97 kB / 0.5697 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.4536, allocations: 177.8 kB / 0.5699 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.4537, allocations: 29.7 kB / 0.5699 GB, free: 8.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.4537, allocations: 0 / 0.5699 GB, free: 8.918 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.4538, allocations: 53.61 kB / 0.57 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4539, allocations: 0 / 0.57 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.4539, allocations: 2.281 kB / 0.57 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.4539, allocations: 5.312 kB / 0.57 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.454, allocations: 19.98 kB / 0.57 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.4543, allocations: 256 kB / 0.5703 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.927e-05/0.4544, allocations: 30.47 kB / 0.5703 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.4544, allocations: 3.984 kB / 0.5703 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.4544, allocations: 34.56 kB / 0.5703 GB, free: 8.453 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 2.325e-06/0.4544, allocations: 0 / 0.5703 GB, free: 8.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002327/0.4547, allocations: 62.22 kB / 0.5704 GB, free: 8.387 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.4547, allocations: 55.41 kB / 0.5704 GB, free: 8.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.4548, allocations: 97.84 kB / 0.5705 GB, free: 8.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.4548, allocations: 25.7 kB / 0.5705 GB, free: 8.184 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.4549, allocations: 88.08 kB / 0.5706 GB, free: 8.094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.4549, allocations: 7.906 kB / 0.5706 GB, free: 8.086 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.4549, allocations: 0 / 0.5706 GB, free: 8.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.455, allocations: 311.6 kB / 0.5709 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.455, allocations: 19.92 kB / 0.571 GB, free: 7.754 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.4551, allocations: 17.72 kB / 0.571 GB, free: 7.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.4551, allocations: 12.27 kB / 0.571 GB, free: 7.719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4551, allocations: 0 / 0.571 GB, free: 7.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.329e-05/0.4552, allocations: 66.66 kB / 0.571 GB, free: 7.648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4552, allocations: 8 kB / 0.5711 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4552, allocations: 1.312 kB / 0.5711 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.4552, allocations: 0 / 0.5711 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.4553, allocations: 8.031 kB / 0.5711 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4553, allocations: 4.703 kB / 0.5711 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.4554, allocations: 0 / 0.5711 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.4554, allocations: 0 / 0.5711 GB, free: 7.629 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.641e-05/0.4554, allocations: 113.8 kB / 0.5712 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.4555, allocations: 7.938 kB / 0.5712 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.4555, allocations: 3.125 kB / 0.5712 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4555, allocations: 0 / 0.5712 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4555, allocations: 4 kB / 0.5712 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4555, allocations: 4.938 kB / 0.5712 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.4558, allocations: 367.5 kB / 0.5715 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4558, allocations: 0 / 0.5715 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.4559, allocations: 4.656 kB / 0.5715 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4559, allocations: 0 / 0.5715 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.4559, allocations: 0 / 0.5715 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4559, allocations: 0.8125 kB / 0.5716 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4559, allocations: 8.062 kB / 0.5716 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.856e-05/0.456, allocations: 95.5 kB / 0.5716 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.4561, allocations: 77.11 kB / 0.5717 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.4561, allocations: 4.828 kB / 0.5717 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.4562, allocations: 7.938 kB / 0.5717 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.4562, allocations: 5.469 kB / 0.5717 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.4562, allocations: 0 / 0.5717 GB, free: 6.824 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.4563, allocations: 79.28 kB / 0.5718 GB, free: 6.746 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4563, allocations: 0 / 0.5718 GB, free: 6.746 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.4565, allocations: 12 kB / 0.5718 GB, free: 6.734 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.652e-05/0.4566, allocations: 99.23 kB / 0.5719 GB, free: 6.629 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.932e-05/0.4567, allocations: 19.94 kB / 0.5719 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4567, allocations: 0.8438 kB / 0.5719 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.4567, allocations: 11.98 kB / 0.572 GB, free: 6.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.4569, allocations: 12.89 kB / 0.572 GB, free: 6.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.4571, allocations: 128.6 kB / 0.5721 GB, free: 6.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.4573, allocations: 0.6811 MB / 0.5728 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.4574, allocations: 7.984 kB / 0.5728 GB, free: 5.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.4574, allocations: 11.44 kB / 0.5728 GB, free: 5.723 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4574, allocations: 0.6562 kB / 0.5728 GB, free: 5.723 MB / 446.1 MB Notification: Performance of Templates: time 0.002324/0.4598, allocations: 0.5023 MB / 0.5733 GB, free: 5.234 MB / 446.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: