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.001103/0.001103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001158/0.001158, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.462/1.462, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4009/0.4009, allocations: 54.93 MB / 324.4 MB, free: 28 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.001409/0.00141, allocations: 67.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1383, allocations: 59.6 MB / 454.5 MB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4548/0.5932, allocations: 146.2 MB / 0.5865 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001577/0.5934, allocations: 55.48 kB / 0.5866 GB, free: 5.664 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.5934, allocations: 0 / 0.5866 GB, free: 5.664 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.5936, allocations: 0 / 0.5866 GB, free: 5.664 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 9.377e-05/0.5937, allocations: 15.91 kB / 0.5866 GB, free: 5.648 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000832/0.5946, allocations: 185.3 kB / 0.5868 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.5947, allocations: 27.84 kB / 0.5868 GB, free: 5.445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.5947, allocations: 4 kB / 0.5868 GB, free: 5.441 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.5948, allocations: 24.48 kB / 0.5868 GB, free: 5.418 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.5948, allocations: 11.98 kB / 0.5869 GB, free: 5.406 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.5949, allocations: 0 / 0.5869 GB, free: 5.406 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.5953, allocations: 203.4 kB / 0.5871 GB, free: 5.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.5953, allocations: 11.98 kB / 0.5871 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.5953, allocations: 7.938 kB / 0.5871 GB, free: 5.188 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.5956, allocations: 118.6 kB / 0.5872 GB, free: 5.074 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5956, allocations: 0 / 0.5872 GB, free: 5.074 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5956, allocations: 0 / 0.5872 GB, free: 5.074 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.5956, allocations: 4 kB / 0.5872 GB, free: 5.07 MB / 462.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.0006229/0.5962, allocations: 343.5 kB / 0.5875 GB, free: 4.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.5963, allocations: 8.031 kB / 0.5875 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.5966, allocations: 32.83 kB / 0.5876 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.5967, allocations: 160.4 kB / 0.5877 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.5968, allocations: 38.94 kB / 0.5877 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.5968, allocations: 0 / 0.5877 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.597, allocations: 49.69 kB / 0.5878 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.597, allocations: 0 / 0.5878 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.597, allocations: 0 / 0.5878 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.597, allocations: 4 kB / 0.5878 GB, free: 4.352 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.685e-05/0.5971, allocations: 19.98 kB / 0.5878 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.5975, allocations: 264 kB / 0.5881 GB, free: 4.027 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.5976, allocations: 22.58 kB / 0.5881 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.5976, allocations: 12.92 kB / 0.5881 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.5979, allocations: 93.09 kB / 0.5882 GB, free: 3.871 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.5979, allocations: 34.56 kB / 0.5882 GB, free: 3.828 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5979, allocations: 0 / 0.5882 GB, free: 3.828 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002388/0.5982, allocations: 49.62 kB / 0.5883 GB, free: 3.773 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.5982, allocations: 58.81 kB / 0.5883 GB, free: 3.707 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.5983, allocations: 101.8 kB / 0.5884 GB, free: 3.598 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.5983, allocations: 29.7 kB / 0.5885 GB, free: 3.562 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.5984, allocations: 93.86 kB / 0.5885 GB, free: 3.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.5984, allocations: 0 / 0.5885 GB, free: 3.469 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.5985, allocations: 21.61 kB / 0.5886 GB, free: 3.441 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5986, allocations: 314.8 kB / 0.5889 GB, free: 3.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.5986, allocations: 4 kB / 0.5889 GB, free: 3.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.5987, allocations: 26.56 kB / 0.5889 GB, free: 3.086 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.5987, allocations: 34.52 kB / 0.5889 GB, free: 3.043 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5987, allocations: 0 / 0.5889 GB, free: 3.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.115e-05/0.5988, allocations: 57.69 kB / 0.589 GB, free: 2.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5988, allocations: 8.031 kB / 0.589 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5988, allocations: 0 / 0.589 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5989, allocations: 0 / 0.589 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.5989, allocations: 8.281 kB / 0.589 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5989, allocations: 3.938 kB / 0.589 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.599, allocations: 7.938 kB / 0.589 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.599, allocations: 0 / 0.589 GB, free: 2.953 MB / 462.1 MB 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.388e-05/0.5991, allocations: 113.8 kB / 0.5891 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.5991, allocations: 0 / 0.5891 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.5991, allocations: 19.86 kB / 0.5891 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5991, allocations: 0 / 0.5891 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.5991, allocations: 3.938 kB / 0.5891 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5991, allocations: 0 / 0.5891 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.5995, allocations: 359.6 kB / 0.5895 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5995, allocations: 0 / 0.5895 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.5995, allocations: 8.562 kB / 0.5895 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5995, allocations: 8 kB / 0.5895 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.5995, allocations: 0 / 0.5895 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5995, allocations: 0 / 0.5895 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5995, allocations: 1 kB / 0.5895 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.676e-05/0.5996, allocations: 73.89 kB / 0.5896 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.5997, allocations: 81.05 kB / 0.5896 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.5997, allocations: 4 kB / 0.5896 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.5998, allocations: 4.594 kB / 0.5897 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.5998, allocations: 0 / 0.5897 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.5998, allocations: 4 kB / 0.5897 GB, free: 2.176 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.187e-05/0.5999, allocations: 87.2 kB / 0.5897 GB, free: 2.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5999, allocations: 0 / 0.5897 GB, free: 2.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.6001, allocations: 8 kB / 0.5897 GB, free: 2.082 MB / 462.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 (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.0001168/0.6002, allocations: 100.9 kB / 0.5898 GB, free: 1.977 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.6003, allocations: 19.98 kB / 0.5899 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6003, allocations: 0 / 0.5899 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.6003, allocations: 7.938 kB / 0.5899 GB, free: 1.949 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.6005, allocations: 4.625 kB / 0.5899 GB, free: 1.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.6008, allocations: 134.3 kB / 0.59 GB, free: 1.797 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.6015, allocations: 0.6768 MB / 0.5907 GB, free: 1.094 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.967e-05/0.6015, allocations: 4.656 kB / 0.5907 GB, free: 1.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.6016, allocations: 7.438 kB / 0.5907 GB, free: 1.086 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.6016, allocations: 0 / 0.5907 GB, free: 1.086 MB / 462.1 MB Notification: Performance of Templates: time 0.003067/0.6046, allocations: 0.5289 MB / 0.5912 GB, free: 0.5781 MB / 462.1 MB 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)