Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00126/0.00126, allocations: 195.5 kB / 16.14 MB, free: 6.664 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.387/1.387, 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.997/2.997, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.45 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2906, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1593/0.4499, allocations: 159.4 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.453, allocations: 1.772 MB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003591/0.4534, allocations: 11.94 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.454, allocations: 135.2 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.4553, allocations: 0.498 MB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.4564, allocations: 343 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003243/0.4597, allocations: 3.503 MB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.4624, allocations: 2.239 MB / 1.231 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.4642, allocations: 0.9103 MB / 1.232 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009584/0.4652, allocations: 0.7389 MB / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.4653, allocations: 40 kB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.467, allocations: 0.8108 MB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.4673, allocations: 294.7 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006807/0.468, allocations: 0.5128 MB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.4697, allocations: 1.402 MB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4697, allocations: 0 / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4697, allocations: 4 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.4698, allocations: 0 / 1.236 GB, free: 13.7 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.002317/0.4721, allocations: 1.447 MB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4721, allocations: 12.03 kB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007752/0.4729, allocations: 186.5 kB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.4743, allocations: 0.8022 MB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4744, allocations: 44.94 kB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4745, allocations: 67.98 kB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.4757, allocations: 0.8237 MB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.4758, allocations: 4 kB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.4758, allocations: 23.94 kB / 1.239 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.4758, allocations: 16 kB / 1.239 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009373/0.4768, allocations: 0.5657 MB / 1.24 GB, free: 9.516 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.003851/0.4806, allocations: 4.215 MB / 1.244 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/0.4814, allocations: 436.5 kB / 1.244 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.482, allocations: 345.1 kB / 1.245 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/0.4823, allocations: 194.2 kB / 1.245 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005508/0.4829, allocations: 319.1 kB / 1.245 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000267/0.4832, allocations: 31.69 kB / 1.245 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 3.576e-06/0.4832, allocations: 0 / 1.245 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.005313/0.4885, allocations: 1.669 MB / 1.247 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.4886, allocations: 85.09 kB / 1.247 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.4901, allocations: 1.154 MB / 1.248 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.4902, allocations: 41.7 kB / 1.248 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.4906, allocations: 496.5 kB / 1.249 GB, free: 168 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.4907, allocations: 114.4 kB / 1.249 GB, free: 52 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.6013/1.092, allocations: 106.1 kB / 1.249 GB, free: 41.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/1.092, allocations: 331.5 kB / 1.249 GB, free: 40.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/1.093, allocations: 233.6 kB / 1.249 GB, free: 40.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/1.093, allocations: 0.5384 MB / 1.25 GB, free: 40.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/1.094, allocations: 0.679 MB / 1.251 GB, free: 40.33 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.094, allocations: 2.438 kB / 1.251 GB, free: 40.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002637/1.097, allocations: 1.098 MB / 1.252 GB, free: 40.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/1.097, allocations: 35 kB / 1.252 GB, free: 40.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.097, allocations: 6.438 kB / 1.252 GB, free: 40.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/1.099, allocations: 374.8 kB / 1.252 GB, free: 40.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/1.099, allocations: 86.16 kB / 1.252 GB, free: 40.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/1.1, allocations: 1.044 MB / 1.253 GB, free: 39.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/1.101, allocations: 79.52 kB / 1.253 GB, free: 39.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/1.101, allocations: 25.83 kB / 1.253 GB, free: 39.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007886/1.102, allocations: 0.5183 MB / 1.254 GB, free: 39.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005108/1.102, allocations: 0.5021 MB / 1.254 GB, free: 39.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007626/1.103, allocations: 0.6069 MB / 1.255 GB, free: 39.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.398e-06/1.103, allocations: 1.938 kB / 1.255 GB, free: 39.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001713/1.105, allocations: 0.9018 MB / 1.256 GB, free: 38.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/1.105, allocations: 33.64 kB / 1.256 GB, free: 38.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/1.105, allocations: 4.969 kB / 1.256 GB, free: 38.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/1.106, allocations: 246.2 kB / 1.256 GB, free: 38.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/1.106, allocations: 86.38 kB / 1.256 GB, free: 38.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/1.109, allocations: 3.026 MB / 1.259 GB, free: 37.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009185/1.11, allocations: 82.86 kB / 1.259 GB, free: 37.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/1.11, allocations: 22.94 kB / 1.259 GB, free: 37.5 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.0002276/1.11, allocations: 219.4 kB / 1.259 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/1.11, allocations: 109.2 kB / 1.259 GB, free: 37.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/1.112, allocations: 0.7732 MB / 1.26 GB, free: 37.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/1.112, allocations: 3.281 kB / 1.26 GB, free: 37.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/1.112, allocations: 6.625 kB / 1.26 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.112, allocations: 1.594 kB / 1.26 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/1.114, allocations: 1.719 MB / 1.262 GB, free: 36.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.114, allocations: 3.953 kB / 1.262 GB, free: 36.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/1.114, allocations: 53.69 kB / 1.262 GB, free: 36.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/1.115, allocations: 253.7 kB / 1.262 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/1.115, allocations: 7.812 kB / 1.262 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007887/1.116, allocations: 1.005 MB / 1.263 GB, free: 36.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/1.116, allocations: 6.781 kB / 1.263 GB, free: 36.13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/1.117, allocations: 0.8911 MB / 1.264 GB, free: 35.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/1.117, allocations: 225 kB / 1.264 GB, free: 35.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.117, allocations: 11.5 kB / 1.264 GB, free: 35.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/1.118, allocations: 54.59 kB / 1.264 GB, free: 35.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/1.118, allocations: 30.56 kB / 1.264 GB, free: 35.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/1.118, allocations: 13.73 kB / 1.264 GB, free: 35.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001024/1.119, allocations: 0.8144 MB / 1.265 GB, free: 35.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.119, allocations: 0 / 1.265 GB, free: 35.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001325/1.121, allocations: 469.9 kB / 1.266 GB, free: 35.55 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.0004071/1.121, allocations: 177 kB / 1.266 GB, free: 35.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002024/1.123, allocations: 1.135 MB / 1.267 GB, free: 35.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.123, allocations: 4.75 kB / 1.267 GB, free: 35.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005969/1.124, allocations: 245 kB / 1.267 GB, free: 35.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.127, allocations: 0.6282 MB / 1.268 GB, free: 35.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/1.13, allocations: 2.068 MB / 1.27 GB, free: 34.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/1.131, allocations: 1.184 MB / 1.271 GB, free: 33.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001163/1.132, allocations: 313 kB / 1.271 GB, free: 33.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/1.132, allocations: 61.94 kB / 1.271 GB, free: 33.42 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/1.132, allocations: 1.062 kB / 1.271 GB, free: 33.42 MB / 0.9981 GB Notification: Performance of Templates: time 0.039/1.171, allocations: 21.4 MB / 1.292 GB, free: 32.09 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)