Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.616/1.616, allocations: 288.4 MB / 303.4 MB, free: 8.18 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.000941/0.0009413, allocations: 176.5 kB / 372 MB, free: 10.27 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.504/1.504, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.000797/0.000797, allocations: 103.6 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003749, allocations: 11.5 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2107, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.5788/0.7896, allocations: 146.7 MB / 1.123 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003192/0.7928, allocations: 1.647 MB / 1.124 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.7931, allocations: 9.594 kB / 1.125 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.7935, allocations: 110.6 kB / 1.125 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.7947, allocations: 390.2 kB / 1.125 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.7962, allocations: 328.7 kB / 1.125 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004251/0.8005, allocations: 3.013 MB / 1.128 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002989/0.8035, allocations: 2.152 MB / 1.13 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.8056, allocations: 0.8652 MB / 1.131 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007973/0.8064, allocations: 0.7038 MB / 1.132 GB, free: 356 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.612e-05/0.8065, allocations: 36.69 kB / 1.132 GB, free: 352 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.8078, allocations: 0.5574 MB / 1.132 GB, free: 304 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.808, allocations: 281.7 kB / 1.133 GB, free: 260 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.8083, allocations: 228.9 kB / 1.133 GB, free: 192 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.8094, allocations: 1.035 MB / 1.134 GB, free: 88 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8094, allocations: 3.656 kB / 1.134 GB, free: 88 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8094, allocations: 0 / 1.134 GB, free: 88 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.8095, allocations: 0 / 1.134 GB, free: 88 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002182/0.8116, allocations: 1.332 MB / 1.135 GB, free: 15.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.8117, allocations: 12.69 kB / 1.135 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007414/0.8125, allocations: 188.8 kB / 1.135 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.8138, allocations: 0.8034 MB / 1.136 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.8139, allocations: 48.95 kB / 1.136 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.8139, allocations: 54.97 kB / 1.136 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.8151, allocations: 0.8202 MB / 1.137 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.8151, allocations: 11.5 kB / 1.137 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.568e-05/0.8152, allocations: 24.02 kB / 1.137 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.8152, allocations: 12.41 kB / 1.137 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.8162, allocations: 0.5678 MB / 1.138 GB, free: 14.09 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.003934/0.8202, allocations: 4.258 MB / 1.142 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007185/0.8209, allocations: 457 kB / 1.142 GB, free: 10.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.8214, allocations: 344 kB / 1.143 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.8217, allocations: 197.7 kB / 1.143 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005484/0.8223, allocations: 331.8 kB / 1.143 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003007/0.8226, allocations: 31.19 kB / 1.143 GB, free: 10.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/0.8226, allocations: 0 / 1.143 GB, free: 10.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.005133/0.8278, allocations: 1.699 MB / 1.145 GB, free: 9.469 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.8278, allocations: 86.08 kB / 1.145 GB, free: 9.371 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.8293, allocations: 1.141 MB / 1.146 GB, free: 9.012 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.8294, allocations: 36.08 kB / 1.146 GB, free: 8.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.8298, allocations: 487.2 kB / 1.147 GB, free: 8.773 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/0.8299, allocations: 116.6 kB / 1.147 GB, free: 8.695 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.8299, allocations: 11.09 kB / 1.147 GB, free: 8.695 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.83, allocations: 325.8 kB / 1.147 GB, free: 8.383 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.8304, allocations: 213.2 kB / 1.147 GB, free: 8.336 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.831, allocations: 0.5154 MB / 1.148 GB, free: 7.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.8315, allocations: 324.8 kB / 1.148 GB, free: 7.801 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8315, allocations: 1.094 kB / 1.148 GB, free: 7.801 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002514/0.834, allocations: 1.03 MB / 1.149 GB, free: 7.422 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.8343, allocations: 278.8 kB / 1.149 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.8343, allocations: 7.859 kB / 1.149 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.8357, allocations: 355.2 kB / 1.15 GB, free: 6.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.8361, allocations: 105.4 kB / 1.15 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.8373, allocations: 1.044 MB / 1.151 GB, free: 6.309 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.8384, allocations: 86.75 kB / 1.151 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.8385, allocations: 28.98 kB / 1.151 GB, free: 6.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.8385, allocations: 3.531 kB / 1.151 GB, free: 6.27 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/0.84, allocations: 0.7975 MB / 1.152 GB, free: 6.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.84, allocations: 9.172 kB / 1.152 GB, free: 6.016 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006357/0.8407, allocations: 249.5 kB / 1.152 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.841, allocations: 96.03 kB / 1.152 GB, free: 5.926 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/0.8447, allocations: 3.045 MB / 1.155 GB, free: 4.141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.8459, allocations: 89.31 kB / 1.155 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.8459, allocations: 24.84 kB / 1.155 GB, free: 4.105 MB / 0.698 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 (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007446/0.8467, allocations: 469.9 kB / 1.155 GB, free: 3.836 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.8469, allocations: 105.2 kB / 1.156 GB, free: 3.781 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.8483, allocations: 0.7864 MB / 1.156 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.8483, allocations: 8.062 kB / 1.156 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.8483, allocations: 1.375 kB / 1.156 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.8483, allocations: 3.984 kB / 1.156 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.8509, allocations: 1.736 MB / 1.158 GB, free: 2.691 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.8509, allocations: 2.75 kB / 1.158 GB, free: 2.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.8512, allocations: 59.84 kB / 1.158 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/0.8517, allocations: 243.3 kB / 1.158 GB, free: 2.602 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.8518, allocations: 14.17 kB / 1.158 GB, free: 2.598 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009579/0.8527, allocations: 1.004 MB / 1.159 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.8527, allocations: 6.406 kB / 1.159 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.8542, allocations: 0.9111 MB / 1.16 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.8546, allocations: 227 kB / 1.16 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.8547, allocations: 12.23 kB / 1.16 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.8554, allocations: 63.53 kB / 1.161 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.8555, allocations: 34.12 kB / 1.161 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.8555, allocations: 13.78 kB / 1.161 GB, free: 1.312 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001061/0.8566, allocations: 0.8131 MB / 1.161 GB, free: 1.043 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.323e-06/0.8566, allocations: 0 / 1.161 GB, free: 1.043 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00137/0.858, allocations: 478.6 kB / 1.162 GB, free: 1.008 MB / 0.698 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004406/0.8584, allocations: 171.8 kB / 1.162 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002146/0.8606, allocations: 1.129 MB / 1.163 GB, free: 432 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8606, allocations: 4.062 kB / 1.163 GB, free: 428 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.8611, allocations: 261 kB / 1.163 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/0.8644, allocations: 0.6298 MB / 1.164 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.8672, allocations: 1.993 MB / 1.166 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/0.868, allocations: 1.189 MB / 1.167 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001077/0.8691, allocations: 337.1 kB / 1.167 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.8692, allocations: 65.38 kB / 1.167 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.8692, allocations: 0 / 1.167 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of Templates: time 0.03522/0.9044, allocations: 20.72 MB / 1.188 GB, free: 15.58 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)