Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001266/0.001266, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.482/1.482, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.001374/0.001374, allocations: 51.94 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2733, allocations: 46.63 MB / 325.3 MB, free: 1.973 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005814/0.2791, allocations: 5.033 MB / 330.3 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.2817, allocations: 1.331 MB / 331.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.2821, allocations: 7.969 kB / 331.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004638/0.2826, allocations: 164.2 kB / 331.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005974/0.2832, allocations: 322.8 kB / 332.2 MB, free: 12.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.2836, allocations: 231.6 kB / 332.4 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.2849, allocations: 1.173 MB / 333.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005206/0.2855, allocations: 315.8 kB / 333.9 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.286, allocations: 459.2 kB / 334.3 MB, free: 10.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.2865, allocations: 0.498 MB / 334.8 MB, free: 10.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.2867, allocations: 107.9 kB / 334.9 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.2869, allocations: 108 kB / 335 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.2871, allocations: 223.2 kB / 335.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004723/0.2876, allocations: 0.5172 MB / 335.8 MB, free: 9.527 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.2886, allocations: 1.187 MB / 336.9 MB, free: 8.336 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2886, allocations: 0 / 336.9 MB, free: 8.336 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2886, allocations: 0 / 336.9 MB, free: 8.336 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.2887, allocations: 0 / 336.9 MB, free: 8.336 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.002218/0.2909, allocations: 1.345 MB / 338.3 MB, free: 6.918 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2909, allocations: 8.031 kB / 338.3 MB, free: 6.91 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.2911, allocations: 111.7 kB / 338.4 MB, free: 6.801 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008845/0.292, allocations: 0.5754 MB / 339 MB, free: 6.188 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/0.2923, allocations: 166.9 kB / 339.1 MB, free: 6.008 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.129e-05/0.2924, allocations: 60.12 kB / 339.2 MB, free: 5.949 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.2938, allocations: 0.8626 MB / 340.1 MB, free: 4.984 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.2938, allocations: 7.938 kB / 340.1 MB, free: 4.977 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.2939, allocations: 28 kB / 340.1 MB, free: 4.949 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.2939, allocations: 12 kB / 340.1 MB, free: 4.938 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.2953, allocations: 0.6336 MB / 340.7 MB, free: 4.305 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.003223/0.2985, allocations: 2.065 MB / 342.8 MB, free: 2.133 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.2999, allocations: 0.8623 MB / 343.7 MB, free: 1.207 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008125/0.3008, allocations: 402.6 kB / 344.1 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.3008, allocations: 16.62 kB / 344.1 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3009, allocations: 47.22 kB / 344.1 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/0.3009, allocations: 0 / 344.1 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.005448/0.3063, allocations: 1.835 MB / 346 MB, free: 14.81 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003613/0.3067, allocations: 0.8234 MB / 346.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007818/0.3075, allocations: 0.6293 MB / 347.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/0.3076, allocations: 49.64 kB / 347.5 MB, free: 13.1 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.3079, allocations: 333 kB / 347.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.3081, allocations: 260.2 kB / 348 MB, free: 12.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.3083, allocations: 138.7 kB / 348.2 MB, free: 12.37 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3085, allocations: 390.8 kB / 348.6 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000673/0.3091, allocations: 281.8 kB / 348.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009177/0.3101, allocations: 0.5702 MB / 349.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.3115, allocations: 0.7089 MB / 350.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3115, allocations: 3.938 kB / 350.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002666/0.3142, allocations: 1.114 MB / 351.2 MB, free: 9.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.473e-05/0.3143, allocations: 89.09 kB / 351.3 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3143, allocations: 0 / 351.3 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006697/0.3149, allocations: 231.3 kB / 351.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.3156, allocations: 151.8 kB / 351.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007797/0.3234, allocations: 6.935 MB / 358.6 MB, free: 1.148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.3246, allocations: 111.3 kB / 358.7 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.3247, allocations: 28 kB / 358.8 MB, free: 1.012 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004032/0.3251, allocations: 205.8 kB / 359 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.3252, allocations: 87.06 kB / 359.1 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.3254, allocations: 91.33 kB / 359.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3254, allocations: 8 kB / 359.1 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.3254, allocations: 4 kB / 359.2 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00276/0.3282, allocations: 1.264 MB / 360.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/0.3323, allocations: 1.952 MB / 362.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3323, allocations: 0 / 362.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.333, allocations: 139.8 kB / 362.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/0.3335, allocations: 218.5 kB / 362.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.3336, allocations: 12 kB / 362.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006727/0.3403, allocations: 5.345 MB / 368.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3404, allocations: 0 / 368.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.3439, allocations: 1.433 MB / 369.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.3444, allocations: 239.9 kB / 369.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.3445, allocations: 16 kB / 369.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/0.3452, allocations: 59.94 kB / 369.8 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.3453, allocations: 64.56 kB / 369.9 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.3454, allocations: 19.94 kB / 369.9 MB, free: 5.207 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000584/0.346, allocations: 459 kB / 370.3 MB, free: 4.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.346, allocations: 0 / 370.3 MB, free: 4.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000903/0.3469, allocations: 279.7 kB / 370.6 MB, free: 4.492 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001644/0.3471, allocations: 131.1 kB / 370.7 MB, free: 4.355 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.3497, allocations: 1.399 MB / 372.1 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3498, allocations: 8.062 kB / 372.2 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.3513, allocations: 0.7807 MB / 372.9 MB, free: 2.035 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3523, allocations: 249.9 kB / 373.2 MB, free: 1.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.3551, allocations: 1.614 MB / 374.8 MB, free: 148 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.3557, allocations: 0.944 MB / 375.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004318/0.3561, allocations: 94.44 kB / 375.8 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.3563, allocations: 75.42 kB / 375.9 MB, free: 15 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3563, allocations: 0 / 375.9 MB, free: 15 MB / 318.1 MB Notification: Performance of Templates: time 0.02854/0.3848, allocations: 18.44 MB / 394.3 MB, free: 12.54 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)