Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001264/0.001264, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.391/1.391, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001541/0.001541, allocations: 119.3 kB / 256.9 MB, free: 4.332 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09074, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2714/0.3622, allocations: 76.67 MB / 431.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.3625, allocations: 75.16 kB / 431.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02187/0.3844, allocations: 9.811 MB / 441.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3844, allocations: 0 / 441.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.3845, allocations: 12 kB / 441.6 MB, free: 4.766 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00126/0.3857, allocations: 0.8149 MB / 442.4 MB, free: 3.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3858, allocations: 12.03 kB / 442.4 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.3859, allocations: 60.38 kB / 442.5 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.3864, allocations: 393.2 kB / 442.9 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.192e-05/0.3865, allocations: 63.84 kB / 442.9 MB, free: 3.441 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.3866, allocations: 35.06 kB / 443 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.3873, allocations: 0.5045 MB / 443.5 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3874, allocations: 0 / 443.5 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.3874, allocations: 15.34 kB / 443.5 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3874, allocations: 8 kB / 443.5 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000748/0.3882, allocations: 387.7 kB / 443.9 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.39, allocations: 1.324 MB / 445.2 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/0.3909, allocations: 0.5022 MB / 445.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.391, allocations: 15.28 kB / 445.7 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.391, allocations: 44.59 kB / 445.8 MB, free: 1.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.435e-06/0.391, allocations: 0 / 445.8 MB, free: 1.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.001439/0.3925, allocations: 0.8031 MB / 446.6 MB, free: 384 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.3926, allocations: 444.9 kB / 447 MB, free: 15.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.3931, allocations: 401.1 kB / 447.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.3931, allocations: 33.7 kB / 447.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.3933, allocations: 240.4 kB / 447.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3934, allocations: 130.1 kB / 447.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.3935, allocations: 8 kB / 447.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3936, allocations: 358.8 kB / 448.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.394, allocations: 163.8 kB / 448.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.3945, allocations: 298.1 kB / 448.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.3949, allocations: 211.1 kB / 448.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3949, allocations: 0 / 448.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001025/0.396, allocations: 0.5237 MB / 449.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.396, allocations: 34.44 kB / 449.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.396, allocations: 0 / 449.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.3962, allocations: 49.7 kB / 449.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.3967, allocations: 95.88 kB / 449.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.399, allocations: 2.773 MB / 452.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.3994, allocations: 67.61 kB / 452.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3995, allocations: 12 kB / 452.4 MB, free: 10.11 MB / 330.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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.3998, allocations: 173.8 kB / 452.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.3999, allocations: 48.97 kB / 452.6 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.4, allocations: 52.77 kB / 452.6 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.4, allocations: 11.89 kB / 452.6 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4, allocations: 0 / 452.6 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009604/0.401, allocations: 0.7776 MB / 453.4 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.4027, allocations: 1.083 MB / 454.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4027, allocations: 3.953 kB / 454.5 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.4032, allocations: 99.86 kB / 454.6 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4032, allocations: 0 / 454.6 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.4032, allocations: 12 kB / 454.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4033, allocations: 0 / 454.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4033, allocations: 4 kB / 454.6 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.4046, allocations: 0.7293 MB / 455.3 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.4048, allocations: 132.5 kB / 455.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.4048, allocations: 14.06 kB / 455.5 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.4052, allocations: 32.03 kB / 455.5 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.4053, allocations: 27.97 kB / 455.5 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.4053, allocations: 17.36 kB / 455.6 MB, free: 6.688 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004118/0.4057, allocations: 315.1 kB / 455.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4057, allocations: 0 / 455.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005523/0.4063, allocations: 151.7 kB / 456 MB, free: 6.234 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002392/0.4065, allocations: 119.9 kB / 456.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.4078, allocations: 0.6813 MB / 456.8 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4078, allocations: 4 kB / 456.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.4082, allocations: 203.9 kB / 457 MB, free: 5.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.4089, allocations: 129.3 kB / 457.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.4108, allocations: 1.154 MB / 458.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.4112, allocations: 0.8355 MB / 459.1 MB, free: 3.023 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002615/0.4115, allocations: 69.73 kB / 459.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.4116, allocations: 39.44 kB / 459.2 MB, free: 2.918 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4116, allocations: 0 / 459.2 MB, free: 2.918 MB / 330.7 MB Notification: Performance of Templates: time 0.01413/0.4258, allocations: 7.811 MB / 467.1 MB, free: 11.19 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1)