Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.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.000999/0.000999, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001251/0.001251, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0007103/0.0007104, allocations: 8 kB / 278.9 MB, free: 12.87 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2732, allocations: 47.58 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003817/0.277, allocations: 3.482 MB / 329.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.2796, allocations: 1.173 MB / 331.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000806/0.2804, allocations: 10.09 kB / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.2809, allocations: 89.41 kB / 331.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.282, allocations: 280.7 kB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.2826, allocations: 147.4 kB / 331.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.2838, allocations: 0.6363 MB / 332.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.2842, allocations: 198.2 kB / 332.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007089/0.2849, allocations: 308.4 kB / 332.7 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008062/0.2857, allocations: 348.9 kB / 333.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.2859, allocations: 44.28 kB / 333.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.2861, allocations: 44.41 kB / 333.2 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.2863, allocations: 132.3 kB / 333.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.2865, allocations: 166.3 kB / 333.5 MB, free: 12.19 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.287, allocations: 0.6333 MB / 334.1 MB, free: 11.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.2871, allocations: 0 / 334.1 MB, free: 11.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2871, allocations: 0 / 334.1 MB, free: 11.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.2871, allocations: 0 / 334.1 MB, free: 11.71 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.001791/0.2889, allocations: 0.9945 MB / 335.1 MB, free: 10.78 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2889, allocations: 8.031 kB / 335.1 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.2891, allocations: 87.06 kB / 335.2 MB, free: 10.69 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.2897, allocations: 435.7 kB / 335.6 MB, free: 10.22 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.2899, allocations: 96.41 kB / 335.7 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.29, allocations: 40 kB / 335.7 MB, free: 10.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.291, allocations: 0.6561 MB / 336.4 MB, free: 9.344 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.291, allocations: 0 / 336.4 MB, free: 9.344 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.2911, allocations: 28 kB / 336.4 MB, free: 9.316 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.2911, allocations: 8 kB / 336.4 MB, free: 9.309 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.2921, allocations: 479.6 kB / 336.9 MB, free: 8.844 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.002997/0.2951, allocations: 1.948 MB / 338.8 MB, free: 6.77 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.2971, allocations: 0.7456 MB / 339.6 MB, free: 6 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.2972, allocations: 4.438 kB / 339.6 MB, free: 5.996 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.2973, allocations: 47 kB / 339.6 MB, free: 5.941 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 2.565e-06/0.2973, allocations: 0 / 339.6 MB, free: 5.941 MB / 270.1 MB Notification: Performance of matching and sorting (n=54): time 0.005065/0.3023, allocations: 1.591 MB / 341.2 MB, free: 4.277 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002569/0.3026, allocations: 0.5644 MB / 341.8 MB, free: 3.578 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.3032, allocations: 0.4991 MB / 342.3 MB, free: 3.07 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.3032, allocations: 37.7 kB / 342.3 MB, free: 3.027 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.3034, allocations: 288.7 kB / 342.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.3036, allocations: 189.2 kB / 342.8 MB, free: 2.555 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.3036, allocations: 16 kB / 342.8 MB, free: 2.539 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3038, allocations: 370.8 kB / 343.2 MB, free: 2.168 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.3043, allocations: 205 kB / 343.4 MB, free: 1.969 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.305, allocations: 424.5 kB / 343.8 MB, free: 1.473 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.3056, allocations: 272 kB / 344.1 MB, free: 1.203 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.3056, allocations: 3.953 kB / 344.1 MB, free: 1.199 MB / 270.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002233/0.3079, allocations: 0.8576 MB / 344.9 MB, free: 328 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.3079, allocations: 33.7 kB / 344.9 MB, free: 288 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.3079, allocations: 0 / 344.9 MB, free: 288 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.3089, allocations: 230.3 kB / 345.2 MB, free: 48 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.3097, allocations: 139.8 kB / 345.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0075/0.3172, allocations: 5.317 MB / 350.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.318, allocations: 83.73 kB / 350.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/0.3181, allocations: 27.98 kB / 350.7 MB, free: 10.09 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 (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.0004252/0.3186, allocations: 186 kB / 350.9 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.3188, allocations: 67.25 kB / 351 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.3212, allocations: 0.8242 MB / 351.8 MB, free: 8.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3212, allocations: 4 kB / 351.8 MB, free: 8.98 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3212, allocations: 7.953 kB / 351.8 MB, free: 8.973 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002214/0.3234, allocations: 1.082 MB / 352.9 MB, free: 7.777 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.3269, allocations: 1.518 MB / 354.4 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.3269, allocations: 0 / 354.4 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000733/0.3277, allocations: 135.8 kB / 354.6 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008281/0.3285, allocations: 185.7 kB / 354.7 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.3286, allocations: 12 kB / 354.7 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005076/0.3336, allocations: 3.603 MB / 358.3 MB, free: 1.992 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3337, allocations: 0 / 358.3 MB, free: 1.992 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.3365, allocations: 1.121 MB / 359.5 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.3369, allocations: 196.2 kB / 359.7 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.3371, allocations: 12 kB / 359.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/0.3377, allocations: 51.88 kB / 359.7 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.3378, allocations: 52.36 kB / 359.8 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.3379, allocations: 16 kB / 359.8 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004518/0.3383, allocations: 346.8 kB / 360.1 MB, free: 172 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3383, allocations: 4 kB / 360.1 MB, free: 168 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009412/0.3393, allocations: 219.8 kB / 360.3 MB, free: 15.95 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 (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.0001883/0.3395, allocations: 111.2 kB / 360.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.342, allocations: 1.069 MB / 361.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.342, allocations: 4 kB / 361.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.3431, allocations: 0.5474 MB / 362.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.3439, allocations: 158.5 kB / 362.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.3466, allocations: 1.537 MB / 363.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.3472, allocations: 0.8992 MB / 364.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.3476, allocations: 68.7 kB / 364.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.3477, allocations: 51.42 kB / 364.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of SimCode: time 2.304e-06/0.3477, allocations: 0 / 364.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Templates: time 0.02008/0.3678, allocations: 11.92 MB / 376.7 MB, free: 15.43 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) Environment - environmentSimulation: