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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 105.2 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 198.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2963/0.2963, allocations: 54.95 MB / 331.6 MB, free: 2.828 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "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.002197/0.002197, allocations: 74.69 kB / 464.9 MB, free: 420 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.158, allocations: 59.6 MB / 0.5122 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5233/0.6813, allocations: 148.3 MB / 0.657 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.6815, allocations: 54.34 kB / 0.657 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.6815, allocations: 0 / 0.657 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.6817, allocations: 3.938 kB / 0.657 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.6818, allocations: 14.55 kB / 0.6571 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009481/0.6828, allocations: 207.2 kB / 0.6573 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.851e-05/0.6829, allocations: 23.91 kB / 0.6573 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.6829, allocations: 8 kB / 0.6573 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.683, allocations: 15.94 kB / 0.6573 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.6831, allocations: 15.91 kB / 0.6573 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.6831, allocations: 4 kB / 0.6573 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007045/0.6838, allocations: 187.5 kB / 0.6575 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.6839, allocations: 11.98 kB / 0.6575 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.6839, allocations: 7.984 kB / 0.6575 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.6843, allocations: 115 kB / 0.6576 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6843, allocations: 0 / 0.6576 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6843, allocations: 0 / 0.6576 GB, free: 11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.6843, allocations: 0 / 0.6576 GB, free: 11 MB / 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.0005441/0.6849, allocations: 342.7 kB / 0.658 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.6849, allocations: 8.031 kB / 0.658 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.6854, allocations: 24.91 kB / 0.658 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.6855, allocations: 164.6 kB / 0.6581 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.77e-05/0.6856, allocations: 33.64 kB / 0.6582 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.6856, allocations: 3.984 kB / 0.6582 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.6858, allocations: 53.62 kB / 0.6582 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.6858, allocations: 0 / 0.6582 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.6859, allocations: 0 / 0.6582 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.6859, allocations: 7.984 kB / 0.6582 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.999e-05/0.686, allocations: 19.98 kB / 0.6583 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.6865, allocations: 256.9 kB / 0.6585 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.612e-05/0.6865, allocations: 30.52 kB / 0.6585 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.6866, allocations: 12.86 kB / 0.6585 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.6868, allocations: 89.09 kB / 0.6586 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.6868, allocations: 38.55 kB / 0.6587 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.6868, allocations: 0 / 0.6587 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003168/0.6872, allocations: 53.78 kB / 0.6587 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.6873, allocations: 51.41 kB / 0.6588 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.6874, allocations: 99.48 kB / 0.6589 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.6875, allocations: 25.7 kB / 0.6589 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.6875, allocations: 96.03 kB / 0.659 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.6876, allocations: 7.938 kB / 0.659 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.6876, allocations: 13.72 kB / 0.659 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000273/0.6879, allocations: 314.8 kB / 0.6593 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.562e-05/0.6879, allocations: 11.97 kB / 0.6593 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.437e-05/0.688, allocations: 26.73 kB / 0.6593 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.524e-05/0.6881, allocations: 26.58 kB / 0.6594 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6881, allocations: 0 / 0.6594 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001327/0.6882, allocations: 61.62 kB / 0.6594 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.6882, allocations: 8 kB / 0.6594 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6883, allocations: 0 / 0.6594 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6883, allocations: 0 / 0.6594 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.6884, allocations: 11.94 kB / 0.6594 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6884, allocations: 0 / 0.6594 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.6884, allocations: 3.938 kB / 0.6594 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.6884, allocations: 4 kB / 0.6594 GB, free: 8.883 MB / 0.4981 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 0.0001011/0.6886, allocations: 112.2 kB / 0.6596 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.6886, allocations: 12.05 kB / 0.6596 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.6886, allocations: 7.125 kB / 0.6596 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.6886, allocations: 0 / 0.6596 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6887, allocations: 0.875 kB / 0.6596 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.6887, allocations: 3.938 kB / 0.6596 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.6892, allocations: 363.6 kB / 0.6599 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6892, allocations: 0 / 0.6599 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.6892, allocations: 4.062 kB / 0.6599 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.6893, allocations: 7.938 kB / 0.6599 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.6893, allocations: 1.438 kB / 0.6599 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6893, allocations: 3.938 kB / 0.6599 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6893, allocations: 0 / 0.6599 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.6894, allocations: 73.92 kB / 0.66 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.6895, allocations: 77.11 kB / 0.6601 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.6895, allocations: 7.969 kB / 0.6601 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.6896, allocations: 4 kB / 0.6601 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.6896, allocations: 3.984 kB / 0.6601 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.6897, allocations: 7.938 kB / 0.6601 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.6897, allocations: 79.28 kB / 0.6602 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6897, allocations: 0 / 0.6602 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003144/0.69, allocations: 8 kB / 0.6602 GB, free: 8.012 MB / 0.4981 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.000142/0.6902, allocations: 99.25 kB / 0.6603 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.6903, allocations: 23.92 kB / 0.6603 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6903, allocations: 0 / 0.6603 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.6903, allocations: 4 kB / 0.6603 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.6906, allocations: 7.438 kB / 0.6603 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.691, allocations: 128.2 kB / 0.6604 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.6913, allocations: 0.6768 MB / 0.6611 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.108e-05/0.6914, allocations: 4 kB / 0.6611 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.6914, allocations: 7.438 kB / 0.6611 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.6914, allocations: 0 / 0.6611 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.00374/0.6952, allocations: 0.5433 MB / 0.6616 GB, free: 6.477 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6611004285514355]