Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0009517/0.0009517, allocations: 92 kB / 15.06 MB, free: 1.098 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.001201/0.001201, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.0005217/0.0005218, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2883, allocations: 47.58 MB / 326.5 MB, free: 1.602 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005055/0.2935, allocations: 4.394 MB / 330.9 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.2962, allocations: 1.225 MB / 332.1 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004163/0.2967, allocations: 11.66 kB / 332.1 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.297, allocations: 109 kB / 332.2 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006772/0.2977, allocations: 282.6 kB / 332.5 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.2982, allocations: 167.3 kB / 332.6 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.2993, allocations: 1.043 MB / 333.7 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.2998, allocations: 268.2 kB / 334 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005372/0.3004, allocations: 392 kB / 334.3 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006332/0.301, allocations: 460.1 kB / 334.8 MB, free: 11.28 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.3011, allocations: 64 kB / 334.8 MB, free: 11.22 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.3013, allocations: 68 kB / 334.9 MB, free: 11.15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.3015, allocations: 175.3 kB / 335.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.3017, allocations: 209.3 kB / 335.3 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.3025, allocations: 0.8803 MB / 336.2 MB, free: 9.887 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.3025, allocations: 0 / 336.2 MB, free: 9.887 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3026, allocations: 3.938 kB / 336.2 MB, free: 9.883 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3026, allocations: 0 / 336.2 MB, free: 9.883 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.00216/0.3047, allocations: 1.208 MB / 337.4 MB, free: 8.605 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3048, allocations: 12.03 kB / 337.4 MB, free: 8.594 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.305, allocations: 110.9 kB / 337.5 MB, free: 8.484 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/0.3059, allocations: 0.5591 MB / 338.1 MB, free: 7.887 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.3062, allocations: 174.4 kB / 338.2 MB, free: 7.695 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/0.3063, allocations: 56 kB / 338.3 MB, free: 7.641 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.3079, allocations: 0.8783 MB / 339.2 MB, free: 6.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3079, allocations: 0 / 339.2 MB, free: 6.66 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-05/0.308, allocations: 32 kB / 339.2 MB, free: 6.629 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.3081, allocations: 15.94 kB / 339.2 MB, free: 6.613 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.3096, allocations: 0.657 MB / 339.9 MB, free: 5.953 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.003493/0.3131, allocations: 2.081 MB / 341.9 MB, free: 3.77 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3146, allocations: 0.8896 MB / 342.8 MB, free: 2.82 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008428/0.3154, allocations: 418.5 kB / 343.2 MB, free: 2.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.015e-05/0.3155, allocations: 16.62 kB / 343.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.3156, allocations: 51.22 kB / 343.3 MB, free: 2.336 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.484e-06/0.3156, allocations: 0 / 343.3 MB, free: 2.336 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.005062/0.3207, allocations: 1.984 MB / 345.3 MB, free: 264 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003627/0.321, allocations: 0.8195 MB / 346.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008392/0.3219, allocations: 0.6293 MB / 346.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/0.322, allocations: 45.7 kB / 346.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.3223, allocations: 329 kB / 347.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.3226, allocations: 260.2 kB / 347.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3226, allocations: 20 kB / 347.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.3229, allocations: 386.7 kB / 347.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006962/0.3236, allocations: 305.8 kB / 348.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009326/0.3245, allocations: 0.578 MB / 348.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.3254, allocations: 424 kB / 349.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.3254, allocations: 3.953 kB / 349.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00265/0.328, allocations: 1.192 MB / 350.2 MB, free: 10.92 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/0.3281, allocations: 93 kB / 350.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3281, allocations: 3.984 kB / 350.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/0.3288, allocations: 251.2 kB / 350.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.3294, allocations: 147.8 kB / 350.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007033/0.3365, allocations: 6.48 MB / 357.2 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3375, allocations: 123.4 kB / 357.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.3376, allocations: 20.42 kB / 357.4 MB, free: 3.246 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.0003843/0.338, allocations: 229.6 kB / 357.6 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.3381, allocations: 90.95 kB / 357.7 MB, free: 2.922 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.3383, allocations: 99.33 kB / 357.8 MB, free: 2.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3383, allocations: 4 kB / 357.8 MB, free: 2.816 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3384, allocations: 4 kB / 357.8 MB, free: 2.812 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002381/0.3407, allocations: 1.335 MB / 359.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.3444, allocations: 2.027 MB / 361.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.3444, allocations: 0 / 361.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/0.3451, allocations: 155.8 kB / 361.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/0.3456, allocations: 214.4 kB / 361.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.3457, allocations: 12 kB / 361.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/0.3514, allocations: 5.055 MB / 366.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3514, allocations: 0 / 366.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.3548, allocations: 1.523 MB / 368.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.3552, allocations: 239.9 kB / 368.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.3553, allocations: 27.92 kB / 368.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.3559, allocations: 59.95 kB / 368.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.3561, allocations: 68.56 kB / 368.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.3562, allocations: 19.98 kB / 368.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005719/0.3567, allocations: 451 kB / 368.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3567, allocations: 3.938 kB / 368.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009462/0.3577, allocations: 279.7 kB / 369.2 MB, free: 6.742 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.0001874/0.3579, allocations: 127.1 kB / 369.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.3602, allocations: 1.406 MB / 370.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3602, allocations: 0 / 370.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.3616, allocations: 0.8121 MB / 371.5 MB, free: 4.266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3626, allocations: 230.9 kB / 371.8 MB, free: 4.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.3655, allocations: 1.904 MB / 373.7 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.366, allocations: 0.9401 MB / 374.6 MB, free: 1.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000426/0.3664, allocations: 106.4 kB / 374.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.3666, allocations: 59.44 kB / 374.8 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3666, allocations: 0 / 374.8 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of Templates: time 0.03228/0.3989, allocations: 16.25 MB / 391 MB, free: 0.6953 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)