Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004998/0.004998, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001184/0.001184, allocations: 192 kB / 16.67 MB, free: 5.969 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.354/1.354, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 54.7 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.08918, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03391/0.1231, allocations: 26.59 MB / 399.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.1264, allocations: 2.227 MB / 402 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1265, allocations: 4 kB / 402 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.127, allocations: 63.64 kB / 402 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.1274, allocations: 159.1 kB / 402.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01625/0.1437, allocations: 6.173 MB / 408.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.1442, allocations: 318.8 kB / 408.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.1443, allocations: 13.12 kB / 408.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.1445, allocations: 131.6 kB / 408.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1447, allocations: 119.6 kB / 408.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.1448, allocations: 15.94 kB / 409 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0162/0.161, allocations: 9.405 MB / 418.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.1612, allocations: 59.86 kB / 418.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.1614, allocations: 95.64 kB / 418.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.173, allocations: 4.689 MB / 423.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1731, allocations: 0 / 423.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1731, allocations: 0 / 423.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.1731, allocations: 4 kB / 423.2 MB, free: 15.11 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003779/0.1769, allocations: 1.134 MB / 424.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.177, allocations: 16.03 kB / 424.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.1772, allocations: 32.48 kB / 424.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.1775, allocations: 214.8 kB / 424.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1775, allocations: 16.33 kB / 424.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.1776, allocations: 12 kB / 424.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007453/0.1783, allocations: 281.4 kB / 424.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1783, allocations: 4 kB / 424.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.1784, allocations: 12 kB / 424.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.1784, allocations: 7.984 kB / 424.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008013/0.1792, allocations: 315.6 kB / 425.2 MB, free: 12.97 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.1808, allocations: 0.8361 MB / 426.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.1816, allocations: 249.1 kB / 426.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.1819, allocations: 129.6 kB / 426.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01619/0.1981, allocations: 12.85 MB / 439.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.1982, allocations: 42.48 kB / 439.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.875e-06/0.1982, allocations: 0 / 439.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003006/0.2013, allocations: 0.6881 MB / 440 MB, free: 11.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.2013, allocations: 81.11 kB / 440.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.2015, allocations: 121.8 kB / 440.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.2015, allocations: 33.64 kB / 440.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.2016, allocations: 112.9 kB / 440.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2017, allocations: 138.8 kB / 440.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.2018, allocations: 65.69 kB / 440.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.202, allocations: 338.8 kB / 440.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.2023, allocations: 131.9 kB / 441 MB, free: 10.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.2029, allocations: 203.6 kB / 441.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009635/0.2038, allocations: 363.4 kB / 441.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2038, allocations: 4 kB / 441.6 MB, free: 9.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00119/0.205, allocations: 413.3 kB / 442 MB, free: 9.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.2051, allocations: 9.25 kB / 442 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2051, allocations: 8 kB / 442 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2051, allocations: 4 kB / 442 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.2056, allocations: 87.88 kB / 442.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.2056, allocations: 11.88 kB / 442.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.2059, allocations: 27.92 kB / 442.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.206, allocations: 16 kB / 442.1 MB, free: 9.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0001531/0.2062, allocations: 145.8 kB / 442.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.2063, allocations: 19.91 kB / 442.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/0.2068, allocations: 178.4 kB / 442.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.2068, allocations: 11.94 kB / 442.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2068, allocations: 0 / 442.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.2068, allocations: 7.922 kB / 442.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.2087, allocations: 0.7637 MB / 443.3 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.2087, allocations: 4 kB / 443.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.2091, allocations: 79.89 kB / 443.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2091, allocations: 4.156 kB / 443.3 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.2092, allocations: 15.98 kB / 443.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.2092, allocations: 4 kB / 443.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2092, allocations: 3.938 kB / 443.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.2108, allocations: 0.7104 MB / 444.1 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.2109, allocations: 124.9 kB / 444.2 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.211, allocations: 8 kB / 444.2 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.2113, allocations: 27.89 kB / 444.2 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.2114, allocations: 31.84 kB / 444.3 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.2114, allocations: 19.98 kB / 444.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.694e-05/0.2115, allocations: 99.33 kB / 444.4 MB, free: 6.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2115, allocations: 3.938 kB / 444.4 MB, free: 6.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002847/0.2144, allocations: 0.9355 MB / 445.3 MB, free: 5.996 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (37): * Single equations (assignments): 37 * 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.00401/0.2184, allocations: 1.264 MB / 446.6 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.2195, allocations: 351.9 kB / 446.9 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2195, allocations: 0 / 446.9 MB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005125/0.2201, allocations: 171.8 kB / 447.1 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.2209, allocations: 96.08 kB / 447.2 MB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.2223, allocations: 0.5928 MB / 447.8 MB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.2226, allocations: 0.7371 MB / 448.5 MB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.223, allocations: 85.83 kB / 448.6 MB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.2231, allocations: 35.42 kB / 448.6 MB, free: 2.598 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2231, allocations: 0 / 448.6 MB, free: 2.598 MB / 382.1 MB Notification: Performance of Templates: time 0.2164/0.4395, allocations: 30.9 MB / 479.5 MB, free: 56.09 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)