Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.942/4.942, allocations: 0.5623 GB / 0.5776 GB, free: 3.398 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002484/0.002484, allocations: 353.7 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.128/4.128, allocations: 410.7 MB / 1.113 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001823/0.001823, allocations: 174.7 kB / 1.226 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004855, allocations: 16 kB / 1.349 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.6903, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1706/0.861, allocations: 146 MB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.8645, allocations: 1.695 MB / 1.606 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.8648, allocations: 11.88 kB / 1.606 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.8654, allocations: 159 kB / 1.606 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.867, allocations: 0.5286 MB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.8685, allocations: 403.6 kB / 1.607 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005361/0.8739, allocations: 2.975 MB / 1.61 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.8756, allocations: 0.6893 MB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.8777, allocations: 0.7974 MB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.8792, allocations: 0.7089 MB / 1.612 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.8793, allocations: 36 kB / 1.612 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.8809, allocations: 383.1 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.8814, allocations: 286.9 kB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.8817, allocations: 233.1 kB / 1.613 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.8834, allocations: 0.9743 MB / 1.614 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8834, allocations: 0 / 1.614 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8835, allocations: 0 / 1.614 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.8835, allocations: 0 / 1.614 GB, free: 128.6 MB / 0.8542 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.003786/0.8873, allocations: 1.288 MB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.8873, allocations: 11.62 kB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.8888, allocations: 186.5 kB / 1.615 GB, free: 127 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.8908, allocations: 0.8 MB / 1.616 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.8909, allocations: 44.98 kB / 1.616 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.891, allocations: 56 kB / 1.616 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.8925, allocations: 0.7966 MB / 1.617 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.8926, allocations: 7.938 kB / 1.617 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.51e-05/0.8927, allocations: 24.98 kB / 1.617 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.8927, allocations: 12 kB / 1.617 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.894, allocations: 0.5461 MB / 1.617 GB, free: 124.6 MB / 0.8542 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.004405/0.8985, allocations: 4.607 MB / 1.622 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.8995, allocations: 432.5 kB / 1.622 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005666/0.9001, allocations: 244.7 kB / 1.622 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003354/0.9004, allocations: 194.2 kB / 1.623 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/0.9011, allocations: 292.6 kB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=31): time 2.945e-06/0.9012, allocations: 0 / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31): time 0.001902/0.9031, allocations: 0.6528 MB / 1.623 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.9031, allocations: 81.11 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.9048, allocations: 1.118 MB / 1.625 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.9049, allocations: 37.7 kB / 1.625 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.9053, allocations: 492.1 kB / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.77e-05/0.9055, allocations: 110.5 kB / 1.625 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.9055, allocations: 8 kB / 1.625 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.9056, allocations: 326 kB / 1.626 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/0.9061, allocations: 184.7 kB / 1.626 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/0.9068, allocations: 0.5018 MB / 1.626 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.9075, allocations: 296.3 kB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.9075, allocations: 0 / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001545/0.909, allocations: 0.6769 MB / 1.627 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.9092, allocations: 282.8 kB / 1.627 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.9092, allocations: 4 kB / 1.627 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.9092, allocations: 19.92 kB / 1.627 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.91, allocations: 115.8 kB / 1.628 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.91, allocations: 15.92 kB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.9112, allocations: 106.2 kB / 1.628 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.9113, allocations: 27.98 kB / 1.628 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/0.9113, allocations: 4 kB / 1.628 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001261/0.9126, allocations: 0.5348 MB / 1.628 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.9126, allocations: 8 kB / 1.628 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.9126, allocations: 8 kB / 1.628 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.9133, allocations: 107.8 kB / 1.628 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.9133, allocations: 11.94 kB / 1.628 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.9144, allocations: 99.56 kB / 1.628 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.9145, allocations: 24 kB / 1.628 GB, free: 112.3 MB / 0.8542 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005689/0.915, allocations: 468.7 kB / 1.629 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.9152, allocations: 98.78 kB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.9164, allocations: 0.5021 MB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.9165, allocations: 3.984 kB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.9165, allocations: 0 / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.9169, allocations: 215.8 kB / 1.63 GB, free: 111 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.917, allocations: 14.7 kB / 1.63 GB, free: 111 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008011/0.9179, allocations: 51.8 kB / 1.63 GB, free: 111 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.918, allocations: 39.88 kB / 1.63 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001364/0.9193, allocations: 0.5702 MB / 1.63 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001111/0.9205, allocations: 0.7165 MB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004573/0.9209, allocations: 174.9 kB / 1.631 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00126/0.9222, allocations: 0.7914 MB / 1.632 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of Backend: time 6.71e-07/0.9222, allocations: 0 / 1.632 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.9248, allocations: 0.8439 MB / 1.633 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.005548/0.9304, allocations: 2.693 MB / 1.635 GB, free: 105 MB / 0.8542 GB Notification: Performance of Templates: time 0.03991/0.9703, allocations: 17.26 MB / 1.652 GB, free: 88.08 MB / 0.8542 GB