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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009398/0.009398, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 222.5 MB, free: 5.547 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.0004806/0.0004808, allocations: 15.98 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004231/0.2231, allocations: 3.998 MB / 331 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.2257, allocations: 1.177 MB / 332.2 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.226, allocations: 6.406 kB / 332.2 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.2264, allocations: 113.6 kB / 332.3 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005934/0.227, allocations: 233.6 kB / 332.5 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.2274, allocations: 159.8 kB / 332.7 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009857/0.2284, allocations: 0.8955 MB / 333.6 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.2287, allocations: 218.9 kB / 333.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.2292, allocations: 327.5 kB / 334.1 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.2296, allocations: 369.5 kB / 334.5 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.2297, allocations: 49.38 kB / 334.5 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.2299, allocations: 48.94 kB / 334.6 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.23, allocations: 144 kB / 334.7 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.2304, allocations: 413 kB / 335.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007538/0.2312, allocations: 0.8639 MB / 336 MB, free: 10.36 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2312, allocations: 0 / 336 MB, free: 10.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2312, allocations: 0 / 336 MB, free: 10.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.2312, allocations: 0 / 336 MB, free: 10.36 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001857/0.2331, allocations: 0.9965 MB / 337 MB, free: 9.301 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2331, allocations: 12.03 kB / 337 MB, free: 9.289 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.2333, allocations: 91.98 kB / 337.1 MB, free: 9.199 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/0.2339, allocations: 476.6 kB / 337.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.2341, allocations: 101 kB / 337.7 MB, free: 8.582 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.329e-05/0.2342, allocations: 48.38 kB / 337.7 MB, free: 8.535 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.2354, allocations: 0.6594 MB / 338.4 MB, free: 7.801 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.2354, allocations: 0 / 338.4 MB, free: 7.801 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.2355, allocations: 28 kB / 338.4 MB, free: 7.773 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.2355, allocations: 12 kB / 338.4 MB, free: 7.762 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.2366, allocations: 483.6 kB / 338.9 MB, free: 7.293 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.00313/0.2398, allocations: 1.971 MB / 340.8 MB, free: 5.195 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.2417, allocations: 0.73 MB / 341.6 MB, free: 4.441 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.2423, allocations: 266.1 kB / 341.8 MB, free: 4.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.2424, allocations: 24.41 kB / 341.9 MB, free: 4.156 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.2424, allocations: 39 kB / 341.9 MB, free: 4.105 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 2.124e-06/0.2424, allocations: 0 / 341.9 MB, free: 4.105 MB / 270.1 MB Notification: Performance of matching and sorting (n=54): time 0.005188/0.2476, allocations: 1.597 MB / 343.5 MB, free: 2.438 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002355/0.2479, allocations: 0.5683 MB / 344.1 MB, free: 1.734 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.2485, allocations: 0.5382 MB / 344.6 MB, free: 1.188 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.2486, allocations: 41.7 kB / 344.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.2488, allocations: 288.5 kB / 344.9 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.2489, allocations: 181.3 kB / 345.1 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.249, allocations: 45.7 kB / 345.1 MB, free: 0.625 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2492, allocations: 374.7 kB / 345.5 MB, free: 256 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/0.2497, allocations: 213 kB / 345.7 MB, free: 40 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007293/0.2505, allocations: 436.3 kB / 346.1 MB, free: 15.53 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.2516, allocations: 0.5044 MB / 346.6 MB, free: 15 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2516, allocations: 4 kB / 346.7 MB, free: 15 MB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002384/0.254, allocations: 0.8537 MB / 347.5 MB, free: 14.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.254, allocations: 37.72 kB / 347.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2541, allocations: 4 kB / 347.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.2551, allocations: 230.3 kB / 347.8 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.2558, allocations: 139.8 kB / 347.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007582/0.2634, allocations: 5.242 MB / 353.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/0.2642, allocations: 91.72 kB / 353.2 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.2642, allocations: 16 kB / 353.3 MB, free: 7.961 MB / 286.1 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002915/0.2645, allocations: 201.7 kB / 353.5 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.2646, allocations: 71.16 kB / 353.5 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.2671, allocations: 0.8242 MB / 354.3 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2671, allocations: 4 kB / 354.3 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2671, allocations: 0 / 354.3 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00237/0.2695, allocations: 1.089 MB / 355.4 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.2727, allocations: 1.557 MB / 357 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.2728, allocations: 4.125 kB / 357 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.2735, allocations: 135.8 kB / 357.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008516/0.2744, allocations: 189.5 kB / 357.3 MB, free: 3.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.2745, allocations: 8 kB / 357.3 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005011/0.2795, allocations: 3.532 MB / 360.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2795, allocations: 4.031 kB / 360.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.2825, allocations: 1.136 MB / 362 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.2829, allocations: 208.1 kB / 362.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.979e-05/0.283, allocations: 16 kB / 362.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.2835, allocations: 39.97 kB / 362.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2836, allocations: 48.48 kB / 362.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.2837, allocations: 12 kB / 362.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004807/0.2842, allocations: 390.8 kB / 362.7 MB, free: 14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2842, allocations: 0 / 362.7 MB, free: 14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007586/0.2849, allocations: 215.8 kB / 362.9 MB, free: 13.79 MB / 302.1 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.2851, allocations: 123.3 kB / 363 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.2875, allocations: 1.069 MB / 364.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.2876, allocations: 7.938 kB / 364.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.2887, allocations: 0.5435 MB / 364.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009264/0.2896, allocations: 178.4 kB / 364.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.2919, allocations: 1.605 MB / 366.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.2924, allocations: 0.884 MB / 367.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.2927, allocations: 85.12 kB / 367.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.2929, allocations: 47.44 kB / 367.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of SimCode: time 1.964e-06/0.2929, allocations: 0 / 367.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of Templates: time 0.02153/0.3144, allocations: 12.95 MB / 380.4 MB, free: 12.14 MB / 318.1 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)