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.009164/0.009164, allocations: 165.9 kB / 15.11 MB, free: 5.973 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.228/1.228, allocations: 170.8 MB / 186.6 MB, free: 0.9844 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.001765/0.001765, allocations: 110.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004807, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2718, allocations: 38.77 MB / 312.9 MB, free: 38.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0891/0.3609, allocations: 72.88 MB / 385.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.3613, allocations: 75.95 kB / 385.8 MB, free: 1.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.039/0.4003, allocations: 13.79 MB / 399.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4004, allocations: 4 kB / 399.6 MB, free: 3.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.313e-05/0.4004, allocations: 12 kB / 399.6 MB, free: 3.699 MB / 298.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.002336/0.4028, allocations: 0.981 MB / 400.6 MB, free: 2.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4028, allocations: 11.97 kB / 400.6 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.4031, allocations: 79.16 kB / 400.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.404, allocations: 447.9 kB / 401.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.4042, allocations: 92.41 kB / 401.2 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.4043, allocations: 55.95 kB / 401.3 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.4055, allocations: 0.6599 MB / 402 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.4056, allocations: 4 kB / 402 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.4057, allocations: 16 kB / 402 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4057, allocations: 15.98 kB / 402 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.4068, allocations: 483.7 kB / 402.5 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.4104, allocations: 1.867 MB / 404.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.4126, allocations: 0.7654 MB / 405.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.598e-05/0.4127, allocations: 12.55 kB / 405.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.4128, allocations: 47.12 kB / 405.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 2.936e-06/0.4128, allocations: 0 / 405.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.005539/0.4183, allocations: 1.618 MB / 406.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003241/0.4187, allocations: 0.5722 MB / 407.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007316/0.4194, allocations: 470.1 kB / 407.8 MB, free: 11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.352e-05/0.4195, allocations: 41.7 kB / 407.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.4198, allocations: 272.8 kB / 408.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.42, allocations: 189.1 kB / 408.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.4201, allocations: 12 kB / 408.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.4203, allocations: 370.8 kB / 408.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/0.4209, allocations: 217 kB / 408.9 MB, free: 9.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/0.4216, allocations: 428.5 kB / 409.3 MB, free: 9.398 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.4222, allocations: 276 kB / 409.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4222, allocations: 0 / 409.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002398/0.4246, allocations: 0.8731 MB / 410.4 MB, free: 8.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/0.4247, allocations: 29.7 kB / 410.5 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.4247, allocations: 4 kB / 410.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009778/0.4257, allocations: 234.4 kB / 410.7 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.4265, allocations: 135.8 kB / 410.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007468/0.434, allocations: 5.255 MB / 416.1 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/0.4347, allocations: 87.73 kB / 416.2 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.4347, allocations: 19.94 kB / 416.2 MB, free: 2.059 MB / 314.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 () * Number of clocked 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.0003708/0.4351, allocations: 201.8 kB / 416.4 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.4353, allocations: 75.16 kB / 416.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.4378, allocations: 0.8318 MB / 417.3 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4379, allocations: 4 kB / 417.3 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4379, allocations: 11.94 kB / 417.3 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1426/0.5805, allocations: 1.091 MB / 418.4 MB, free: 86.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/0.5849, allocations: 1.561 MB / 420 MB, free: 86.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.585, allocations: 0 / 420 MB, free: 86.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008202/0.5858, allocations: 141.2 kB / 420.1 MB, free: 86.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008215/0.5866, allocations: 186.5 kB / 420.3 MB, free: 86.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.5867, allocations: 9.5 kB / 420.3 MB, free: 86.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.5915, allocations: 3.602 MB / 423.9 MB, free: 83.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.5915, allocations: 0 / 423.9 MB, free: 83.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/0.5946, allocations: 1.156 MB / 425.1 MB, free: 83.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/0.595, allocations: 205.8 kB / 425.3 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.5952, allocations: 16.5 kB / 425.3 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.5957, allocations: 43.72 kB / 425.3 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5958, allocations: 42.45 kB / 425.4 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.5958, allocations: 16.56 kB / 425.4 MB, free: 83.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000561/0.5964, allocations: 372.6 kB / 425.7 MB, free: 83.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5964, allocations: 0 / 425.7 MB, free: 83.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008587/0.5973, allocations: 222.9 kB / 426 MB, free: 83.22 MB / 314.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 () * Number of clocked 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.0002107/0.5975, allocations: 123.1 kB / 426.1 MB, free: 83.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.5996, allocations: 1.034 MB / 427.1 MB, free: 82.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5997, allocations: 1.125 kB / 427.1 MB, free: 82.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.6008, allocations: 0.5523 MB / 427.7 MB, free: 82.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.6016, allocations: 161.8 kB / 427.8 MB, free: 82.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.6048, allocations: 1.561 MB / 429.4 MB, free: 81.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.6053, allocations: 0.894 MB / 430.3 MB, free: 81.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004614/0.6058, allocations: 81.02 kB / 430.4 MB, free: 81.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.606, allocations: 50.33 kB / 430.4 MB, free: 81.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.606, allocations: 0.6562 kB / 430.4 MB, free: 81.05 MB / 314.7 MB Notification: Performance of Templates: time 0.01921/0.6252, allocations: 12.33 MB / 442.7 MB, free: 77.21 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)