Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.594/1.594, allocations: 287.5 MB / 302.6 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 184.8 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000732/0.000732, allocations: 95.5 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 19.92 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2101, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.6586/0.8687, allocations: 152.4 MB / 1.128 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003673/0.8724, allocations: 2.054 MB / 1.13 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003892/0.8729, allocations: 9 kB / 1.13 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.8736, allocations: 163.4 kB / 1.13 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.8751, allocations: 0.5004 MB / 1.13 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.8762, allocations: 367.9 kB / 1.131 GB, free: 484 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003264/0.8795, allocations: 3.296 MB / 1.134 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002911/0.8824, allocations: 2.346 MB / 1.136 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.8849, allocations: 1.054 MB / 1.137 GB, free: 15.37 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.8861, allocations: 0.8509 MB / 1.138 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.8862, allocations: 47.41 kB / 1.138 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.8878, allocations: 0.5962 MB / 1.139 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.8882, allocations: 330.3 kB / 1.139 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.8885, allocations: 252.5 kB / 1.139 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.8899, allocations: 1.172 MB / 1.14 GB, free: 14.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8899, allocations: 3.062 kB / 1.14 GB, free: 14.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8899, allocations: 0 / 1.14 GB, free: 14.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.8899, allocations: 1.125 kB / 1.14 GB, free: 14.93 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.002845/0.8928, allocations: 1.513 MB / 1.142 GB, free: 13.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8928, allocations: 9.344 kB / 1.142 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.8937, allocations: 193.2 kB / 1.142 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.8954, allocations: 0.9158 MB / 1.143 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/0.8955, allocations: 45.22 kB / 1.143 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.8956, allocations: 70.81 kB / 1.143 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.8972, allocations: 0.9863 MB / 1.144 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.8972, allocations: 6.219 kB / 1.144 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.8973, allocations: 21.25 kB / 1.144 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.8973, allocations: 15.34 kB / 1.144 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.8987, allocations: 0.8038 MB / 1.145 GB, free: 12.67 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.005056/0.9038, allocations: 4.828 MB / 1.149 GB, free: 8.855 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.9066, allocations: 4.016 MB / 1.153 GB, free: 4.465 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.9072, allocations: 359.5 kB / 1.154 GB, free: 4.395 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.9075, allocations: 195.7 kB / 1.154 GB, free: 4.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005961/0.9081, allocations: 332.3 kB / 1.154 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006034/0.9087, allocations: 42.91 kB / 1.154 GB, free: 4.023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.765e-06/0.9087, allocations: 0 / 1.154 GB, free: 4.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.00486/0.9136, allocations: 1.613 MB / 1.156 GB, free: 3.332 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.9137, allocations: 81.61 kB / 1.156 GB, free: 3.238 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.9154, allocations: 1.173 MB / 1.157 GB, free: 2.871 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.5e-05/0.9154, allocations: 42.64 kB / 1.157 GB, free: 2.836 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.9159, allocations: 0.5112 MB / 1.158 GB, free: 2.617 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.916, allocations: 126.9 kB / 1.158 GB, free: 2.527 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.916, allocations: 10.66 kB / 1.158 GB, free: 2.527 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.9162, allocations: 327.1 kB / 1.158 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.9165, allocations: 205.4 kB / 1.158 GB, free: 2.172 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.9172, allocations: 0.535 MB / 1.159 GB, free: 1.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/0.9181, allocations: 0.6498 MB / 1.159 GB, free: 1.387 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.9181, allocations: 1.312 kB / 1.159 GB, free: 1.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002362/0.9204, allocations: 1.05 MB / 1.16 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.9207, allocations: 276.2 kB / 1.161 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.9207, allocations: 5.219 kB / 1.161 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.922, allocations: 332.2 kB / 1.161 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.9224, allocations: 105.6 kB / 1.161 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.9235, allocations: 1.009 MB / 1.162 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.9247, allocations: 93.55 kB / 1.162 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.9248, allocations: 24.59 kB / 1.162 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.9248, allocations: 3.375 kB / 1.162 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/0.9263, allocations: 0.782 MB / 1.163 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.9263, allocations: 10.62 kB / 1.163 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.9269, allocations: 230.7 kB / 1.163 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.9273, allocations: 108.1 kB / 1.163 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.9312, allocations: 2.934 MB / 1.166 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.9325, allocations: 101.1 kB / 1.166 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.9325, allocations: 29.78 kB / 1.166 GB, free: 13.7 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * 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 (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.0007707/0.9333, allocations: 478.7 kB / 1.167 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.9335, allocations: 114.6 kB / 1.167 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.9349, allocations: 0.7949 MB / 1.168 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.935, allocations: 3.344 kB / 1.168 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.935, allocations: 0 / 1.168 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.935, allocations: 6.922 kB / 1.168 GB, free: 13.1 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 postOpt removeSimpleEquations (simulation): time 0.003539/0.9385, allocations: 2.123 MB / 1.17 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.9386, allocations: 0 / 1.17 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.9389, allocations: 80.09 kB / 1.17 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.9394, allocations: 171.1 kB / 1.17 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.9394, allocations: 17.39 kB / 1.17 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007434/0.9402, allocations: 0.8568 MB / 1.171 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.9402, allocations: 3.984 kB / 1.171 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.9415, allocations: 0.8567 MB / 1.172 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.942, allocations: 241.6 kB / 1.172 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.9422, allocations: 5.781 kB / 1.172 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.9431, allocations: 79.48 kB / 1.172 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.9432, allocations: 42.05 kB / 1.172 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.9432, allocations: 12.33 kB / 1.172 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001268/0.9445, allocations: 0.8237 MB / 1.173 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9445, allocations: 0 / 1.173 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001832/0.9463, allocations: 0.5062 MB / 1.173 GB, free: 10.27 MB / 0.7136 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005241/0.9469, allocations: 192.5 kB / 1.173 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.9491, allocations: 1.119 MB / 1.175 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9491, allocations: 0 / 1.175 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.9495, allocations: 261.4 kB / 1.175 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/0.9533, allocations: 0.6541 MB / 1.175 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.9574, allocations: 2.106 MB / 1.177 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.9585, allocations: 1.211 MB / 1.179 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001251/0.9597, allocations: 356.8 kB / 1.179 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.9599, allocations: 72.64 kB / 1.179 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/0.9599, allocations: 0 / 1.179 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of Templates: time 0.03661/0.9966, allocations: 20.85 MB / 1.199 GB, free: 6.504 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)