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 2.618/2.618, allocations: 287.5 MB / 302.4 MB, free: 8.406 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.001343/0.001343, allocations: 178.3 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 0.6297 GB, free: 10.5 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.001307/0.001307, allocations: 90.66 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004731, allocations: 16.53 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.8564/1.057, allocations: 152.4 MB / 1.127 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00453/1.062, allocations: 2.049 MB / 1.129 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004146/1.062, allocations: 13.62 kB / 1.129 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007743/1.063, allocations: 160.9 kB / 1.129 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/1.065, allocations: 0.4991 MB / 1.13 GB, free: 460 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/1.066, allocations: 371.6 kB / 1.13 GB, free: 424 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004621/1.071, allocations: 3.271 MB / 1.133 GB, free: 16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003965/1.075, allocations: 2.295 MB / 1.136 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/1.078, allocations: 1.055 MB / 1.137 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/1.079, allocations: 0.8477 MB / 1.138 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/1.079, allocations: 52.33 kB / 1.138 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/1.082, allocations: 0.5938 MB / 1.138 GB, free: 15.17 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005486/1.082, allocations: 328.5 kB / 1.138 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005105/1.083, allocations: 247.8 kB / 1.139 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/1.085, allocations: 1.175 MB / 1.14 GB, free: 14.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.085, allocations: 4 kB / 1.14 GB, free: 14.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.908e-06/1.085, allocations: 2.203 kB / 1.14 GB, free: 14.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.094e-05/1.086, allocations: 1.344 kB / 1.14 GB, free: 14.94 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.004525/1.09, allocations: 1.516 MB / 1.141 GB, free: 13.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.09, allocations: 10.33 kB / 1.141 GB, free: 13.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/1.091, allocations: 200.5 kB / 1.142 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/1.094, allocations: 0.8676 MB / 1.142 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.688e-05/1.094, allocations: 47.72 kB / 1.142 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/1.094, allocations: 61.97 kB / 1.142 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/1.097, allocations: 0.993 MB / 1.143 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/1.097, allocations: 1.656 kB / 1.143 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.097, allocations: 25.75 kB / 1.143 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/1.097, allocations: 21.88 kB / 1.143 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/1.099, allocations: 0.7998 MB / 1.144 GB, free: 12.71 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.008147/1.107, allocations: 4.822 MB / 1.149 GB, free: 8.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/1.111, allocations: 4.017 MB / 1.153 GB, free: 4.516 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/1.112, allocations: 353.8 kB / 1.153 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/1.113, allocations: 198.2 kB / 1.153 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000873/1.114, allocations: 335 kB / 1.154 GB, free: 4.102 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000751/1.114, allocations: 31.62 kB / 1.154 GB, free: 4.086 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 3.387e-06/1.115, allocations: 0 / 1.154 GB, free: 4.086 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.00861/1.123, allocations: 1.605 MB / 1.155 GB, free: 3.395 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/1.123, allocations: 85.56 kB / 1.155 GB, free: 3.297 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/1.126, allocations: 1.168 MB / 1.157 GB, free: 2.934 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/1.126, allocations: 36.64 kB / 1.157 GB, free: 2.902 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006159/1.127, allocations: 0.5165 MB / 1.157 GB, free: 2.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/1.127, allocations: 128.2 kB / 1.157 GB, free: 2.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/1.127, allocations: 8.625 kB / 1.157 GB, free: 2.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.127, allocations: 327.1 kB / 1.158 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006623/1.128, allocations: 207.6 kB / 1.158 GB, free: 2.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/1.129, allocations: 0.5341 MB / 1.158 GB, free: 1.793 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/1.13, allocations: 323.5 kB / 1.159 GB, free: 1.691 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.13, allocations: 1.688 kB / 1.159 GB, free: 1.691 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003915/1.133, allocations: 1.047 MB / 1.16 GB, free: 1.293 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002388/1.134, allocations: 276.2 kB / 1.16 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.134, allocations: 5.594 kB / 1.16 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/1.136, allocations: 332.7 kB / 1.16 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/1.137, allocations: 106.5 kB / 1.16 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/1.138, allocations: 0.9974 MB / 1.161 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/1.14, allocations: 100.5 kB / 1.161 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.98e-05/1.14, allocations: 27.89 kB / 1.161 GB, free: 164 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.14, allocations: 3.875 kB / 1.161 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002592/1.143, allocations: 0.8011 MB / 1.162 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.143, allocations: 5.25 kB / 1.162 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009691/1.144, allocations: 226.6 kB / 1.162 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/1.145, allocations: 101.7 kB / 1.162 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005673/1.15, allocations: 2.95 MB / 1.165 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.152, allocations: 102.7 kB / 1.165 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/1.152, allocations: 22.88 kB / 1.165 GB, free: 14.02 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.000923/1.153, allocations: 479.2 kB / 1.166 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.154, allocations: 110.1 kB / 1.166 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/1.156, allocations: 0.7914 MB / 1.167 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/1.156, allocations: 6.156 kB / 1.167 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.156, allocations: 0 / 1.167 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.156, allocations: 3.984 kB / 1.167 GB, free: 13.43 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.004527/1.16, allocations: 2.13 MB / 1.169 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.16, allocations: 2.844 kB / 1.169 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/1.161, allocations: 78.47 kB / 1.169 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006817/1.162, allocations: 176.8 kB / 1.169 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/1.162, allocations: 8 kB / 1.169 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/1.163, allocations: 0.871 MB / 1.17 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.163, allocations: 2.688 kB / 1.17 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/1.165, allocations: 0.8456 MB / 1.171 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000697/1.166, allocations: 240.5 kB / 1.171 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/1.166, allocations: 9.531 kB / 1.171 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.167, allocations: 73.58 kB / 1.171 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.167, allocations: 31.61 kB / 1.171 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/1.167, allocations: 16.02 kB / 1.171 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001699/1.169, allocations: 0.8248 MB / 1.172 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.169, allocations: 2.938 kB / 1.172 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002246/1.171, allocations: 0.5094 MB / 1.173 GB, free: 10.61 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.0005798/1.172, allocations: 187.2 kB / 1.173 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003182/1.175, allocations: 1.134 MB / 1.174 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.175, allocations: 0 / 1.174 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007377/1.176, allocations: 253.5 kB / 1.174 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006066/1.182, allocations: 0.6572 MB / 1.175 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/1.187, allocations: 2.111 MB / 1.177 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.188, allocations: 1.208 MB / 1.178 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00183/1.189, allocations: 361.9 kB / 1.178 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/1.19, allocations: 67.25 kB / 1.178 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/1.19, allocations: 0 / 1.178 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of Templates: time 0.05656/1.246, allocations: 20.85 MB / 1.199 GB, free: 7.023 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)