Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.008276/0.008276, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001824/0.001824, allocations: 195.5 kB / 16.68 MB, free: 5.93 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.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001446/0.001446, allocations: 54.3 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09594, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03395/0.1299, allocations: 26.59 MB / 399.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.1329, allocations: 2.228 MB / 402 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.133, allocations: 4 kB / 402 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.1334, allocations: 63.64 kB / 402 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.1339, allocations: 159.1 kB / 402.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01664/0.1505, allocations: 6.165 MB / 408.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.151, allocations: 314.8 kB / 408.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.1511, allocations: 25.09 kB / 408.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.1515, allocations: 131.5 kB / 408.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.1517, allocations: 119.5 kB / 408.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.1518, allocations: 12 kB / 409 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01758/0.1694, allocations: 9.401 MB / 418.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.1696, allocations: 67.78 kB / 418.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.1698, allocations: 95.64 kB / 418.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.1838, allocations: 4.675 MB / 423.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1839, allocations: 0 / 423.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.1839, allocations: 3.984 kB / 423.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.1839, allocations: 8 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.004252/0.1882, allocations: 1.108 MB / 424.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1882, allocations: 12.03 kB / 424.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.1884, allocations: 28.48 kB / 424.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.1887, allocations: 206.8 kB / 424.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1888, allocations: 16.31 kB / 424.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.1888, allocations: 19.91 kB / 424.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.1897, allocations: 289.4 kB / 424.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1897, allocations: 0 / 424.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.1897, allocations: 12 kB / 424.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.1898, allocations: 4 kB / 424.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.1907, allocations: 323.5 kB / 425.2 MB, free: 13.01 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.001692/0.1924, allocations: 0.8282 MB / 426 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/0.1932, allocations: 245.2 kB / 426.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.1936, allocations: 129.6 kB / 426.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01656/0.2101, allocations: 12.85 MB / 439.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.2102, allocations: 42.5 kB / 439.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.394e-06/0.2102, allocations: 0 / 439.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002931/0.2132, allocations: 0.6844 MB / 440 MB, free: 11.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.2132, allocations: 85.05 kB / 440 MB, free: 11.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2133, allocations: 125.8 kB / 440.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.2134, allocations: 29.7 kB / 440.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.2135, allocations: 108.8 kB / 440.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.2136, allocations: 130.1 kB / 440.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2137, allocations: 69.67 kB / 440.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2138, allocations: 334.8 kB / 440.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.2142, allocations: 131.9 kB / 441 MB, free: 10.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.2147, allocations: 207.6 kB / 441.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/0.2157, allocations: 359.4 kB / 441.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2157, allocations: 4 kB / 441.5 MB, free: 9.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001179/0.2169, allocations: 417.4 kB / 441.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2169, allocations: 9.125 kB / 441.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2169, allocations: 4 kB / 441.9 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2169, allocations: 7.984 kB / 441.9 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.2174, allocations: 91.86 kB / 442 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2175, allocations: 11.88 kB / 442 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.2178, allocations: 27.86 kB / 442.1 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.2178, allocations: 19.98 kB / 442.1 MB, free: 9.371 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.0001416/0.218, allocations: 141.8 kB / 442.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.2181, allocations: 23.8 kB / 442.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.2186, allocations: 186.2 kB / 442.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.2186, allocations: 11.92 kB / 442.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2186, allocations: 4 kB / 442.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2187, allocations: 0 / 442.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.2203, allocations: 0.7559 MB / 443.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2203, allocations: 0 / 443.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.2208, allocations: 84.03 kB / 443.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2208, allocations: 4 kB / 443.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.2208, allocations: 12 kB / 443.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.2208, allocations: 7.984 kB / 443.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2209, allocations: 3.938 kB / 443.3 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.2224, allocations: 0.7025 MB / 444 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.2225, allocations: 124.9 kB / 444.1 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.2226, allocations: 4 kB / 444.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.2229, allocations: 19.98 kB / 444.2 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.223, allocations: 35.78 kB / 444.2 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.223, allocations: 23.98 kB / 444.2 MB, free: 7.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.217e-05/0.2231, allocations: 99.27 kB / 444.3 MB, free: 7.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2231, allocations: 0 / 444.3 MB, free: 7.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002582/0.2257, allocations: 0.9253 MB / 445.2 MB, free: 6.078 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.00454/0.2302, allocations: 1.262 MB / 446.5 MB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.2313, allocations: 348 kB / 446.8 MB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2313, allocations: 0 / 446.8 MB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.2318, allocations: 175.7 kB / 447 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.2326, allocations: 96.09 kB / 447.1 MB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.2342, allocations: 0.5972 MB / 447.7 MB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.2345, allocations: 0.7332 MB / 448.4 MB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004005/0.235, allocations: 93.81 kB / 448.5 MB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.2351, allocations: 35.36 kB / 448.6 MB, free: 2.676 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2351, allocations: 4 kB / 448.6 MB, free: 2.672 MB / 382.1 MB Notification: Performance of Templates: time 0.2066/0.4418, allocations: 30.89 MB / 479.5 MB, free: 56.21 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)