Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 90.83 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008505/0.008505, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 10.22 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3706, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.191/0.5616, allocations: 163.4 MB / 1.234 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004262/0.5659, allocations: 2.205 MB / 1.236 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.5663, allocations: 15.88 kB / 1.236 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007292/0.567, allocations: 198.9 kB / 1.236 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.5688, allocations: 0.6303 MB / 1.237 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.57, allocations: 390.6 kB / 1.237 GB, free: 124 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003877/0.5738, allocations: 3.799 MB / 1.241 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.5769, allocations: 2.348 MB / 1.243 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.5794, allocations: 1.117 MB / 1.244 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.5807, allocations: 0.8635 MB / 1.245 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.5808, allocations: 48 kB / 1.245 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.5825, allocations: 0.8925 MB / 1.246 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003601/0.5829, allocations: 330.7 kB / 1.246 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000805/0.5837, allocations: 0.604 MB / 1.247 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.5856, allocations: 1.581 MB / 1.248 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5857, allocations: 0 / 1.248 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5857, allocations: 0 / 1.248 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.5857, allocations: 0 / 1.248 GB, free: 4.488 MB / 0.9981 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.002561/0.5883, allocations: 1.475 MB / 1.25 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5883, allocations: 8.031 kB / 1.25 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008118/0.5891, allocations: 206.4 kB / 1.25 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.5905, allocations: 0.8734 MB / 1.251 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.5905, allocations: 49.31 kB / 1.251 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5906, allocations: 63.94 kB / 1.251 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.5921, allocations: 0.9948 MB / 1.252 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.5922, allocations: 11.88 kB / 1.252 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.5922, allocations: 24 kB / 1.252 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5922, allocations: 16 kB / 1.252 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5836/1.176, allocations: 0.8032 MB / 1.253 GB, free: 183.8 MB / 0.9981 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.005081/1.181, allocations: 4.805 MB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/1.183, allocations: 4.017 MB / 1.261 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/1.184, allocations: 349.9 kB / 1.262 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/1.184, allocations: 198.2 kB / 1.262 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005536/1.184, allocations: 328.3 kB / 1.262 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000397/1.185, allocations: 36.23 kB / 1.262 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.705e-06/1.185, allocations: 0 / 1.262 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.004609/1.19, allocations: 1.606 MB / 1.264 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/1.19, allocations: 90.44 kB / 1.264 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/1.191, allocations: 1.181 MB / 1.265 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/1.191, allocations: 39.08 kB / 1.265 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/1.192, allocations: 0.5124 MB / 1.266 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-05/1.192, allocations: 121.8 kB / 1.266 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/1.192, allocations: 46.61 kB / 1.266 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/1.192, allocations: 331.5 kB / 1.266 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/1.192, allocations: 233.8 kB / 1.266 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006801/1.193, allocations: 0.5678 MB / 1.267 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/1.194, allocations: 0.6932 MB / 1.268 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.194, allocations: 6.875 kB / 1.268 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002414/1.197, allocations: 1.117 MB / 1.269 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.197, allocations: 280.2 kB / 1.269 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.197, allocations: 5.406 kB / 1.269 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/1.198, allocations: 353.9 kB / 1.269 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/1.198, allocations: 109.4 kB / 1.269 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009092/1.199, allocations: 1.005 MB / 1.27 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.2, allocations: 93.91 kB / 1.27 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/1.2, allocations: 26.31 kB / 1.27 GB, free: 173 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/1.2, allocations: 2.625 kB / 1.27 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00144/1.202, allocations: 0.7847 MB / 1.271 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.202, allocations: 9.156 kB / 1.271 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/1.203, allocations: 222.2 kB / 1.271 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/1.203, allocations: 108 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/1.207, allocations: 2.919 MB / 1.274 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.208, allocations: 89.64 kB / 1.274 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/1.208, allocations: 24.34 kB / 1.274 GB, free: 170.8 MB / 0.9981 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.001037/1.209, allocations: 480 kB / 1.275 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/1.209, allocations: 105.1 kB / 1.275 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/1.211, allocations: 0.7983 MB / 1.276 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.211, allocations: 8.312 kB / 1.276 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.211, allocations: 2.578 kB / 1.276 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.211, allocations: 2.344 kB / 1.276 GB, free: 170.1 MB / 0.9981 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.003646/1.215, allocations: 2.128 MB / 1.278 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.215, allocations: 2.062 kB / 1.278 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/1.215, allocations: 77.12 kB / 1.278 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/1.215, allocations: 184.5 kB / 1.278 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/1.215, allocations: 10.44 kB / 1.278 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006916/1.216, allocations: 0.8515 MB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.216, allocations: 7.047 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/1.218, allocations: 0.8575 MB / 1.28 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/1.218, allocations: 231.9 kB / 1.28 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.218, allocations: 12.72 kB / 1.28 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006944/1.219, allocations: 80.73 kB / 1.28 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.219, allocations: 29 kB / 1.28 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/1.219, allocations: 13.45 kB / 1.28 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001337/1.22, allocations: 0.8302 MB / 1.281 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.22, allocations: 1.125 kB / 1.281 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001836/1.222, allocations: 0.5072 MB / 1.281 GB, free: 167.2 MB / 0.9981 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 (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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005019/1.223, allocations: 198.5 kB / 1.282 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002529/1.225, allocations: 1.15 MB / 1.283 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.225, allocations: 5.688 kB / 1.283 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005748/1.226, allocations: 250.6 kB / 1.283 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/1.23, allocations: 0.6404 MB / 1.284 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/1.234, allocations: 2.212 MB / 1.286 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009027/1.235, allocations: 1.212 MB / 1.287 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001457/1.237, allocations: 385.4 kB / 1.287 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/1.237, allocations: 73 kB / 1.287 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.237, allocations: 0 / 1.287 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.0395/1.276, allocations: 21.37 MB / 1.308 GB, free: 153.8 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)