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.0009201/0.0009202, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009286/0.0009287, allocations: 177.3 kB / 15.94 MB, free: 228 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.441/1.441, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.0005431/0.0005432, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2685, allocations: 47.59 MB / 326.4 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.0046/0.2732, allocations: 3.997 MB / 330.4 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2755, allocations: 1.273 MB / 331.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.2758, allocations: 11.09 kB / 331.7 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.2761, allocations: 100.1 kB / 331.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006846/0.2768, allocations: 349.5 kB / 332.2 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.2772, allocations: 172 kB / 332.3 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.2784, allocations: 0.7854 MB / 333.1 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000442/0.2788, allocations: 264.9 kB / 333.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005176/0.2794, allocations: 378.9 kB / 333.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005962/0.28, allocations: 439 kB / 334.2 MB, free: 11.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.2801, allocations: 59.47 kB / 334.2 MB, free: 11.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.2803, allocations: 63.72 kB / 334.3 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2805, allocations: 167.3 kB / 334.5 MB, free: 11.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.2807, allocations: 201.3 kB / 334.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007346/0.2814, allocations: 0.8374 MB / 335.5 MB, free: 10.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2814, allocations: 0 / 335.5 MB, free: 10.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2815, allocations: 0 / 335.5 MB, free: 10.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.2815, allocations: 0 / 335.5 MB, free: 10.42 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.002187/0.2837, allocations: 1.197 MB / 336.7 MB, free: 9.152 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2837, allocations: 12.03 kB / 336.7 MB, free: 9.141 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.2839, allocations: 106.9 kB / 336.8 MB, free: 9.035 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008581/0.2848, allocations: 0.52 MB / 337.3 MB, free: 8.477 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003283/0.2851, allocations: 182.3 kB / 337.5 MB, free: 8.277 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.386e-05/0.2852, allocations: 52 kB / 337.6 MB, free: 8.227 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.2867, allocations: 0.8783 MB / 338.4 MB, free: 7.246 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2867, allocations: 0 / 338.4 MB, free: 7.246 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/0.2868, allocations: 32 kB / 338.5 MB, free: 7.215 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2868, allocations: 16 kB / 338.5 MB, free: 7.199 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.2884, allocations: 0.6532 MB / 339.1 MB, free: 6.543 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.003111/0.2915, allocations: 2.034 MB / 341.2 MB, free: 4.406 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.2929, allocations: 0.8858 MB / 342 MB, free: 3.461 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.293, allocations: 20.61 kB / 342.1 MB, free: 3.441 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.293, allocations: 51.16 kB / 342.1 MB, free: 3.383 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/0.293, allocations: 0 / 342.1 MB, free: 3.383 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.00515/0.2982, allocations: 1.979 MB / 344.1 MB, free: 1.309 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003636/0.2986, allocations: 0.8234 MB / 344.9 MB, free: 296 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.2992, allocations: 0.5747 MB / 345.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.2993, allocations: 49.7 kB / 345.5 MB, free: 15.65 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.2996, allocations: 333 kB / 345.9 MB, free: 15.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.2998, allocations: 260.2 kB / 346.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.2998, allocations: 16 kB / 346.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3, allocations: 382.8 kB / 346.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000677/0.3007, allocations: 301.8 kB / 346.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00089/0.3016, allocations: 0.578 MB / 347.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/0.3023, allocations: 435.9 kB / 347.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3024, allocations: 0 / 347.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002653/0.305, allocations: 1.196 MB / 349 MB, free: 12.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.505e-05/0.3051, allocations: 85.11 kB / 349.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3051, allocations: 0 / 349.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/0.3058, allocations: 255.2 kB / 349.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/0.3065, allocations: 155.8 kB / 349.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007686/0.3142, allocations: 6.566 MB / 356.1 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/0.3151, allocations: 127.4 kB / 356.2 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/0.3152, allocations: 27.95 kB / 356.2 MB, free: 4.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 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003513/0.3156, allocations: 217.7 kB / 356.4 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.3157, allocations: 86.97 kB / 356.5 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.3159, allocations: 99.33 kB / 356.6 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3159, allocations: 8 kB / 356.6 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3159, allocations: 256 / 356.6 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002525/0.3185, allocations: 1.335 MB / 357.9 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.3222, allocations: 1.98 MB / 359.9 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3222, allocations: 0 / 359.9 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/0.3229, allocations: 155.8 kB / 360.1 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005474/0.3235, allocations: 214.4 kB / 360.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.3235, allocations: 12 kB / 360.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006023/0.3295, allocations: 5.126 MB / 365.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3296, allocations: 3.953 kB / 365.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/0.3329, allocations: 1.523 MB / 367 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.3332, allocations: 231.8 kB / 367.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.3333, allocations: 23.98 kB / 367.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006415/0.334, allocations: 71.89 kB / 367.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.3341, allocations: 68.48 kB / 367.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.3342, allocations: 16 kB / 367.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004515/0.3347, allocations: 419.1 kB / 367.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3347, allocations: 0 / 367.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008177/0.3355, allocations: 275.7 kB / 368 MB, free: 7.777 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.0001756/0.3357, allocations: 123.2 kB / 368.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.3379, allocations: 1.403 MB / 369.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3379, allocations: 0 / 369.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.3393, allocations: 0.8237 MB / 370.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009151/0.3402, allocations: 206.9 kB / 370.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.343, allocations: 1.904 MB / 372.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3435, allocations: 0.9552 MB / 373.4 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003905/0.3439, allocations: 89.56 kB / 373.5 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.344, allocations: 59.36 kB / 373.6 MB, free: 2.023 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.344, allocations: 0 / 373.6 MB, free: 2.023 MB / 302.1 MB Notification: Performance of Templates: time 0.02386/0.3679, allocations: 15.61 MB / 389.2 MB, free: 2.395 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: