Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001782/0.001782, allocations: 191.1 kB / 16.14 MB, free: 6.688 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.95 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2907, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.162/0.4527, allocations: 159.4 MB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003081/0.4558, allocations: 1.78 MB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003806/0.4562, allocations: 11.88 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006253/0.4569, allocations: 131.2 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.4584, allocations: 0.4942 MB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.4595, allocations: 350.7 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003657/0.4632, allocations: 3.506 MB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.4662, allocations: 2.235 MB / 1.231 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.4685, allocations: 0.9142 MB / 1.232 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.4699, allocations: 0.739 MB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.4701, allocations: 40 kB / 1.233 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.4719, allocations: 0.8029 MB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004866/0.4724, allocations: 290.8 kB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.4735, allocations: 0.5206 MB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.4755, allocations: 1.41 MB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4755, allocations: 0 / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.136e-06/0.4755, allocations: 0 / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.129e-05/0.4756, allocations: 7.875 kB / 1.236 GB, free: 13.65 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002776/0.4784, allocations: 1.443 MB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4784, allocations: 12.03 kB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008656/0.4793, allocations: 182.5 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.4807, allocations: 0.8099 MB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.4808, allocations: 45 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/0.4809, allocations: 56 kB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.4822, allocations: 0.8238 MB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.4822, allocations: 7.938 kB / 1.239 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.4823, allocations: 20 kB / 1.239 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.4823, allocations: 16 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4834, allocations: 0.5618 MB / 1.24 GB, free: 9.484 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.004525/0.488, allocations: 4.215 MB / 1.244 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008197/0.4888, allocations: 450.9 kB / 1.244 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.4894, allocations: 337.1 kB / 1.245 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/0.4897, allocations: 198.2 kB / 1.245 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005917/0.4903, allocations: 319 kB / 1.245 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003137/0.4906, allocations: 31.69 kB / 1.245 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 4.289e-06/0.4906, allocations: 112 / 1.245 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.005554/0.4962, allocations: 1.677 MB / 1.247 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.4963, allocations: 81.11 kB / 1.247 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.498, allocations: 1.158 MB / 1.248 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.498, allocations: 33.7 kB / 1.248 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.4985, allocations: 492.4 kB / 1.249 GB, free: 132 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4987, allocations: 110.4 kB / 1.249 GB, free: 20 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5586/1.057, allocations: 111.1 kB / 1.249 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/1.057, allocations: 325.2 kB / 1.249 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/1.058, allocations: 236.5 kB / 1.249 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/1.059, allocations: 0.5442 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/1.06, allocations: 0.6771 MB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.06, allocations: 2.406 kB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002699/1.063, allocations: 1.104 MB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/1.063, allocations: 35.17 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.063, allocations: 5.156 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/1.064, allocations: 369.2 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/1.064, allocations: 92.3 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/1.066, allocations: 1.038 MB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.067, allocations: 78.05 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/1.067, allocations: 26.05 kB / 1.253 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/1.068, allocations: 0.5191 MB / 1.254 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006263/1.069, allocations: 0.5059 MB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009217/1.07, allocations: 0.6034 MB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.658e-06/1.07, allocations: 1.719 kB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001814/1.072, allocations: 0.8986 MB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.072, allocations: 35.41 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.072, allocations: 8.375 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/1.072, allocations: 238.8 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/1.073, allocations: 94.7 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/1.076, allocations: 3.025 MB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008472/1.077, allocations: 82.58 kB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/1.077, allocations: 25.97 kB / 1.259 GB, free: 182.1 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 (35): * Single equations (assignments): 33 * 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,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000193/1.077, allocations: 220.7 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.077, allocations: 104.8 kB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.078, allocations: 0.7732 MB / 1.26 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.078, allocations: 8.984 kB / 1.26 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/1.078, allocations: 2.625 kB / 1.26 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.078, allocations: 2.016 kB / 1.26 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/1.081, allocations: 1.721 MB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.081, allocations: 3.406 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/1.081, allocations: 50.03 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005203/1.082, allocations: 236.5 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/1.082, allocations: 19.22 kB / 1.262 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008221/1.082, allocations: 1.011 MB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/1.083, allocations: 2.594 kB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/1.084, allocations: 0.899 MB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/1.084, allocations: 225.4 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/1.084, allocations: 12.95 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/1.085, allocations: 54.06 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/1.085, allocations: 27.94 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/1.085, allocations: 18.7 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001069/1.086, allocations: 0.8136 MB / 1.265 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.086, allocations: 4 kB / 1.265 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001278/1.087, allocations: 464.5 kB / 1.266 GB, free: 179.4 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 (13): * Single equations (assignments): 10 * 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,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003891/1.088, allocations: 179.1 kB / 1.266 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002072/1.09, allocations: 1.128 MB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.09, allocations: 0.6562 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006792/1.09, allocations: 249.8 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/1.094, allocations: 0.6227 MB / 1.268 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/1.097, allocations: 2.075 MB / 1.27 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008214/1.097, allocations: 1.185 MB / 1.271 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001134/1.099, allocations: 316.9 kB / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/1.099, allocations: 62.14 kB / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.099, allocations: 0 / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03968/1.138, allocations: 21.41 MB / 1.292 GB, free: 168.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)