Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) 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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009806/0.0009806, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005484/0.005484, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.42/1.42, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.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.0004843/0.0004843, allocations: 14.48 kB / 0.6743 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2187, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.5839/0.8027, allocations: 157.3 MB / 0.9415 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002701/0.8055, allocations: 1.74 MB / 0.9432 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.8058, allocations: 14.28 kB / 0.9432 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.8063, allocations: 133.5 kB / 0.9433 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.8076, allocations: 0.4939 MB / 0.9438 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.8086, allocations: 351.7 kB / 0.9441 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.8125, allocations: 3.47 MB / 0.9475 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.8138, allocations: 0.7549 MB / 0.9483 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.8161, allocations: 0.8998 MB / 0.9491 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.8173, allocations: 0.7076 MB / 0.9498 GB, free: 20 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.8174, allocations: 31.59 kB / 0.9499 GB, free: 20 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.8192, allocations: 0.8078 MB / 0.9507 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.8195, allocations: 284.2 kB / 0.9509 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000692/0.8202, allocations: 0.5333 MB / 0.9514 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.8218, allocations: 1.364 MB / 0.9528 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8218, allocations: 1.25 kB / 0.9528 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8218, allocations: 0 / 0.9528 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.8219, allocations: 0 / 0.9528 GB, free: 15.8 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002245/0.8241, allocations: 1.272 MB / 0.954 GB, free: 15 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.8242, allocations: 9.531 kB / 0.954 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007788/0.8249, allocations: 181.6 kB / 0.9542 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.8262, allocations: 0.8041 MB / 0.955 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.8262, allocations: 48 kB / 0.955 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/0.8263, allocations: 56.62 kB / 0.9551 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.8275, allocations: 0.7944 MB / 0.9559 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.8276, allocations: 6.938 kB / 0.9559 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/0.8276, allocations: 25.55 kB / 0.9559 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.8277, allocations: 12.53 kB / 0.9559 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.8286, allocations: 0.5463 MB / 0.9564 GB, free: 14.28 MB / 0.7325 GB 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.004655/0.8333, allocations: 4.598 MB / 0.9609 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008383/0.8341, allocations: 428 kB / 0.9613 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.8346, allocations: 257.4 kB / 0.9616 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.8349, allocations: 195.5 kB / 0.9618 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004873/0.8354, allocations: 303.3 kB / 0.9621 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.8354, allocations: 0 / 0.9621 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001389/0.8368, allocations: 0.6494 MB / 0.9627 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.8368, allocations: 87.34 kB / 0.9628 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.8384, allocations: 1.113 MB / 0.9639 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.8384, allocations: 37.08 kB / 0.9639 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.8388, allocations: 491.5 kB / 0.9644 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.8389, allocations: 111.2 kB / 0.9645 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.839, allocations: 42.52 kB / 0.9645 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8391, allocations: 333.5 kB / 0.9648 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.8395, allocations: 211.9 kB / 0.965 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.8402, allocations: 0.5224 MB / 0.9655 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/0.8412, allocations: 0.644 MB / 0.9662 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.8412, allocations: 1.375 kB / 0.9662 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00134/0.8425, allocations: 0.7243 MB / 0.9669 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002443/0.8428, allocations: 283.5 kB / 0.9672 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.8428, allocations: 5.469 kB / 0.9672 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.8428, allocations: 11.56 kB / 0.9672 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.8447, allocations: 366.5 kB / 0.9675 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003701/0.8484, allocations: 6.091 MB / 0.9735 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.8497, allocations: 100 kB / 0.9736 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/0.8498, allocations: 23.12 kB / 0.9736 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.8498, allocations: 4.062 kB / 0.9736 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001/0.8509, allocations: 0.5409 MB / 0.9741 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.8509, allocations: 3.344 kB / 0.9741 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8509, allocations: 9.75 kB / 0.9741 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.8515, allocations: 159.3 kB / 0.9743 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.8515, allocations: 7.562 kB / 0.9743 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000856/0.8524, allocations: 88.69 kB / 0.9744 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.8524, allocations: 21.84 kB / 0.9744 GB, free: 1.852 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007091/0.8531, allocations: 473.3 kB / 0.9748 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.8533, allocations: 97.56 kB / 0.9749 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008471/0.8541, allocations: 0.5032 MB / 0.9754 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.8541, allocations: 2.969 kB / 0.9754 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.8541, allocations: 0 / 0.9754 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8542, allocations: 7.375 kB / 0.9754 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.8562, allocations: 1.392 MB / 0.9768 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.8562, allocations: 3.031 kB / 0.9768 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.8568, allocations: 159.4 kB / 0.977 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.8568, allocations: 3.312 kB / 0.977 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.8569, allocations: 6.5 kB / 0.977 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003046/0.8599, allocations: 6.025 MB / 0.9828 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8599, allocations: 4.781 kB / 0.9829 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.8608, allocations: 0.6144 MB / 0.9835 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.8612, allocations: 218.3 kB / 0.9837 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.8613, allocations: 14.8 kB / 0.9837 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.8618, allocations: 47.64 kB / 0.9837 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.8619, allocations: 37.44 kB / 0.9838 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.8619, allocations: 11.5 kB / 0.9838 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001011/0.863, allocations: 0.7896 MB / 0.9845 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.863, allocations: 0 / 0.9845 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00121/0.8642, allocations: 408.3 kB / 0.9849 GB, free: 9.82 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000442/0.8646, allocations: 185.5 kB / 0.9851 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00287/0.8675, allocations: 1.097 MB / 0.9862 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8675, allocations: 0 / 0.9862 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007425/0.8683, allocations: 298.7 kB / 0.9865 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.8706, allocations: 461.3 kB / 0.9869 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.8734, allocations: 2.102 MB / 0.989 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.874, allocations: 1.178 MB / 0.9901 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009999/0.875, allocations: 383.8 kB / 0.9905 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.8752, allocations: 61.34 kB / 0.9905 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.8752, allocations: 1.969 kB / 0.9905 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of Templates: time 0.02968/0.9049, allocations: 17.21 MB / 1.007 GB, free: 14.48 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: