Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001164, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.002502/0.002502, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.539/1.539, allocations: 205.4 MB / 223.4 MB, free: 5.781 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.0005035/0.0005036, allocations: 14.66 kB / 280.1 MB, free: 13.08 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004999/0.2444, allocations: 4.397 MB / 332.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.2466, allocations: 1.209 MB / 333.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.2469, allocations: 12.03 kB / 333.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.2472, allocations: 116.7 kB / 333.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005824/0.2478, allocations: 282.8 kB / 333.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.2482, allocations: 163.9 kB / 333.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.2493, allocations: 1.034 MB / 334.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.2497, allocations: 273.8 kB / 335.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004956/0.2502, allocations: 394.3 kB / 335.6 MB, free: 11.44 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.2508, allocations: 459 kB / 336 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.2509, allocations: 65.91 kB / 336.1 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.2511, allocations: 72.91 kB / 336.2 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.2512, allocations: 183.3 kB / 336.3 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.2514, allocations: 201.3 kB / 336.5 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007245/0.2521, allocations: 0.8764 MB / 337.4 MB, free: 9.805 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.642e-05/0.2522, allocations: 3.938 kB / 337.4 MB, free: 9.801 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2522, allocations: 0 / 337.4 MB, free: 9.801 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.2522, allocations: 0 / 337.4 MB, free: 9.801 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001953/0.2541, allocations: 1.212 MB / 338.6 MB, free: 8.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2542, allocations: 8.031 kB / 338.6 MB, free: 8.512 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.2544, allocations: 106.9 kB / 338.7 MB, free: 8.406 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.2552, allocations: 0.5668 MB / 339.3 MB, free: 7.801 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.2555, allocations: 170.4 kB / 339.5 MB, free: 7.613 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-05/0.2556, allocations: 59.98 kB / 339.5 MB, free: 7.555 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.257, allocations: 0.8822 MB / 340.4 MB, free: 6.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2571, allocations: 0 / 340.4 MB, free: 6.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.2571, allocations: 28 kB / 340.4 MB, free: 6.543 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2572, allocations: 12 kB / 340.5 MB, free: 6.531 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.2586, allocations: 0.6532 MB / 341.1 MB, free: 5.875 MB / 270.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.003085/0.2617, allocations: 2.077 MB / 343.2 MB, free: 3.695 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.263, allocations: 0.8858 MB / 344.1 MB, free: 2.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.2638, allocations: 430.5 kB / 344.5 MB, free: 2.328 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/0.2639, allocations: 16.58 kB / 344.5 MB, free: 2.312 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.2639, allocations: 55.16 kB / 344.6 MB, free: 2.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.474e-06/0.2639, allocations: 4 kB / 344.6 MB, free: 2.246 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.004901/0.2689, allocations: 1.984 MB / 346.6 MB, free: 172 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003581/0.2692, allocations: 0.8195 MB / 347.4 MB, free: 15.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007762/0.27, allocations: 0.6293 MB / 348 MB, free: 14.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/0.2701, allocations: 45.7 kB / 348 MB, free: 14.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.2704, allocations: 333 kB / 348.4 MB, free: 14.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.2707, allocations: 260.2 kB / 348.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.2707, allocations: 12 kB / 348.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.2709, allocations: 386.8 kB / 349 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/0.2717, allocations: 305.8 kB / 349.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/0.2727, allocations: 0.5781 MB / 349.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008183/0.2735, allocations: 423.9 kB / 350.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.2735, allocations: 3.953 kB / 350.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002713/0.2762, allocations: 1.192 MB / 351.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.686e-05/0.2763, allocations: 93.05 kB / 351.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2763, allocations: 0 / 351.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007138/0.2771, allocations: 251.2 kB / 351.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.2777, allocations: 147.8 kB / 352 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007701/0.2854, allocations: 6.488 MB / 358.5 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009648/0.2864, allocations: 123.4 kB / 358.6 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.2865, allocations: 28 kB / 358.6 MB, free: 3.148 MB / 286.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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004213/0.2869, allocations: 217.7 kB / 358.8 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.2871, allocations: 90.97 kB / 358.9 MB, free: 2.836 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.2873, allocations: 91.33 kB / 359 MB, free: 2.742 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.2874, allocations: 8 kB / 359 MB, free: 2.734 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.2874, allocations: 0 / 359 MB, free: 2.734 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002514/0.2899, allocations: 1.338 MB / 360.4 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.294, allocations: 2.023 MB / 362.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.294, allocations: 4.125 kB / 362.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/0.2948, allocations: 159.8 kB / 362.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005519/0.2953, allocations: 214.5 kB / 362.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.2954, allocations: 12 kB / 362.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006121/0.3015, allocations: 5.063 MB / 367.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3015, allocations: 8.125 kB / 367.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.3051, allocations: 1.515 MB / 369.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/0.3056, allocations: 243.9 kB / 369.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.3058, allocations: 16 kB / 369.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/0.3065, allocations: 67.95 kB / 369.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.3067, allocations: 64.55 kB / 369.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.3068, allocations: 20 kB / 369.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006548/0.3074, allocations: 451 kB / 370.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3074, allocations: 0 / 370.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001136/0.3086, allocations: 279.7 kB / 370.5 MB, free: 6.656 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002136/0.3088, allocations: 135.1 kB / 370.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.3114, allocations: 1.399 MB / 372 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.3114, allocations: 4.125 kB / 372 MB, free: 5.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.3129, allocations: 0.812 MB / 372.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.314, allocations: 230.7 kB / 373 MB, free: 3.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.3172, allocations: 1.9 MB / 374.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.3178, allocations: 0.944 MB / 375.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004836/0.3183, allocations: 98.44 kB / 376 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.3185, allocations: 71.42 kB / 376 MB, free: 0.875 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3185, allocations: 0 / 376 MB, free: 0.875 MB / 302.1 MB Notification: Performance of Templates: time 0.02974/0.3482, allocations: 16.24 MB / 392.3 MB, free: 0.6094 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)