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.008802/0.008802, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001551/0.001551, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001312/0.001313, allocations: 39.94 kB / 326.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09452, allocations: 46.62 MB / 373.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005382/0.09993, allocations: 4.364 MB / 377.5 MB, free: 200 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1945/0.2944, allocations: 1.246 MB / 378.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003031/0.2947, allocations: 9.5 kB / 378.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.2951, allocations: 134.6 kB / 378.9 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000504/0.2957, allocations: 275.1 kB / 379.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.2961, allocations: 196.8 kB / 379.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008037/0.2969, allocations: 0.937 MB / 380.3 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.2973, allocations: 255.6 kB / 380.5 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005605/0.2979, allocations: 366.6 kB / 380.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004683/0.2983, allocations: 400.5 kB / 381.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.2985, allocations: 75.94 kB / 381.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.2986, allocations: 78.16 kB / 381.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2987, allocations: 176.1 kB / 381.6 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.2991, allocations: 412 kB / 382 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008736/0.3, allocations: 0.922 MB / 382.9 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3, allocations: 1.406 kB / 382.9 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3, allocations: 0 / 382.9 MB, free: 8.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3, allocations: 0 / 382.9 MB, free: 8.516 MB / 318.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.0018/0.3018, allocations: 1.108 MB / 384.1 MB, free: 7.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3019, allocations: 10.69 kB / 384.1 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.302, allocations: 84.94 kB / 384.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/0.3027, allocations: 486.8 kB / 384.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.3028, allocations: 96.38 kB / 384.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.3029, allocations: 47.5 kB / 384.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009984/0.3039, allocations: 0.6559 MB / 385.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.3039, allocations: 5.438 kB / 385.4 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.304, allocations: 17.62 kB / 385.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.304, allocations: 11.64 kB / 385.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.305, allocations: 456.8 kB / 385.9 MB, free: 6.664 MB / 318.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.002843/0.3079, allocations: 1.947 MB / 387.8 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.3097, allocations: 0.6915 MB / 388.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.3103, allocations: 261 kB / 388.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/0.3103, allocations: 15.12 kB / 388.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3104, allocations: 44.53 kB / 388.9 MB, free: 4.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.625e-06/0.3104, allocations: 4 kB / 388.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.005003/0.3154, allocations: 1.471 MB / 390.3 MB, free: 4.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.3155, allocations: 0.5753 MB / 390.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.3162, allocations: 0.5395 MB / 391.4 MB, free: 3.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.3162, allocations: 39.36 kB / 391.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.3164, allocations: 289.7 kB / 391.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.3165, allocations: 181.8 kB / 391.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.3167, allocations: 113 kB / 392.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.3168, allocations: 372.7 kB / 392.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.3173, allocations: 198.6 kB / 392.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/0.318, allocations: 414.8 kB / 393 MB, free: 2.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009867/0.319, allocations: 492.4 kB / 393.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.319, allocations: 1.031 kB / 393.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002364/0.3213, allocations: 0.8089 MB / 394.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.3214, allocations: 33.12 kB / 394.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3214, allocations: 5.031 kB / 394.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.3225, allocations: 226.9 kB / 394.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.3232, allocations: 124.5 kB / 394.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007545/0.3308, allocations: 5.606 MB / 400.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.3316, allocations: 74.95 kB / 400.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.3317, allocations: 17.75 kB / 400.4 MB, free: 12.57 MB / 334.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.0004143/0.3321, allocations: 201.4 kB / 400.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.3323, allocations: 74.91 kB / 400.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.3348, allocations: 0.775 MB / 401.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3348, allocations: 5.312 kB / 401.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.3348, allocations: 0 / 401.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002184/0.337, allocations: 1.041 MB / 402.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.3404, allocations: 1.496 MB / 404 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.3404, allocations: 4.125 kB / 404 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/0.3411, allocations: 137.4 kB / 404.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008335/0.342, allocations: 177.2 kB / 404.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.342, allocations: 16.95 kB / 404.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005343/0.3474, allocations: 3.796 MB / 408.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3474, allocations: 0 / 408.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/0.3504, allocations: 1.07 MB / 409.2 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.3507, allocations: 202.7 kB / 409.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/0.3508, allocations: 13.16 kB / 409.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.3513, allocations: 36.36 kB / 409.4 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.3515, allocations: 48.09 kB / 409.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.3515, allocations: 21.78 kB / 409.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004791/0.352, allocations: 384.9 kB / 409.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.352, allocations: 0 / 409.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008534/0.3529, allocations: 218.2 kB / 410.1 MB, free: 5.625 MB / 334.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.000164/0.353, allocations: 118.8 kB / 410.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.3553, allocations: 1.032 MB / 411.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3553, allocations: 1.312 kB / 411.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009988/0.3563, allocations: 0.5329 MB / 411.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008334/0.3572, allocations: 191.2 kB / 411.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.3593, allocations: 1.278 MB / 413.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.3598, allocations: 0.885 MB / 414.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003231/0.3601, allocations: 83.39 kB / 414.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.3602, allocations: 53 kB / 414.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3602, allocations: 0 / 414.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of Templates: time 0.02304/0.3833, allocations: 14.2 MB / 428.4 MB, free: 5.758 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (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)