Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.276/1.276, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008936/0.0008939, allocations: 170.1 kB / 326.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205 MB / 0.5767 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007293/0.0007294, allocations: 85.19 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 15.88 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 105.4 MB / 0.8968 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.5125/0.6729, allocations: 165.3 MB / 1.058 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.6759, allocations: 2.266 MB / 1.06 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.6762, allocations: 13.91 kB / 1.06 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.6768, allocations: 201.8 kB / 1.061 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.6783, allocations: 0.6395 MB / 1.061 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.6793, allocations: 392.7 kB / 1.062 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003317/0.6826, allocations: 3.794 MB / 1.065 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.6856, allocations: 2.355 MB / 1.068 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.6878, allocations: 1.089 MB / 1.069 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.689, allocations: 0.8812 MB / 1.07 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.6891, allocations: 47.94 kB / 1.07 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.6908, allocations: 0.9008 MB / 1.07 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.6912, allocations: 336.2 kB / 1.071 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007326/0.6919, allocations: 0.5804 MB / 1.071 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.6938, allocations: 1.611 MB / 1.073 GB, free: 1.309 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6938, allocations: 4.5 kB / 1.073 GB, free: 1.305 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6939, allocations: 0 / 1.073 GB, free: 1.305 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.6939, allocations: 0 / 1.073 GB, free: 1.305 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002413/0.6963, allocations: 1.5 MB / 1.074 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.6963, allocations: 8.531 kB / 1.074 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/0.6971, allocations: 198.5 kB / 1.075 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.6985, allocations: 0.9146 MB / 1.075 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.6985, allocations: 47.44 kB / 1.076 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.6986, allocations: 67.69 kB / 1.076 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.6999, allocations: 0.9932 MB / 1.077 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.7, allocations: 7.375 kB / 1.077 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/0.7, allocations: 26.94 kB / 1.077 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.7001, allocations: 13.97 kB / 1.077 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.7012, allocations: 0.8055 MB / 1.077 GB, free: 15.79 MB / 0.7136 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.004168/0.7054, allocations: 4.836 MB / 1.082 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.7078, allocations: 4.02 MB / 1.086 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.7082, allocations: 353.9 kB / 1.086 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.7085, allocations: 190.7 kB / 1.087 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004819/0.709, allocations: 323.9 kB / 1.087 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003495/0.7094, allocations: 33.12 kB / 1.087 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 2.544e-06/0.7094, allocations: 0 / 1.087 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.004425/0.7138, allocations: 1.625 MB / 1.088 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.7139, allocations: 86.42 kB / 1.089 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.7152, allocations: 1.186 MB / 1.09 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.7153, allocations: 39.45 kB / 1.09 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.7156, allocations: 0.5112 MB / 1.09 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/0.7157, allocations: 126.7 kB / 1.09 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.7158, allocations: 47.98 kB / 1.09 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.7159, allocations: 326.2 kB / 1.091 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.7163, allocations: 233.7 kB / 1.091 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/0.7169, allocations: 0.5643 MB / 1.092 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008141/0.7177, allocations: 0.7037 MB / 1.092 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.7177, allocations: 3.219 kB / 1.092 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002076/0.7198, allocations: 1.13 MB / 1.093 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.72, allocations: 269 kB / 1.094 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.72, allocations: 6.312 kB / 1.094 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.7212, allocations: 371.8 kB / 1.094 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.7216, allocations: 101.2 kB / 1.094 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009001/0.7225, allocations: 1.006 MB / 1.095 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009608/0.7235, allocations: 104.2 kB / 1.095 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.7235, allocations: 22.19 kB / 1.095 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.7235, allocations: 5.125 kB / 1.095 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001245/0.7248, allocations: 0.7992 MB / 1.096 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7248, allocations: 8.75 kB / 1.096 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.7253, allocations: 236.6 kB / 1.096 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.7257, allocations: 103.2 kB / 1.096 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/0.7287, allocations: 2.926 MB / 1.099 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008562/0.7296, allocations: 104.2 kB / 1.099 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.7296, allocations: 21.41 kB / 1.099 GB, free: 3.746 MB / 0.7136 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006184/0.7302, allocations: 474.3 kB / 1.1 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.7304, allocations: 112.8 kB / 1.1 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.7316, allocations: 0.7971 MB / 1.101 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.7316, allocations: 5.188 kB / 1.101 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7316, allocations: 0 / 1.101 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.7319, allocations: 227.8 kB / 1.101 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.732, allocations: 7.5 kB / 1.101 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/0.7326, allocations: 76.11 kB / 1.101 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.7327, allocations: 44.11 kB / 1.101 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001365/0.7341, allocations: 0.9027 MB / 1.102 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00111/0.7352, allocations: 1.029 MB / 1.103 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002951/0.7355, allocations: 205 kB / 1.103 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000863/0.7364, allocations: 0.8369 MB / 1.104 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of Backend: time 4.61e-07/0.7364, allocations: 0 / 1.104 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002578/0.739, allocations: 1.238 MB / 1.105 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of SimCode: time 0.004156/0.7431, allocations: 3.102 MB / 1.108 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of Templates: time 0.03114/0.7743, allocations: 20.91 MB / 1.128 GB, free: 9.305 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)