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.0008227/0.000823, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006744/0.006744, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.719/1.719, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.42/0.42, allocations: 55.02 MB / 325.8 MB, free: 0.5312 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.0005481/0.0005481, allocations: 12 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4025, allocations: 60.71 MB / 458 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2/0.6026, allocations: 144.1 MB / 0.588 GB, free: 6.785 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.000223/0.6029, allocations: 51.47 kB / 0.588 GB, free: 6.738 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.603, allocations: 4 kB / 0.588 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.6032, allocations: 7.938 kB / 0.588 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.6033, allocations: 3.984 kB / 0.5881 GB, free: 6.723 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.6044, allocations: 191.1 kB / 0.5882 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.6045, allocations: 51.89 kB / 0.5883 GB, free: 6.488 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.479e-05/0.6046, allocations: 7.375 kB / 0.5883 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.6046, allocations: 19.91 kB / 0.5883 GB, free: 6.465 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.6047, allocations: 15.94 kB / 0.5883 GB, free: 6.449 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.6048, allocations: 0 / 0.5883 GB, free: 6.449 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.6053, allocations: 227.3 kB / 0.5885 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.6053, allocations: 11.98 kB / 0.5886 GB, free: 6.215 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.6054, allocations: 37.62 kB / 0.5886 GB, free: 6.172 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.6056, allocations: 121.7 kB / 0.5887 GB, free: 6.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6057, allocations: 0 / 0.5887 GB, free: 6.055 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6057, allocations: 0 / 0.5887 GB, free: 6.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.6057, allocations: 0 / 0.5887 GB, free: 6.055 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.0004474/0.6061, allocations: 335.5 kB / 0.589 GB, free: 5.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.6062, allocations: 11.97 kB / 0.589 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003487/0.6065, allocations: 28.91 kB / 0.5891 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.6067, allocations: 161.6 kB / 0.5892 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.6068, allocations: 37.62 kB / 0.5893 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.6068, allocations: 0 / 0.5893 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.607, allocations: 45.69 kB / 0.5893 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.607, allocations: 4 kB / 0.5893 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.607, allocations: 4.859 kB / 0.5893 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.6071, allocations: 7.938 kB / 0.5893 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.158e-05/0.6071, allocations: 19.98 kB / 0.5893 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.6076, allocations: 257.5 kB / 0.5896 GB, free: 5.016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.419e-05/0.6077, allocations: 18.58 kB / 0.5896 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.6077, allocations: 16.92 kB / 0.5896 GB, free: 4.969 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.6079, allocations: 89.09 kB / 0.5897 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.608, allocations: 38.5 kB / 0.5897 GB, free: 4.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.608, allocations: 0 / 0.5897 GB, free: 4.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003027/0.6083, allocations: 49.59 kB / 0.5898 GB, free: 4.762 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.6083, allocations: 55.53 kB / 0.5898 GB, free: 4.695 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.6084, allocations: 109.8 kB / 0.5899 GB, free: 4.578 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.6085, allocations: 25.7 kB / 0.59 GB, free: 4.547 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.6085, allocations: 87.98 kB / 0.59 GB, free: 4.457 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.6086, allocations: 0 / 0.59 GB, free: 4.457 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.6086, allocations: 17.72 kB / 0.5901 GB, free: 4.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.6088, allocations: 314.8 kB / 0.5904 GB, free: 4.117 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.6088, allocations: 5.219 kB / 0.5904 GB, free: 4.113 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.35e-05/0.6088, allocations: 30.52 kB / 0.5904 GB, free: 4.074 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.97e-05/0.6089, allocations: 30.56 kB / 0.5904 GB, free: 4.035 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6089, allocations: 0 / 0.5904 GB, free: 4.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.057e-05/0.609, allocations: 57.53 kB / 0.5905 GB, free: 3.973 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.609, allocations: 8.094 kB / 0.5905 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.609, allocations: 4 kB / 0.5905 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.609, allocations: 0 / 0.5905 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.6091, allocations: 4.812 kB / 0.5905 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.6091, allocations: 11.88 kB / 0.5905 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.6092, allocations: 0 / 0.5905 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.6092, allocations: 3.938 kB / 0.5905 GB, free: 3.941 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 8.01e-05/0.6093, allocations: 109.8 kB / 0.5906 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.6093, allocations: 4.938 kB / 0.5906 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.6093, allocations: 15.11 kB / 0.5906 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6093, allocations: 0 / 0.5906 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6093, allocations: 4.562 kB / 0.5906 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.6093, allocations: 0 / 0.5906 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.6096, allocations: 355.6 kB / 0.591 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6097, allocations: 0 / 0.591 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.6097, allocations: 8.734 kB / 0.591 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.6097, allocations: 3.938 kB / 0.591 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.6097, allocations: 8.062 kB / 0.591 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6097, allocations: 1.031 kB / 0.591 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6097, allocations: 0 / 0.591 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.117e-05/0.6098, allocations: 69.84 kB / 0.5911 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.6099, allocations: 89.91 kB / 0.5912 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.6099, allocations: 0 / 0.5912 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/0.61, allocations: 8.031 kB / 0.5912 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.61, allocations: 0 / 0.5912 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.61, allocations: 0 / 0.5912 GB, free: 3.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.245e-05/0.61, allocations: 87.55 kB / 0.5912 GB, free: 3.082 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6101, allocations: 0 / 0.5912 GB, free: 3.082 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.6102, allocations: 4 kB / 0.5912 GB, free: 3.078 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.0001404/0.6104, allocations: 104.7 kB / 0.5913 GB, free: 2.969 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.779e-05/0.6105, allocations: 19.94 kB / 0.5914 GB, free: 2.949 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6105, allocations: 0 / 0.5914 GB, free: 2.949 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.6105, allocations: 4 kB / 0.5914 GB, free: 2.945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.6107, allocations: 18.88 kB / 0.5914 GB, free: 2.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.6111, allocations: 141.2 kB / 0.5915 GB, free: 2.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.6114, allocations: 0.677 MB / 0.5922 GB, free: 2.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.6114, allocations: 4 kB / 0.5922 GB, free: 2.066 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.6115, allocations: 11.44 kB / 0.5922 GB, free: 2.059 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6115, allocations: 0 / 0.5922 GB, free: 2.059 MB / 462.1 MB Notification: Performance of Templates: time 0.00292/0.6144, allocations: 0.4968 MB / 0.5927 GB, free: 1.578 MB / 462.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: