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.008416/0.008416, allocations: 98.06 kB / 15.73 MB, free: 6.004 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.002135/0.002135, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4402/0.4402, allocations: 54.95 MB / 324.9 MB, free: 4 kB / 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.0015/0.0015, allocations: 69.5 kB / 456.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1589, allocations: 59.58 MB / 0.5038 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6296/0.7886, allocations: 148.3 MB / 0.6485 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002099/0.7888, allocations: 47.75 kB / 0.6486 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.7889, allocations: 5 kB / 0.6486 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.7891, allocations: 2.344 kB / 0.6486 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.7893, allocations: 12.7 kB / 0.6486 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.7904, allocations: 200 kB / 0.6488 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.7905, allocations: 31.06 kB / 0.6488 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.193e-05/0.7906, allocations: 3.078 kB / 0.6488 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.434e-05/0.7907, allocations: 17.59 kB / 0.6489 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.7908, allocations: 16.62 kB / 0.6489 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.7908, allocations: 0.75 kB / 0.6489 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.7914, allocations: 197.3 kB / 0.6491 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.42e-05/0.7915, allocations: 9.609 kB / 0.6491 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.7915, allocations: 11.2 kB / 0.6491 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.7919, allocations: 110.2 kB / 0.6492 GB, free: 428 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.7919, allocations: 1.562 kB / 0.6492 GB, free: 428 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7919, allocations: 0 / 0.6492 GB, free: 428 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7919, allocations: 0 / 0.6492 GB, free: 428 kB / 0.4981 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.0005999/0.7925, allocations: 344.5 kB / 0.6495 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.7926, allocations: 9.25 kB / 0.6495 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003856/0.793, allocations: 24.58 kB / 0.6495 GB, free: 16.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.7932, allocations: 163.9 kB / 0.6497 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-05/0.7933, allocations: 31.77 kB / 0.6497 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.7933, allocations: 2.219 kB / 0.6497 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.7935, allocations: 52.08 kB / 0.6498 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.7935, allocations: 1.203 kB / 0.6498 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.7935, allocations: 4.781 kB / 0.6498 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.7936, allocations: 2.625 kB / 0.6498 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.957e-05/0.7936, allocations: 20.56 kB / 0.6498 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.7941, allocations: 260 kB / 0.6501 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.838e-05/0.7942, allocations: 29.25 kB / 0.6501 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.7943, allocations: 11.23 kB / 0.6501 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.7945, allocations: 93.5 kB / 0.6502 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.7945, allocations: 31.34 kB / 0.6502 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.7945, allocations: 0 / 0.6502 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003121/0.7948, allocations: 53.34 kB / 0.6503 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.7949, allocations: 51.53 kB / 0.6503 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.795, allocations: 108.3 kB / 0.6504 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.795, allocations: 26.39 kB / 0.6504 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.7951, allocations: 91.44 kB / 0.6505 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.7951, allocations: 8.828 kB / 0.6505 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.7952, allocations: 13.25 kB / 0.6506 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7954, allocations: 316.8 kB / 0.6509 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.7954, allocations: 3.219 kB / 0.6509 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/0.7954, allocations: 27.61 kB / 0.6509 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.489e-05/0.7955, allocations: 36.31 kB / 0.6509 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7955, allocations: 0.9375 kB / 0.6509 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001061/0.7956, allocations: 51.91 kB / 0.651 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7957, allocations: 5.156 kB / 0.651 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7957, allocations: 5.938 kB / 0.651 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7957, allocations: 1.062 kB / 0.651 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.7958, allocations: 12.59 kB / 0.651 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.7958, allocations: 3.281 kB / 0.651 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.7958, allocations: 5.469 kB / 0.651 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.7959, allocations: 1.5 kB / 0.651 GB, free: 14.61 MB / 0.5137 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 9.499e-05/0.796, allocations: 109.8 kB / 0.6511 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.796, allocations: 5.703 kB / 0.6511 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.796, allocations: 13.78 kB / 0.6511 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.796, allocations: 4.672 kB / 0.6511 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.796, allocations: 0 / 0.6511 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.7961, allocations: 4.906 kB / 0.6511 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.7964, allocations: 357.2 kB / 0.6515 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7964, allocations: 0 / 0.6515 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.7965, allocations: 3.312 kB / 0.6515 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.7965, allocations: 9.031 kB / 0.6515 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.7965, allocations: 6.188 kB / 0.6515 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.7965, allocations: 3.188 kB / 0.6515 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7965, allocations: 0.9688 kB / 0.6515 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.7966, allocations: 71.44 kB / 0.6516 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.7967, allocations: 78.66 kB / 0.6516 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.7967, allocations: 6.406 kB / 0.6516 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.137e-05/0.7968, allocations: 6.094 kB / 0.6517 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.7968, allocations: 5.109 kB / 0.6517 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.7968, allocations: 1.969 kB / 0.6517 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.7969, allocations: 82.69 kB / 0.6517 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7969, allocations: 1.094 kB / 0.6517 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002164/0.7971, allocations: 6.562 kB / 0.6517 GB, free: 13.84 MB / 0.5137 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.0001644/0.7973, allocations: 105.8 kB / 0.6518 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.538e-05/0.7974, allocations: 17.45 kB / 0.6519 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7974, allocations: 0.9688 kB / 0.6519 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.7974, allocations: 4.453 kB / 0.6519 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.7977, allocations: 9.156 kB / 0.6519 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.798, allocations: 124.3 kB / 0.652 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.7984, allocations: 0.675 MB / 0.6527 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.608e-05/0.7985, allocations: 5.234 kB / 0.6527 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.7985, allocations: 14.61 kB / 0.6527 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.7985, allocations: 0 / 0.6527 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.003307/0.8018, allocations: 0.526 MB / 0.6532 GB, free: 12.87 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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)