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.004967/0.004967, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001123/0.001123, allocations: 187.1 kB / 16.67 MB, free: 5.957 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.364/1.364, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.00124/0.00124, allocations: 50.58 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08568/0.08693, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02964/0.1166, allocations: 26.58 MB / 399.7 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.1193, allocations: 2.235 MB / 402 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.1194, allocations: 4 kB / 402 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.1197, allocations: 63.64 kB / 402 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.1201, allocations: 151.1 kB / 402.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01564/0.1358, allocations: 6.15 MB / 408.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004321/0.1362, allocations: 318.8 kB / 408.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.1363, allocations: 9.125 kB / 408.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.1365, allocations: 135.5 kB / 408.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.1367, allocations: 123.5 kB / 408.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.1367, allocations: 12 kB / 408.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01589/0.1526, allocations: 9.393 MB / 418.3 MB, free: 4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1528, allocations: 67.8 kB / 418.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.153, allocations: 91.64 kB / 418.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.1641, allocations: 4.683 MB / 423.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1642, allocations: 0 / 423.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1642, allocations: 0 / 423.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1642, allocations: 3.938 kB / 423.2 MB, free: 15.15 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.003097/0.1673, allocations: 1.108 MB / 424.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.1674, allocations: 12.03 kB / 424.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.1675, allocations: 28.48 kB / 424.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1678, allocations: 214.8 kB / 424.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.1679, allocations: 16.33 kB / 424.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.1679, allocations: 19.91 kB / 424.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007157/0.1686, allocations: 285.4 kB / 424.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1687, allocations: 4 kB / 424.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.1687, allocations: 8 kB / 424.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1687, allocations: 8 kB / 424.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.1695, allocations: 319.6 kB / 425.2 MB, free: 13.04 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.00137/0.1709, allocations: 0.8242 MB / 426 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.1716, allocations: 249.1 kB / 426.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.1719, allocations: 133.6 kB / 426.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/0.1874, allocations: 12.85 MB / 439.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.1875, allocations: 34.5 kB / 439.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.425e-06/0.1875, allocations: 4 kB / 439.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002919/0.1904, allocations: 0.6843 MB / 439.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1905, allocations: 89.05 kB / 440 MB, free: 11.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1906, allocations: 125.8 kB / 440.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.1907, allocations: 33.7 kB / 440.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.1907, allocations: 108.8 kB / 440.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.1909, allocations: 126.1 kB / 440.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.191, allocations: 69.67 kB / 440.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1912, allocations: 330.8 kB / 440.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.1915, allocations: 135.9 kB / 440.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.192, allocations: 207.6 kB / 441.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009176/0.193, allocations: 363.4 kB / 441.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.193, allocations: 0 / 441.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001166/0.1942, allocations: 413.2 kB / 441.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1942, allocations: 8 kB / 441.9 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1942, allocations: 3.984 kB / 441.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1942, allocations: 4.219 kB / 441.9 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.1947, allocations: 95.88 kB / 442 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1947, allocations: 11.88 kB / 442 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.195, allocations: 27.86 kB / 442 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.1951, allocations: 19.98 kB / 442.1 MB, free: 9.398 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.0001391/0.1952, allocations: 141.8 kB / 442.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.1954, allocations: 15.81 kB / 442.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.1959, allocations: 194.2 kB / 442.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1959, allocations: 7.938 kB / 442.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1959, allocations: 4 kB / 442.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1959, allocations: 4 kB / 442.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.1976, allocations: 0.7636 MB / 443.2 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1976, allocations: 0 / 443.2 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.198, allocations: 79.88 kB / 443.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1981, allocations: 4 kB / 443.3 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.1981, allocations: 15.98 kB / 443.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1981, allocations: 4.156 kB / 443.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.1981, allocations: 11.94 kB / 443.3 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.1997, allocations: 0.6986 MB / 444 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.1999, allocations: 120.9 kB / 444.1 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.1999, allocations: 8 kB / 444.1 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.2003, allocations: 19.98 kB / 444.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.2003, allocations: 39.72 kB / 444.2 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.2004, allocations: 19.98 kB / 444.2 MB, free: 7.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.962e-05/0.2005, allocations: 95.27 kB / 444.3 MB, free: 7.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2005, allocations: 0 / 444.3 MB, free: 7.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003071/0.2035, allocations: 0.9292 MB / 445.2 MB, free: 6.098 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.00425/0.2078, allocations: 1.254 MB / 446.5 MB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.2088, allocations: 343.6 kB / 446.8 MB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2089, allocations: 448 / 446.8 MB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004551/0.2093, allocations: 179.7 kB / 447 MB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.21, allocations: 104 kB / 447.1 MB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2114, allocations: 0.5895 MB / 447.7 MB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2117, allocations: 0.7332 MB / 448.4 MB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003248/0.212, allocations: 93.75 kB / 448.5 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.2122, allocations: 43.41 kB / 448.5 MB, free: 2.695 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2122, allocations: 0 / 448.5 MB, free: 2.695 MB / 382.1 MB Notification: Performance of Templates: time 0.2273/0.4395, allocations: 30.95 MB / 479.5 MB, free: 56.14 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)