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 4.873/4.873, allocations: 0.5623 GB / 0.5769 GB, free: 3.352 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.002448/0.002447, allocations: 356.2 kB / 0.644 GB, free: 185.6 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.223/4.223, allocations: 410.7 MB / 1.112 GB, free: 5.945 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.001771/0.001771, allocations: 191.3 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004926, allocations: 12 kB / 1.348 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5799/0.5804, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1425/0.723, allocations: 146 MB / 1.603 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007627/0.7307, allocations: 3.309 MB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.7312, allocations: 7.938 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.7321, allocations: 163 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.7344, allocations: 0.5319 MB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.7369, allocations: 443.3 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004762/0.7417, allocations: 2.994 MB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.7434, allocations: 0.6912 MB / 1.611 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.7455, allocations: 0.8051 MB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.7469, allocations: 0.7001 MB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.7471, allocations: 36 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.7491, allocations: 383.1 kB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006237/0.7497, allocations: 286.9 kB / 1.613 GB, free: 128 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005893/0.7503, allocations: 233.1 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.7526, allocations: 0.9821 MB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.7527, allocations: 0 / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.928e-06/0.7527, allocations: 3.938 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.7528, allocations: 0 / 1.615 GB, free: 126.7 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004801/0.7576, allocations: 1.288 MB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/0.7577, allocations: 15.62 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.7598, allocations: 186.5 kB / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/0.7638, allocations: 0.7963 MB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.764, allocations: 45 kB / 1.617 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.7642, allocations: 60 kB / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.7672, allocations: 0.7966 MB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.7673, allocations: 4 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.7674, allocations: 16 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/0.7675, allocations: 16 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.7701, allocations: 0.5423 MB / 1.618 GB, free: 122.8 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.008976/0.7791, allocations: 4.607 MB / 1.623 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.781, allocations: 431.3 kB / 1.623 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.7821, allocations: 252.7 kB / 1.623 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/0.7827, allocations: 186.2 kB / 1.624 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.784, allocations: 309.3 kB / 1.624 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=31): time 7.118e-06/0.784, allocations: 0 / 1.624 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31): time 0.01078/0.7948, allocations: 1.344 MB / 1.625 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.795, allocations: 81.11 kB / 1.625 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0036/0.7986, allocations: 1.114 MB / 1.626 GB, free: 114 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.7988, allocations: 33.7 kB / 1.626 GB, free: 114 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008802/0.7997, allocations: 0.4922 MB / 1.627 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.7999, allocations: 110.4 kB / 1.627 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.8, allocations: 12 kB / 1.627 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8002, allocations: 322 kB / 1.627 GB, free: 113 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009762/0.8012, allocations: 188.7 kB / 1.627 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.8025, allocations: 0.494 MB / 1.628 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.8037, allocations: 302.2 kB / 1.628 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.8038, allocations: 0 / 1.628 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.006118/0.8099, allocations: 0.9898 MB / 1.629 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.8102, allocations: 270.9 kB / 1.629 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.8103, allocations: 8 kB / 1.629 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003638/0.814, allocations: 344.3 kB / 1.63 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.8147, allocations: 63.91 kB / 1.63 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.8169, allocations: 1.009 MB / 1.631 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.8183, allocations: 103.4 kB / 1.631 GB, free: 109 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.8184, allocations: 31.92 kB / 1.631 GB, free: 109 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.8185, allocations: 4 kB / 1.631 GB, free: 109 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001637/0.8201, allocations: 0.7288 MB / 1.632 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.8202, allocations: 12.09 kB / 1.632 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006586/0.8208, allocations: 212.1 kB / 1.632 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.8211, allocations: 71.84 kB / 1.632 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.8252, allocations: 3.104 MB / 1.635 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/0.8262, allocations: 95.58 kB / 1.635 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.8262, allocations: 24 kB / 1.635 GB, free: 104.6 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 (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.0005879/0.8268, allocations: 468.7 kB / 1.636 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.827, allocations: 102.8 kB / 1.636 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.8286, allocations: 0.7177 MB / 1.636 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.681e-06/0.8286, allocations: 4.797 kB / 1.636 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.8286, allocations: 0 / 1.636 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.626e-06/0.8287, allocations: 7.938 kB / 1.636 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/0.8337, allocations: 1.619 MB / 1.638 GB, free: 101.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.8337, allocations: 8.156 kB / 1.638 GB, free: 101.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.834, allocations: 23.98 kB / 1.638 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009725/0.835, allocations: 228.2 kB / 1.638 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.835, allocations: 12 kB / 1.638 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.8366, allocations: 0.9776 MB / 1.639 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.319e-06/0.8366, allocations: 4.031 kB / 1.639 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.839, allocations: 0.8485 MB / 1.64 GB, free: 99.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/0.8397, allocations: 216.6 kB / 1.64 GB, free: 99.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.8399, allocations: 11.98 kB / 1.64 GB, free: 99.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.8411, allocations: 55.89 kB / 1.64 GB, free: 99.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.8413, allocations: 27.95 kB / 1.64 GB, free: 99.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.8414, allocations: 19.95 kB / 1.64 GB, free: 99.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001731/0.8431, allocations: 0.7877 MB / 1.641 GB, free: 98.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.23e-07/0.8431, allocations: 0 / 1.641 GB, free: 98.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001637/0.8448, allocations: 447.4 kB / 1.642 GB, free: 97.83 MB / 0.8542 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.0004193/0.8452, allocations: 173.8 kB / 1.642 GB, free: 97.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002137/0.8474, allocations: 1.065 MB / 1.643 GB, free: 96.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.593e-06/0.8474, allocations: 0 / 1.643 GB, free: 96.56 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006387/0.848, allocations: 228.2 kB / 1.643 GB, free: 96.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.8507, allocations: 467.8 kB / 1.643 GB, free: 95.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.8537, allocations: 1.978 MB / 1.645 GB, free: 93.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.8544, allocations: 1.2 MB / 1.646 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001158/0.8556, allocations: 321.5 kB / 1.647 GB, free: 92.33 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.8557, allocations: 63.42 kB / 1.647 GB, free: 92.27 MB / 0.8542 GB Notification: Performance of SimCode: time 1.673e-06/0.8557, allocations: 0 / 1.647 GB, free: 92.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.03651/0.8923, allocations: 18.37 MB / 1.665 GB, free: 74.26 MB / 0.8542 GB