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.001484/0.001484, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002086/0.002086, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.506/1.506, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001346/0.001346, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2771, allocations: 46.63 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005605/0.2827, allocations: 5.036 MB / 329.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.2853, allocations: 1.331 MB / 331.2 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.2857, allocations: 8.625 kB / 331.2 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.2862, allocations: 128.5 kB / 331.3 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006105/0.2868, allocations: 282.5 kB / 331.6 MB, free: 12.47 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.2872, allocations: 204 kB / 331.8 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.2885, allocations: 1.177 MB / 333 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.2889, allocations: 320.3 kB / 333.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.2894, allocations: 451.2 kB / 333.8 MB, free: 11.15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004831/0.2899, allocations: 0.5012 MB / 334.3 MB, free: 10.65 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.29, allocations: 104 kB / 334.4 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.2902, allocations: 107.9 kB / 334.5 MB, free: 10.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.2904, allocations: 227.2 kB / 334.7 MB, free: 10.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004288/0.2908, allocations: 0.5172 MB / 335.2 MB, free: 9.699 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2918, allocations: 1.184 MB / 336.4 MB, free: 8.512 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2919, allocations: 4 kB / 336.4 MB, free: 8.508 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2919, allocations: 0 / 336.4 MB, free: 8.508 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.2919, allocations: 4 kB / 336.4 MB, free: 8.504 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.002389/0.2943, allocations: 1.333 MB / 337.7 MB, free: 7.098 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2943, allocations: 12.03 kB / 337.7 MB, free: 7.086 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.2945, allocations: 115.7 kB / 337.8 MB, free: 6.973 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.2954, allocations: 0.5832 MB / 338.4 MB, free: 6.352 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.2957, allocations: 162.9 kB / 338.6 MB, free: 6.176 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2958, allocations: 68.06 kB / 338.7 MB, free: 6.109 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.2973, allocations: 0.8665 MB / 339.5 MB, free: 5.141 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.2973, allocations: 4 kB / 339.5 MB, free: 5.137 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.2974, allocations: 27.98 kB / 339.6 MB, free: 5.109 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.2974, allocations: 12 kB / 339.6 MB, free: 5.098 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.2988, allocations: 0.6219 MB / 340.2 MB, free: 4.473 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.003262/0.3021, allocations: 2.069 MB / 342.3 MB, free: 2.297 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.3035, allocations: 0.8701 MB / 343.1 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007841/0.3043, allocations: 394.6 kB / 343.5 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/0.3044, allocations: 20.62 kB / 343.5 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.3044, allocations: 51.22 kB / 343.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.3044, allocations: 0 / 343.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.005125/0.3096, allocations: 1.828 MB / 345.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004454/0.31, allocations: 0.8234 MB / 346.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/0.3109, allocations: 0.6293 MB / 346.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.508e-05/0.3109, allocations: 45.7 kB / 346.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.3112, allocations: 341 kB / 347.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.3114, allocations: 256.2 kB / 347.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.3117, allocations: 142.7 kB / 347.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3118, allocations: 382.8 kB / 348 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.3125, allocations: 289.8 kB / 348.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.3134, allocations: 0.5624 MB / 348.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.3148, allocations: 0.7168 MB / 349.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3148, allocations: 0 / 349.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002518/0.3173, allocations: 1.106 MB / 350.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/0.3174, allocations: 93.09 kB / 350.8 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3175, allocations: 4 kB / 350.8 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006561/0.3181, allocations: 235.2 kB / 351 MB, free: 8.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/0.3187, allocations: 147.8 kB / 351.1 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008038/0.3268, allocations: 6.943 MB / 358.1 MB, free: 1.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.3281, allocations: 111.4 kB / 358.2 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/0.3283, allocations: 20 kB / 358.2 MB, free: 1.18 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.0005298/0.3288, allocations: 217.8 kB / 358.4 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.329, allocations: 83.3 kB / 358.5 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.3291, allocations: 95.33 kB / 358.6 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.3292, allocations: 7.984 kB / 358.6 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3292, allocations: 7.938 kB / 358.6 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002431/0.3316, allocations: 1.264 MB / 359.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/0.3354, allocations: 1.945 MB / 361.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3354, allocations: 4 kB / 361.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006978/0.3361, allocations: 143.8 kB / 362 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/0.3366, allocations: 202.3 kB / 362.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.3367, allocations: 16 kB / 362.2 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006361/0.3431, allocations: 5.333 MB / 367.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3431, allocations: 0 / 367.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/0.3465, allocations: 1.441 MB / 369 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.3469, allocations: 235.9 kB / 369.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.347, allocations: 16 kB / 369.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/0.3477, allocations: 59.95 kB / 369.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.3479, allocations: 72.56 kB / 369.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.3479, allocations: 16 kB / 369.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005202/0.3484, allocations: 455 kB / 369.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3484, allocations: 0 / 369.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008435/0.3493, allocations: 283.7 kB / 370.1 MB, free: 4.66 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.0001689/0.3495, allocations: 119.1 kB / 370.2 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.3519, allocations: 1.406 MB / 371.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3519, allocations: 7.875 kB / 371.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.3532, allocations: 0.7886 MB / 372.4 MB, free: 2.203 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/0.3542, allocations: 242 kB / 372.6 MB, free: 1.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.3568, allocations: 1.899 MB / 374.5 MB, free: 36 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.3573, allocations: 0.9323 MB / 375.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003952/0.3577, allocations: 106.4 kB / 375.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.3578, allocations: 59.44 kB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3579, allocations: 0 / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of Templates: time 0.02902/0.3869, allocations: 18.03 MB / 393.6 MB, free: 12.84 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)