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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001364/0.001364, allocations: 179.8 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.31/1.31, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001511/0.001511, allocations: 125.2 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002757, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07329/0.07358, allocations: 44.51 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.313, allocations: 77.26 MB / 432.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.3132, allocations: 75.89 kB / 432.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03481/0.348, allocations: 15.71 MB / 448.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3481, allocations: 4 kB / 448.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.381e-05/0.3481, allocations: 16 kB / 448.1 MB, free: 15.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002105/0.3502, allocations: 1.17 MB / 449.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3503, allocations: 10.22 kB / 449.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.3505, allocations: 102.9 kB / 449.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007658/0.3513, allocations: 0.5198 MB / 449.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.3515, allocations: 142.4 kB / 450.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/0.3516, allocations: 63.89 kB / 450.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.3529, allocations: 0.8506 MB / 451 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.3529, allocations: 12 kB / 451 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/0.353, allocations: 24 kB / 451 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.353, allocations: 12 kB / 451 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.3544, allocations: 0.6414 MB / 451.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.3574, allocations: 2.057 MB / 453.7 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.3589, allocations: 1.065 MB / 454.8 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.078e-05/0.359, allocations: 20.62 kB / 454.8 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.3591, allocations: 47.22 kB / 454.9 MB, free: 7.949 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 1.943e-06/0.3591, allocations: 0 / 454.9 MB, free: 7.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.005026/0.3641, allocations: 1.991 MB / 456.8 MB, free: 5.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003259/0.3644, allocations: 0.8272 MB / 457.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.3651, allocations: 0.5306 MB / 458.2 MB, free: 4.312 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.3652, allocations: 45.7 kB / 458.3 MB, free: 4.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.3654, allocations: 319.5 kB / 458.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.3656, allocations: 260.2 kB / 458.8 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.3656, allocations: 12 kB / 458.8 MB, free: 3.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3658, allocations: 386.8 kB / 459.2 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/0.3664, allocations: 297.8 kB / 459.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/0.3672, allocations: 0.5608 MB / 460.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.3679, allocations: 417.3 kB / 460.5 MB, free: 1.922 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.368, allocations: 0 / 460.5 MB, free: 1.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002461/0.3704, allocations: 1.182 MB / 461.6 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/0.3705, allocations: 85.11 kB / 461.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3705, allocations: 0 / 461.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006448/0.3712, allocations: 243.3 kB / 462 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.3718, allocations: 151.8 kB / 462.1 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007763/0.3796, allocations: 6.562 MB / 468.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009201/0.3806, allocations: 120 kB / 468.8 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.3806, allocations: 20 kB / 468.8 MB, free: 8.973 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0004289/0.381, allocations: 225.7 kB / 469 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.3812, allocations: 79.16 kB / 469.1 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.3814, allocations: 87.73 kB / 469.2 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.3814, allocations: 8 kB / 469.2 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3814, allocations: 4.688 kB / 469.2 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002537/0.3839, allocations: 1.328 MB / 470.5 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/0.3881, allocations: 2.003 MB / 472.5 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3881, allocations: 0 / 472.5 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000711/0.3888, allocations: 156 kB / 472.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.3894, allocations: 220.1 kB / 472.9 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/0.3895, allocations: 12 kB / 472.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/0.3959, allocations: 5.125 MB / 478 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3959, allocations: 0 / 478 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.3993, allocations: 1.507 MB / 479.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.3996, allocations: 169 kB / 479.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.3997, allocations: 20 kB / 479.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.4002, allocations: 55.95 kB / 479.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.4004, allocations: 72.5 kB / 479.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.4004, allocations: 19.98 kB / 479.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005748/0.401, allocations: 427.1 kB / 480.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.401, allocations: 4 kB / 480.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008525/0.4019, allocations: 283.7 kB / 480.6 MB, free: 12.56 MB / 362.7 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 (62): * Single equations (assignments): 59 * 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.0002263/0.4021, allocations: 131.2 kB / 480.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002189/0.4043, allocations: 1.391 MB / 482.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.4044, allocations: 4 kB / 482.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.4057, allocations: 0.8136 MB / 482.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008629/0.4066, allocations: 205.9 kB / 483.1 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.4095, allocations: 1.896 MB / 485 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.41, allocations: 0.9439 MB / 486 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003767/0.4104, allocations: 90.06 kB / 486 MB, free: 6.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.4105, allocations: 63.42 kB / 486.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of SimCode: time 2.655e-06/0.4106, allocations: 0 / 486.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of Templates: time 0.02354/0.4341, allocations: 15.82 MB / 0.4902 GB, free: 7.066 MB / 378.7 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)