Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001751/0.001752, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.661/1.661, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001571/0.001571, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.106e-05, allocations: 8 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.08707, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3305/0.4177, allocations: 72.8 MB / 380.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.418, allocations: 71.52 kB / 380.5 MB, free: 3.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03779/0.4558, allocations: 13.78 MB / 394.3 MB, free: 7.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4559, allocations: 0 / 394.3 MB, free: 7.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.256e-05/0.4559, allocations: 16 kB / 394.3 MB, free: 7.91 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001496/0.4574, allocations: 0.8795 MB / 395.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4575, allocations: 12.03 kB / 395.2 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.4576, allocations: 87.06 kB / 395.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.4583, allocations: 440.2 kB / 395.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.4584, allocations: 97.95 kB / 395.8 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.4585, allocations: 50.39 kB / 395.8 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000881/0.4594, allocations: 0.5964 MB / 396.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.4594, allocations: 7.891 kB / 396.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.4595, allocations: 24.62 kB / 396.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.4595, allocations: 11.98 kB / 396.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.4601, allocations: 382.2 kB / 396.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.463, allocations: 1.865 MB / 398.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.4647, allocations: 0.6718 MB / 399.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.465, allocations: 233.3 kB / 399.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.4651, allocations: 11.75 kB / 399.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4651, allocations: 45.56 kB / 399.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=56): time 2.845e-06/0.4652, allocations: 0 / 399.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=56): time 0.001824/0.467, allocations: 0.7028 MB / 400.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002077/0.4672, allocations: 0.571 MB / 400.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.4678, allocations: 463.9 kB / 401.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.4679, allocations: 39.64 kB / 401.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.4681, allocations: 278.6 kB / 401.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.4683, allocations: 190 kB / 401.9 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.4683, allocations: 11.25 kB / 401.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4685, allocations: 370 kB / 402.3 MB, free: 1 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.4687, allocations: 157.1 kB / 402.4 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.4692, allocations: 374.5 kB / 402.8 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.4696, allocations: 225.6 kB / 403 MB, free: 404 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4696, allocations: 0 / 403 MB, free: 404 kB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001845/0.4714, allocations: 0.7765 MB / 403.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.4715, allocations: 41.06 kB / 403.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.4715, allocations: 0 / 403.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009612/0.4725, allocations: 217 kB / 404 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.4732, allocations: 135.5 kB / 404.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/0.4795, allocations: 5.037 MB / 409.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.4803, allocations: 81.8 kB / 409.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.4804, allocations: 27.11 kB / 409.3 MB, free: 10.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000206/0.4806, allocations: 149.5 kB / 409.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.4807, allocations: 71.2 kB / 409.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.4826, allocations: 0.7411 MB / 410.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4826, allocations: 4 kB / 410.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4826, allocations: 3.984 kB / 410.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/0.4843, allocations: 0.9869 MB / 411.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.4872, allocations: 1.457 MB / 412.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4872, allocations: 0 / 412.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008206/0.488, allocations: 143.1 kB / 412.9 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000632/0.4887, allocations: 153.4 kB / 413 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.4887, allocations: 14 kB / 413 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004744/0.4935, allocations: 3.396 MB / 416.4 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.4935, allocations: 3.938 kB / 416.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.4958, allocations: 0.9869 MB / 417.4 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.4962, allocations: 200.2 kB / 417.6 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-05/0.4963, allocations: 16 kB / 417.6 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.4967, allocations: 43.97 kB / 417.7 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.4969, allocations: 48.42 kB / 417.7 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.4969, allocations: 16 kB / 417.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005572/0.4975, allocations: 361.8 kB / 418.1 MB, free: 2.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4975, allocations: 0 / 418.1 MB, free: 2.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008613/0.4983, allocations: 227.7 kB / 418.3 MB, free: 2.086 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002682/0.4986, allocations: 131 kB / 418.4 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.5006, allocations: 0.9167 MB / 419.3 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5006, allocations: 4 kB / 419.3 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008744/0.5015, allocations: 0.5002 MB / 419.8 MB, free: 464 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.5023, allocations: 163.8 kB / 420 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.5046, allocations: 0.9365 MB / 420.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.5052, allocations: 0.8957 MB / 421.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003956/0.5056, allocations: 73.03 kB / 421.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.5058, allocations: 55.42 kB / 422 MB, free: 14.29 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5058, allocations: 0 / 422 MB, free: 14.29 MB / 314.7 MB Notification: Performance of Templates: time 0.02357/0.5293, allocations: 12.35 MB / 434.3 MB, free: 1.926 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1)