Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009644/0.0009645, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.00113/0.00113, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.612/1.612, allocations: 205.4 MB / 223.4 MB, free: 5.336 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.0006664/0.0006665, allocations: 12 kB / 280.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2694, allocations: 47.57 MB / 327.7 MB, free: 1.473 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00404/0.2735, allocations: 3.484 MB / 331.2 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.2756, allocations: 1.184 MB / 332.4 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002539/0.2758, allocations: 10.5 kB / 332.4 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.2761, allocations: 86.14 kB / 332.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.2766, allocations: 279 kB / 332.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.277, allocations: 152 kB / 332.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007838/0.2778, allocations: 0.6246 MB / 333.5 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.2781, allocations: 198.6 kB / 333.7 MB, free: 12.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.2785, allocations: 315.4 kB / 334 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.2789, allocations: 342.2 kB / 334.3 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-05/0.279, allocations: 44.34 kB / 334.4 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.2791, allocations: 48 kB / 334.4 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.2792, allocations: 127.9 kB / 334.5 MB, free: 12.35 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.2794, allocations: 167.2 kB / 334.7 MB, free: 12.26 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005435/0.2799, allocations: 0.6328 MB / 335.3 MB, free: 11.78 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.28, allocations: 0 / 335.3 MB, free: 11.78 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.28, allocations: 0 / 335.3 MB, free: 11.78 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.28, allocations: 0 / 335.3 MB, free: 11.78 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.00173/0.2817, allocations: 0.9981 MB / 336.3 MB, free: 10.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2818, allocations: 8.031 kB / 336.4 MB, free: 10.75 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.2819, allocations: 87.06 kB / 336.4 MB, free: 10.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.2825, allocations: 423.8 kB / 336.8 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.2827, allocations: 104.4 kB / 337 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.213e-05/0.2828, allocations: 48 kB / 337 MB, free: 10.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.2839, allocations: 0.6522 MB / 337.7 MB, free: 9.316 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.2839, allocations: 0 / 337.7 MB, free: 9.316 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.284, allocations: 20 kB / 337.7 MB, free: 9.297 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.284, allocations: 12 kB / 337.7 MB, free: 9.285 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.285, allocations: 483.6 kB / 338.2 MB, free: 8.816 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.002929/0.2879, allocations: 1.944 MB / 340.1 MB, free: 6.746 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.2899, allocations: 0.7378 MB / 340.8 MB, free: 5.984 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.2899, allocations: 12.42 kB / 340.8 MB, free: 5.973 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.29, allocations: 47 kB / 340.9 MB, free: 5.918 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 1.903e-06/0.29, allocations: 0 / 340.9 MB, free: 5.918 MB / 270.1 MB Notification: Performance of matching and sorting (n=54): time 0.004887/0.2949, allocations: 1.587 MB / 342.5 MB, free: 4.258 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002627/0.2952, allocations: 0.5722 MB / 343.1 MB, free: 3.551 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.2957, allocations: 0.4952 MB / 343.5 MB, free: 3.047 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.2958, allocations: 41.69 kB / 343.6 MB, free: 3 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.296, allocations: 284.8 kB / 343.9 MB, free: 2.719 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.2961, allocations: 185.2 kB / 344 MB, free: 2.535 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.2962, allocations: 15.94 kB / 344.1 MB, free: 2.52 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2963, allocations: 370.8 kB / 344.4 MB, free: 2.148 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.2968, allocations: 205 kB / 344.6 MB, free: 1.949 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/0.2975, allocations: 432.5 kB / 345 MB, free: 1.445 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.2981, allocations: 272 kB / 345.3 MB, free: 1.176 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2981, allocations: 3.953 kB / 345.3 MB, free: 1.172 MB / 270.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002206/0.3003, allocations: 0.8537 MB / 346.2 MB, free: 304 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.3004, allocations: 33.7 kB / 346.2 MB, free: 264 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3004, allocations: 0 / 346.2 MB, free: 264 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009691/0.3014, allocations: 234.3 kB / 346.4 MB, free: 20 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.3021, allocations: 135.8 kB / 346.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007092/0.3092, allocations: 5.313 MB / 351.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/0.31, allocations: 91.72 kB / 352 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.31, allocations: 16 kB / 352 MB, free: 10.07 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.0003122/0.3104, allocations: 194 kB / 352.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3105, allocations: 67.25 kB / 352.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.3127, allocations: 0.8242 MB / 353.1 MB, free: 8.961 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3127, allocations: 4 kB / 353.1 MB, free: 8.957 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3127, allocations: 4.141 kB / 353.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002126/0.3149, allocations: 1.078 MB / 354.1 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.318, allocations: 1.525 MB / 355.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.318, allocations: 0 / 355.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000802/0.3188, allocations: 131.8 kB / 355.8 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007945/0.3196, allocations: 185.5 kB / 356 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.3197, allocations: 15.98 kB / 356 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/0.3246, allocations: 3.591 MB / 359.6 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3247, allocations: 128 / 359.6 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.3275, allocations: 1.132 MB / 360.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.3278, allocations: 192.2 kB / 360.9 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.3279, allocations: 19.98 kB / 360.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.3284, allocations: 43.88 kB / 361 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3285, allocations: 48.38 kB / 361 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.3286, allocations: 15.98 kB / 361 MB, free: 500 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004319/0.329, allocations: 358.8 kB / 361.4 MB, free: 144 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.329, allocations: 0 / 361.4 MB, free: 144 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007775/0.3298, allocations: 215.8 kB / 361.6 MB, free: 15.93 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.0001515/0.33, allocations: 111.2 kB / 361.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.3322, allocations: 1.077 MB / 362.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3322, allocations: 0 / 362.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009676/0.3332, allocations: 0.5435 MB / 363.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.3339, allocations: 167.2 kB / 363.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.3361, allocations: 1.533 MB / 365 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.3365, allocations: 0.907 MB / 365.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.3368, allocations: 68.7 kB / 366 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3369, allocations: 43.44 kB / 366 MB, free: 11.35 MB / 302.1 MB Notification: Performance of SimCode: time 2.024e-06/0.3369, allocations: 0 / 366 MB, free: 11.35 MB / 302.1 MB Notification: Performance of Templates: time 0.01852/0.3555, allocations: 11.93 MB / 378 MB, free: 15.4 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) Environment - environmentSimulation: