Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 192.2 kB / 16.53 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.22 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3461, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1791/0.5252, allocations: 161.6 MB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.5284, allocations: 1.753 MB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005319/0.529, allocations: 11.94 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007791/0.5299, allocations: 158.9 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.5317, allocations: 0.5211 MB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.5332, allocations: 402.2 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002798/0.536, allocations: 2.523 MB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.5377, allocations: 0.9333 MB / 1.232 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.54, allocations: 1.012 MB / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.5413, allocations: 0.7039 MB / 1.234 GB, free: 156 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.5415, allocations: 56 kB / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.5435, allocations: 0.7484 MB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006409/0.5442, allocations: 302.9 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.5455, allocations: 0.5401 MB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.5478, allocations: 1.382 MB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5479, allocations: 0 / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5479, allocations: 0 / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.401e-05/0.5479, allocations: 0 / 1.237 GB, free: 13.12 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.002801/0.5507, allocations: 1.451 MB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5508, allocations: 8.031 kB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/0.5517, allocations: 178.5 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.5531, allocations: 0.8061 MB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.5531, allocations: 44.94 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.5532, allocations: 60 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.5545, allocations: 0.7965 MB / 1.24 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5545, allocations: 3.938 kB / 1.24 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.5546, allocations: 27.94 kB / 1.24 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.5546, allocations: 12 kB / 1.24 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009702/0.5556, allocations: 0.5344 MB / 1.241 GB, free: 9.012 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.004265/0.5599, allocations: 4.618 MB / 1.245 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.5606, allocations: 414.3 kB / 1.246 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.561, allocations: 245.2 kB / 1.246 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.5613, allocations: 194.2 kB / 1.246 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/0.5618, allocations: 293 kB / 1.246 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.5618, allocations: 0 / 1.246 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001409/0.5632, allocations: 0.6353 MB / 1.247 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.5633, allocations: 81.11 kB / 1.247 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.5647, allocations: 1.11 MB / 1.248 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.5647, allocations: 41.7 kB / 1.248 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.5651, allocations: 492.1 kB / 1.249 GB, free: 436 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.309e-05/0.5652, allocations: 110.5 kB / 1.249 GB, free: 324 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.5654, allocations: 110 kB / 1.249 GB, free: 208 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.5883/1.154, allocations: 327.2 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007648/1.155, allocations: 210.8 kB / 1.249 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/1.155, allocations: 0.5181 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/1.156, allocations: 0.6319 MB / 1.25 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.156, allocations: 1.719 kB / 1.25 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001677/1.158, allocations: 0.7211 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/1.158, allocations: 35.75 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/1.158, allocations: 9.25 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/1.158, allocations: 7.812 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/1.159, allocations: 109.1 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.159, allocations: 8.703 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/1.159, allocations: 80.81 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/1.16, allocations: 25.44 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008694/1.16, allocations: 0.4968 MB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005297/1.161, allocations: 0.4924 MB / 1.252 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000799/1.162, allocations: 0.5568 MB / 1.253 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.419e-06/1.162, allocations: 1.656 kB / 1.253 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00123/1.163, allocations: 0.638 MB / 1.253 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/1.163, allocations: 36.03 kB / 1.253 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.163, allocations: 4.906 kB / 1.253 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.163, allocations: 13.44 kB / 1.254 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/1.164, allocations: 108.3 kB / 1.254 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/1.164, allocations: 9.75 kB / 1.254 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006406/1.164, allocations: 79.34 kB / 1.254 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/1.164, allocations: 21.78 kB / 1.254 GB, free: 184.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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002109/1.164, allocations: 219.7 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/1.165, allocations: 98.72 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000991/1.166, allocations: 0.4922 MB / 1.254 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.166, allocations: 3 kB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/1.166, allocations: 8.75 kB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.166, allocations: 1.797 kB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/1.168, allocations: 1.373 MB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.168, allocations: 1.688 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/1.168, allocations: 67.03 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.168, allocations: 3.344 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/1.168, allocations: 11.12 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.168, allocations: 6.875 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.168, allocations: 6.812 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007389/1.169, allocations: 0.5935 MB / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/1.169, allocations: 221.8 kB / 1.257 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/1.169, allocations: 9.281 kB / 1.257 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.169, allocations: 20.62 kB / 1.257 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/1.17, allocations: 33.8 kB / 1.257 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/1.17, allocations: 13.16 kB / 1.257 GB, free: 183 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000926/1.171, allocations: 0.787 MB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.171, allocations: 2.594 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001086/1.172, allocations: 414 kB / 1.258 GB, free: 182.9 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003995/1.172, allocations: 171.6 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.173, allocations: 0.8597 MB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.173, allocations: 0 / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003332/1.174, allocations: 199.1 kB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.176, allocations: 458.4 kB / 1.26 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/1.178, allocations: 1.741 MB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/1.179, allocations: 1.18 MB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001166/1.18, allocations: 404.7 kB / 1.263 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/1.18, allocations: 74.16 kB / 1.263 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.18, allocations: 3.938 kB / 1.263 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03694/1.217, allocations: 17.07 MB / 1.28 GB, free: 176.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)