Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009384/0.0009385, allocations: 169.4 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007288/0.0007288, allocations: 89.2 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002714, allocations: 8.531 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1335/0.277, allocations: 159.2 MB / 1.052 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.2798, allocations: 1.827 MB / 1.054 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.28, allocations: 7.938 kB / 1.054 GB, free: 2.582 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004528/0.2805, allocations: 135.2 kB / 1.054 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.2815, allocations: 0.4941 MB / 1.055 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007763/0.2823, allocations: 348 kB / 1.055 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.338/0.6203, allocations: 3.467 MB / 1.058 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.6211, allocations: 0.7458 MB / 1.059 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.6223, allocations: 0.8721 MB / 1.06 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.623, allocations: 0.7356 MB / 1.061 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-05/0.6231, allocations: 34.53 kB / 1.061 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.6243, allocations: 0.8036 MB / 1.061 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.6246, allocations: 281.9 kB / 1.062 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004529/0.6251, allocations: 0.5146 MB / 1.062 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.6265, allocations: 1.393 MB / 1.064 GB, free: 2.109 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.6266, allocations: 0.875 kB / 1.064 GB, free: 2.109 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6266, allocations: 0 / 1.064 GB, free: 2.109 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.6266, allocations: 0 / 1.064 GB, free: 2.109 MB / 0.698 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.001947/0.6285, allocations: 1.293 MB / 1.065 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6286, allocations: 12.84 kB / 1.065 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007046/0.6293, allocations: 185.3 kB / 1.065 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.6307, allocations: 0.8331 MB / 1.066 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.6307, allocations: 41.34 kB / 1.066 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.48e-05/0.6308, allocations: 59.91 kB / 1.066 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.632, allocations: 0.7999 MB / 1.067 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.632, allocations: 8.938 kB / 1.067 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.6321, allocations: 24.06 kB / 1.067 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.6321, allocations: 19.8 kB / 1.067 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009248/0.633, allocations: 0.5421 MB / 1.067 GB, free: 16.64 MB / 0.7136 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.003729/0.6367, allocations: 4.615 MB / 1.072 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/0.6374, allocations: 427 kB / 1.072 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.6378, allocations: 251.8 kB / 1.072 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.6381, allocations: 194.8 kB / 1.073 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/0.6386, allocations: 300.8 kB / 1.073 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.6386, allocations: 0 / 1.073 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001247/0.6398, allocations: 0.6469 MB / 1.074 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.6399, allocations: 90.52 kB / 1.074 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.6412, allocations: 1.124 MB / 1.075 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.6412, allocations: 40.58 kB / 1.075 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.6415, allocations: 489.6 kB / 1.075 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.318e-05/0.6416, allocations: 114.7 kB / 1.075 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.6417, allocations: 38.86 kB / 1.075 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.6418, allocations: 326 kB / 1.076 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.6421, allocations: 214.3 kB / 1.076 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.6427, allocations: 0.5275 MB / 1.076 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008411/0.6435, allocations: 0.6445 MB / 1.077 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6435, allocations: 1.219 kB / 1.077 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001067/0.6446, allocations: 0.7299 MB / 1.078 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.6448, allocations: 288.6 kB / 1.078 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6448, allocations: 4.344 kB / 1.078 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.6448, allocations: 8.062 kB / 1.078 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.6452, allocations: 117.6 kB / 1.078 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.6452, allocations: 10.5 kB / 1.078 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/0.6459, allocations: 109.4 kB / 1.078 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.646, allocations: 22.91 kB / 1.078 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.646, allocations: 8.031 kB / 1.078 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000747/0.6467, allocations: 0.546 MB / 1.079 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6468, allocations: 5.688 kB / 1.079 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.6468, allocations: 9.594 kB / 1.079 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.6471, allocations: 103.7 kB / 1.079 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.6471, allocations: 14.3 kB / 1.079 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.6477, allocations: 97.52 kB / 1.079 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.6477, allocations: 19.5 kB / 1.079 GB, free: 10.81 MB / 0.7136 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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003843/0.6481, allocations: 475.4 kB / 1.08 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.6482, allocations: 102.8 kB / 1.08 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006961/0.6489, allocations: 497.3 kB / 1.08 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6489, allocations: 4.438 kB / 1.08 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6489, allocations: 0 / 1.08 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.6492, allocations: 217.7 kB / 1.08 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.6493, allocations: 5.031 kB / 1.08 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.6497, allocations: 58.11 kB / 1.08 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.6498, allocations: 26.72 kB / 1.08 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000813/0.6506, allocations: 0.592 MB / 1.081 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007362/0.6514, allocations: 0.716 MB / 1.082 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002628/0.6517, allocations: 179.4 kB / 1.082 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008407/0.6525, allocations: 0.7994 MB / 1.083 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of Backend: time 5.21e-07/0.6525, allocations: 0 / 1.083 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.6543, allocations: 0.8981 MB / 1.083 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of SimCode: time 0.003529/0.6579, allocations: 2.772 MB / 1.086 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of Templates: time 0.02423/0.6821, allocations: 18.09 MB / 1.104 GB, free: 5.887 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)