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.71/4.71, allocations: 0.5623 GB / 0.5776 GB, free: 3.367 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.002508/0.002508, allocations: 363.8 kB / 0.6447 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.132/4.132, allocations: 410.7 MB / 1.113 GB, free: 6.008 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.001794/0.001793, allocations: 179.8 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004835, allocations: 12 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7013, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.173/0.8743, allocations: 146 MB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005719/0.8801, allocations: 3.302 MB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/0.8806, allocations: 7.938 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007208/0.8813, allocations: 155 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.8832, allocations: 0.5402 MB / 1.608 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.885, allocations: 453.8 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003484/0.8885, allocations: 2.984 MB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.8897, allocations: 0.6885 MB / 1.612 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.8915, allocations: 0.8013 MB / 1.613 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.8928, allocations: 0.7166 MB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.8929, allocations: 36 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.8942, allocations: 379.1 kB / 1.614 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.8946, allocations: 290.8 kB / 1.614 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.895, allocations: 233.1 kB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.8964, allocations: 0.9704 MB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8964, allocations: 0 / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8964, allocations: 4 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.8965, allocations: 0 / 1.615 GB, free: 126.8 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.002888/0.8994, allocations: 1.291 MB / 1.616 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.8994, allocations: 11.62 kB / 1.616 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.9005, allocations: 186.5 kB / 1.617 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.9026, allocations: 0.8041 MB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.9027, allocations: 41 kB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.9028, allocations: 59.19 kB / 1.618 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.9044, allocations: 0.7966 MB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.9045, allocations: 0 / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.9046, allocations: 27.98 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.9046, allocations: 12 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.906, allocations: 0.5383 MB / 1.619 GB, free: 122.9 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.005027/0.911, allocations: 4.615 MB / 1.623 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.9121, allocations: 426.2 kB / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.9127, allocations: 252.7 kB / 1.624 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000346/0.9131, allocations: 194.2 kB / 1.624 GB, free: 117 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007177/0.9138, allocations: 301.3 kB / 1.624 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=31): time 3.346e-06/0.9139, allocations: 0 / 1.624 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31): time 0.006317/0.9202, allocations: 1.344 MB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.9202, allocations: 85.11 kB / 1.626 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.9221, allocations: 1.114 MB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/0.9223, allocations: 37.7 kB / 1.627 GB, free: 114 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/0.9227, allocations: 496 kB / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.9229, allocations: 114.5 kB / 1.628 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.9229, allocations: 8 kB / 1.628 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.923, allocations: 322 kB / 1.628 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.9235, allocations: 188.7 kB / 1.628 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007323/0.9243, allocations: 0.494 MB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.925, allocations: 296.7 kB / 1.629 GB, free: 112 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.925, allocations: 4 kB / 1.629 GB, free: 112 MB / 0.8542 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003496/0.9285, allocations: 0.9818 MB / 1.63 GB, free: 111 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.9287, allocations: 275.2 kB / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.9287, allocations: 4 kB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/0.931, allocations: 348.3 kB / 1.63 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.9314, allocations: 63.91 kB / 1.63 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.9328, allocations: 1.002 MB / 1.631 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.9342, allocations: 107.6 kB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.9343, allocations: 24 kB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.9343, allocations: 11.94 kB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002081/0.9364, allocations: 0.7356 MB / 1.632 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9364, allocations: 4 kB / 1.632 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008822/0.9373, allocations: 216.7 kB / 1.633 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.9377, allocations: 63.84 kB / 1.633 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004827/0.9425, allocations: 3.115 MB / 1.636 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.9438, allocations: 99.59 kB / 1.636 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.9439, allocations: 20 kB / 1.636 GB, free: 104.7 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.0006483/0.9445, allocations: 472.3 kB / 1.636 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.9447, allocations: 98.78 kB / 1.636 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.9466, allocations: 0.7249 MB / 1.637 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.9466, allocations: 4 kB / 1.637 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.9466, allocations: 0 / 1.637 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.947, allocations: 223.7 kB / 1.637 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.9472, allocations: 8 kB / 1.637 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/0.948, allocations: 59.78 kB / 1.637 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.9482, allocations: 47.86 kB / 1.637 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002263/0.9505, allocations: 0.8123 MB / 1.638 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001832/0.9523, allocations: 0.9405 MB / 1.639 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005023/0.9529, allocations: 189.9 kB / 1.639 GB, free: 101 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001382/0.9543, allocations: 0.7876 MB / 1.64 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of Backend: time 9.62e-07/0.9543, allocations: 0 / 1.64 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003621/0.9579, allocations: 1.12 MB / 1.641 GB, free: 99.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.006104/0.9641, allocations: 2.857 MB / 1.644 GB, free: 96.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.04362/1.008, allocations: 18.69 MB / 1.662 GB, free: 77.83 MB / 0.8542 GB