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.001353/0.001352, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001179/0.001179, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.56 kB / 0.9115 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3477, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1709/0.5187, allocations: 159.4 MB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.5223, allocations: 1.76 MB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.5228, allocations: 11.94 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.5236, allocations: 139.2 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.5252, allocations: 0.4941 MB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.5264, allocations: 354.8 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002731/0.5291, allocations: 2.563 MB / 1.229 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/0.532, allocations: 2.395 MB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.534, allocations: 1.07 MB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009161/0.5349, allocations: 0.7624 MB / 1.233 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.535, allocations: 56 kB / 1.233 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.5364, allocations: 0.7639 MB / 1.233 GB, free: 352 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.5367, allocations: 314.9 kB / 1.234 GB, free: 36 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006526/0.5374, allocations: 0.5479 MB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.539, allocations: 1.433 MB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.539, allocations: 4 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.539, allocations: 0 / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.5391, allocations: 0 / 1.236 GB, free: 14.04 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.002389/0.5415, allocations: 1.447 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5415, allocations: 12.03 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007911/0.5423, allocations: 186.5 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.5435, allocations: 0.8022 MB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.5435, allocations: 45 kB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.569e-05/0.5436, allocations: 60 kB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.5448, allocations: 0.8199 MB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5449, allocations: 7.938 kB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.545, allocations: 24 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.545, allocations: 16 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009405/0.5459, allocations: 0.5618 MB / 1.24 GB, free: 9.875 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.003885/0.5498, allocations: 4.223 MB / 1.244 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.5506, allocations: 447 kB / 1.244 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.5511, allocations: 345.1 kB / 1.244 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003233/0.5515, allocations: 190.2 kB / 1.245 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005285/0.552, allocations: 323.1 kB / 1.245 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002716/0.5523, allocations: 35.69 kB / 1.245 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.5523, allocations: 0 / 1.245 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.005397/0.5577, allocations: 1.669 MB / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.5578, allocations: 85.09 kB / 1.247 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.5593, allocations: 1.147 MB / 1.248 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.5593, allocations: 37.7 kB / 1.248 GB, free: 1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/0.5598, allocations: 484.4 kB / 1.248 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5599, allocations: 118.4 kB / 1.248 GB, free: 416 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.5601, allocations: 114.2 kB / 1.249 GB, free: 296 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.5494/1.11, allocations: 326 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009486/1.111, allocations: 232 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/1.112, allocations: 0.5433 MB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/1.114, allocations: 0.6762 MB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/1.114, allocations: 2.375 kB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004488/1.118, allocations: 1.109 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/1.118, allocations: 34.78 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/1.118, allocations: 5.781 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/1.121, allocations: 370.2 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/1.121, allocations: 96.95 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/1.123, allocations: 1.036 MB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.125, allocations: 84.66 kB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/1.125, allocations: 24.06 kB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001298/1.126, allocations: 0.5158 MB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00092/1.127, allocations: 0.5116 MB / 1.254 GB, free: 184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001283/1.129, allocations: 0.6004 MB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.398e-06/1.129, allocations: 1.781 kB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.002925/1.132, allocations: 0.9017 MB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/1.132, allocations: 36.91 kB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.132, allocations: 5.281 kB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009792/1.133, allocations: 243.3 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/1.133, allocations: 90.83 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005391/1.139, allocations: 3.267 MB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.14, allocations: 96.5 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/1.14, allocations: 23 kB / 1.259 GB, free: 182 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.0002787/1.141, allocations: 215.4 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/1.141, allocations: 107.2 kB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/1.143, allocations: 0.7711 MB / 1.26 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/1.143, allocations: 2.625 kB / 1.26 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.143, allocations: 2.625 kB / 1.26 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/1.143, allocations: 2.391 kB / 1.26 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/1.147, allocations: 1.727 MB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.147, allocations: 2.344 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/1.148, allocations: 46.58 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007832/1.149, allocations: 248.2 kB / 1.262 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/1.149, allocations: 10.34 kB / 1.262 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/1.15, allocations: 1.009 MB / 1.263 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.15, allocations: 6.781 kB / 1.263 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/1.152, allocations: 0.8975 MB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/1.152, allocations: 218.5 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/1.153, allocations: 12.92 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.154, allocations: 56.67 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.154, allocations: 34.69 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/1.154, allocations: 16.94 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001708/1.156, allocations: 0.8177 MB / 1.265 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.5e-07/1.156, allocations: 0 / 1.265 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002165/1.158, allocations: 470.7 kB / 1.266 GB, free: 179.3 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.0005445/1.159, allocations: 177.7 kB / 1.266 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003284/1.162, allocations: 1.139 MB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/1.162, allocations: 8 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009719/1.163, allocations: 245.7 kB / 1.267 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/1.166, allocations: 0.4942 MB / 1.268 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/1.17, allocations: 2.064 MB / 1.27 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.171, allocations: 1.181 MB / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001714/1.173, allocations: 330.8 kB / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/1.173, allocations: 70.55 kB / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.173, allocations: 4 kB / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04066/1.214, allocations: 20.82 MB / 1.291 GB, free: 168.9 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)