Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002399/0.002403, allocations: 354.1 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.491/1.491, allocations: 165.8 MB / 182.5 MB, free: 5.445 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.987/3.987, allocations: 410.8 MB / 0.5995 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001679/0.001678, allocations: 203.7 kB / 0.6662 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007619/0.0007621, allocations: 16 kB / 0.7423 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3546, allocations: 67.44 MB / 0.8082 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5342/0.8889, allocations: 146 MB / 0.9507 GB, free: 1.578 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003317/0.8923, allocations: 1.699 MB / 0.9524 GB, free: 1.543 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004149/0.8928, allocations: 10.88 kB / 0.9524 GB, free: 1.543 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.8934, allocations: 160.4 kB / 0.9525 GB, free: 1.543 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.8951, allocations: 0.5352 MB / 0.9531 GB, free: 1.535 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.8966, allocations: 402.8 kB / 0.9534 GB, free: 1.535 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003297/0.8999, allocations: 2.975 MB / 0.9563 GB, free: 1.523 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.9011, allocations: 0.6846 MB / 0.957 GB, free: 1.414 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.9029, allocations: 0.8018 MB / 0.9578 GB, free: 1.41 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.9041, allocations: 0.7149 MB / 0.9585 GB, free: 1.402 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.9042, allocations: 33.09 kB / 0.9585 GB, free: 1.402 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.9054, allocations: 383.6 kB / 0.9589 GB, free: 1.402 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.9058, allocations: 282.2 kB / 0.9592 GB, free: 1.402 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.9062, allocations: 228.3 kB / 0.9594 GB, free: 1.371 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.9075, allocations: 0.9862 MB / 0.9603 GB, free: 1.27 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.871e-06/0.9075, allocations: 0 / 0.9603 GB, free: 1.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.9075, allocations: 0 / 0.9603 GB, free: 1.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.9075, allocations: 0 / 0.9603 GB, free: 1.27 MB / 474.7 MB 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.002316/0.9099, allocations: 1.283 MB / 0.9616 GB, free: 488 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.9099, allocations: 13.72 kB / 0.9616 GB, free: 484 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009341/0.9109, allocations: 190.8 kB / 0.9618 GB, free: 420 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.9127, allocations: 0.7875 MB / 0.9626 GB, free: 88 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/0.9128, allocations: 49.66 kB / 0.9626 GB, free: 88 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.9129, allocations: 56 kB / 0.9627 GB, free: 88 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.9144, allocations: 0.7942 MB / 0.9634 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.9144, allocations: 4.875 kB / 0.9634 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.9145, allocations: 26.38 kB / 0.9635 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.9145, allocations: 12.41 kB / 0.9635 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.9157, allocations: 0.5455 MB / 0.964 GB, free: 15.82 MB / 490.7 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.00573/0.9214, allocations: 4.603 MB / 0.9685 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009135/0.9224, allocations: 426.3 kB / 0.9689 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.9229, allocations: 255.6 kB / 0.9692 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/0.9232, allocations: 192.9 kB / 0.9693 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005887/0.9238, allocations: 307.1 kB / 0.9696 GB, free: 12.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 3.642e-06/0.9239, allocations: 0 / 0.9696 GB, free: 12.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.00179/0.9257, allocations: 0.6413 MB / 0.9703 GB, free: 11.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.9258, allocations: 88.69 kB / 0.9703 GB, free: 11.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.9275, allocations: 1.107 MB / 0.9714 GB, free: 11.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.072e-05/0.9276, allocations: 41.36 kB / 0.9715 GB, free: 11.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004837/0.9281, allocations: 494.5 kB / 0.9719 GB, free: 11.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.9282, allocations: 108.1 kB / 0.972 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.9283, allocations: 13.23 kB / 0.9721 GB, free: 11.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.9284, allocations: 325.1 kB / 0.9724 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.9289, allocations: 187.2 kB / 0.9725 GB, free: 11.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/0.9297, allocations: 0.4946 MB / 0.973 GB, free: 10.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.9303, allocations: 297.8 kB / 0.9733 GB, free: 10.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.9303, allocations: 2.688 kB / 0.9733 GB, free: 10.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001572/0.9319, allocations: 0.683 MB / 0.974 GB, free: 10.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002463/0.9322, allocations: 278.8 kB / 0.9742 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.9322, allocations: 5.844 kB / 0.9743 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.9322, allocations: 8.469 kB / 0.9743 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.9328, allocations: 119.1 kB / 0.9744 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.9329, allocations: 6.031 kB / 0.9744 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.9341, allocations: 103.1 kB / 0.9745 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.9342, allocations: 23.97 kB / 0.9745 GB, free: 9.926 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.9342, allocations: 5.719 kB / 0.9745 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001208/0.9354, allocations: 0.5475 MB / 0.975 GB, free: 9.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.9354, allocations: 13.2 kB / 0.9751 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.9355, allocations: 9.375 kB / 0.9751 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.936, allocations: 109.2 kB / 0.9752 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.936, allocations: 8.344 kB / 0.9752 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.9371, allocations: 93.48 kB / 0.9753 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.9371, allocations: 23.25 kB / 0.9753 GB, free: 9.688 MB / 490.7 MB 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.0007799/0.9379, allocations: 471.4 kB / 0.9757 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.9381, allocations: 107.2 kB / 0.9758 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.9393, allocations: 0.4997 MB / 0.9763 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.9393, allocations: 5.953 kB / 0.9763 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.24e-06/0.9393, allocations: 2.875 kB / 0.9763 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.9393, allocations: 3.984 kB / 0.9763 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.9421, allocations: 1.393 MB / 0.9777 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.84e-06/0.9421, allocations: 2.5 kB / 0.9777 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.9425, allocations: 69.39 kB / 0.9778 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.93e-06/0.9425, allocations: 2.906 kB / 0.9778 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.9425, allocations: 12.06 kB / 0.9778 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.9426, allocations: 5.953 kB / 0.9778 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.589e-06/0.9426, allocations: 7.031 kB / 0.9778 GB, free: 8.473 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.9438, allocations: 0.6142 MB / 0.9784 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/0.9443, allocations: 222.3 kB / 0.9786 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.9445, allocations: 5 kB / 0.9786 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/0.9452, allocations: 68.69 kB / 0.9787 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.9453, allocations: 28.8 kB / 0.9787 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.9454, allocations: 15.73 kB / 0.9787 GB, free: 7.934 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001331/0.9467, allocations: 0.7828 MB / 0.9795 GB, free: 7.672 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.23e-07/0.9467, allocations: 0 / 0.9795 GB, free: 7.672 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001503/0.9483, allocations: 407.8 kB / 0.9799 GB, free: 7.641 MB / 490.7 MB 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004747/0.9487, allocations: 190.7 kB / 0.9801 GB, free: 7.504 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.9508, allocations: 0.7926 MB / 0.9808 GB, free: 7.223 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.9508, allocations: 4.688 kB / 0.9808 GB, free: 7.223 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.9513, allocations: 211.8 kB / 0.981 GB, free: 7.176 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.9541, allocations: 449.3 kB / 0.9815 GB, free: 7.031 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.9578, allocations: 1.955 MB / 0.9834 GB, free: 5.938 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.9589, allocations: 1.205 MB / 0.9845 GB, free: 5.035 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001731/0.9606, allocations: 415.9 kB / 0.9849 GB, free: 4.855 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.9608, allocations: 74.8 kB / 0.985 GB, free: 4.844 MB / 490.7 MB Notification: Performance of SimCode: time 1.754e-06/0.9609, allocations: 3.938 kB / 0.985 GB, free: 4.84 MB / 490.7 MB Notification: Performance of Templates: time 0.04022/1.001, allocations: 16.01 MB / 1.001 GB, free: 10.23 MB / 0.4949 GB