Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.707/2.707, allocations: 287.9 MB / 302.9 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 179.5 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 88.08 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.000484, allocations: 16.19 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1562, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.7175/0.8738, allocations: 135.7 MB / 1.111 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005629/0.8794, allocations: 3.107 MB / 1.114 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004869/0.88, allocations: 8.5 kB / 1.114 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000756/0.8807, allocations: 178.1 kB / 1.114 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.8828, allocations: 0.4964 MB / 1.115 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.8848, allocations: 456 kB / 1.115 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002507/0.8873, allocations: 1.498 MB / 1.117 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.8888, allocations: 0.7006 MB / 1.118 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.8907, allocations: 0.7004 MB / 1.118 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.8917, allocations: 496.4 kB / 1.119 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.8919, allocations: 35.09 kB / 1.119 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.8934, allocations: 414.2 kB / 1.119 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.8939, allocations: 257.6 kB / 1.119 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.8944, allocations: 233.4 kB / 1.12 GB, free: 16.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.8961, allocations: 0.9704 MB / 1.121 GB, free: 16.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.068e-06/0.8962, allocations: 0.9688 kB / 1.121 GB, free: 16.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.843e-06/0.8962, allocations: 0 / 1.121 GB, free: 16.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.8962, allocations: 4 kB / 1.121 GB, free: 16.35 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002779/0.899, allocations: 1.291 MB / 1.122 GB, free: 15.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.8991, allocations: 9.344 kB / 1.122 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.9002, allocations: 183.3 kB / 1.122 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.9025, allocations: 0.798 MB / 1.123 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/0.9026, allocations: 45.16 kB / 1.123 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.9027, allocations: 57.44 kB / 1.123 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.9045, allocations: 0.7915 MB / 1.124 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.9046, allocations: 1.859 kB / 1.124 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.9047, allocations: 24.59 kB / 1.124 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.9047, allocations: 13.16 kB / 1.124 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.906, allocations: 0.5468 MB / 1.124 GB, free: 14.87 MB / 0.698 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.006496/0.9126, allocations: 4.597 MB / 1.129 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009347/0.9135, allocations: 444.2 kB / 1.129 GB, free: 11.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.491e-05/0.9136, allocations: 12.5 kB / 1.129 GB, free: 11.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006215/0.9142, allocations: 307.2 kB / 1.129 GB, free: 11.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.687e-06/0.9143, allocations: 0 / 1.129 GB, free: 11.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.005079/0.9194, allocations: 1.331 MB / 1.131 GB, free: 11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.9195, allocations: 106.1 kB / 1.131 GB, free: 10.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.9215, allocations: 1.12 MB / 1.132 GB, free: 10.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.9217, allocations: 39.77 kB / 1.132 GB, free: 10.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/0.9222, allocations: 497.2 kB / 1.132 GB, free: 10.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.9224, allocations: 106.4 kB / 1.133 GB, free: 10.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.9224, allocations: 6.438 kB / 1.133 GB, free: 10.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.9226, allocations: 325.8 kB / 1.133 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.9231, allocations: 185.8 kB / 1.133 GB, free: 10.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007764/0.9239, allocations: 0.4945 MB / 1.134 GB, free: 9.773 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.9245, allocations: 296.4 kB / 1.134 GB, free: 9.715 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.917e-06/0.9245, allocations: 2.156 kB / 1.134 GB, free: 9.715 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002999/0.9275, allocations: 0.9849 MB / 1.135 GB, free: 9.434 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001174/0.9287, allocations: 2.135 MB / 1.137 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.9288, allocations: 9.594 kB / 1.137 GB, free: 7.184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.9305, allocations: 329.9 kB / 1.137 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.9309, allocations: 68.59 kB / 1.137 GB, free: 7.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.9324, allocations: 1.018 MB / 1.138 GB, free: 6.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.9337, allocations: 106 kB / 1.138 GB, free: 6.359 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.9338, allocations: 28.06 kB / 1.138 GB, free: 6.355 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.9338, allocations: 6.469 kB / 1.138 GB, free: 6.355 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001921/0.9357, allocations: 0.7412 MB / 1.139 GB, free: 6.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.9358, allocations: 9.859 kB / 1.139 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000757/0.9365, allocations: 215.6 kB / 1.139 GB, free: 6.051 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.9369, allocations: 59.56 kB / 1.139 GB, free: 6.039 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/0.9424, allocations: 3.175 MB / 1.142 GB, free: 4.145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.9437, allocations: 98.28 kB / 1.143 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.9438, allocations: 20.25 kB / 1.143 GB, free: 4.102 MB / 0.698 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009231/0.9447, allocations: 474.4 kB / 1.143 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.945, allocations: 102.8 kB / 1.143 GB, free: 3.777 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.9468, allocations: 0.6928 MB / 1.144 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.9468, allocations: 3.375 kB / 1.144 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.532e-06/0.9469, allocations: 5.406 kB / 1.144 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.9469, allocations: 5.297 kB / 1.144 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.9494, allocations: 1.097 MB / 1.145 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.9494, allocations: 6.391 kB / 1.145 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.9496, allocations: 35.19 kB / 1.145 GB, free: 2.883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007197/0.9504, allocations: 221.6 kB / 1.145 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.9504, allocations: 7.469 kB / 1.145 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.9518, allocations: 0.9823 MB / 1.146 GB, free: 2.184 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.9518, allocations: 6.062 kB / 1.146 GB, free: 2.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.9537, allocations: 0.8609 MB / 1.147 GB, free: 1.707 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000632/0.9544, allocations: 216.6 kB / 1.147 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.9546, allocations: 15.89 kB / 1.147 GB, free: 1.539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/0.9553, allocations: 55.05 kB / 1.147 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.9555, allocations: 35.89 kB / 1.147 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.9555, allocations: 11.47 kB / 1.147 GB, free: 1.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00157/0.9571, allocations: 0.793 MB / 1.148 GB, free: 1.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.74e-07/0.9571, allocations: 0 / 1.148 GB, free: 1.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002064/0.9592, allocations: 451.4 kB / 1.148 GB, free: 1.199 MB / 0.698 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 (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.000549/0.9598, allocations: 169.6 kB / 1.149 GB, free: 1.086 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002661/0.9625, allocations: 1.06 MB / 1.15 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.215e-06/0.9625, allocations: 1.781 kB / 1.15 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007455/0.9633, allocations: 236.2 kB / 1.15 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.966, allocations: 458.2 kB / 1.15 GB, free: 432 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.9704, allocations: 1.976 MB / 1.152 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.9715, allocations: 1.202 MB / 1.153 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001464/0.973, allocations: 323.9 kB / 1.154 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.9732, allocations: 61.67 kB / 1.154 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of SimCode: time 2.542e-06/0.9733, allocations: 4 kB / 1.154 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.04483/1.018, allocations: 18.35 MB / 1.172 GB, free: 5.246 MB / 0.7136 GB