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.001006/0.001006, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.007961/0.007962, allocations: 170.6 kB / 16.27 MB, free: 6.648 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: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004006, allocations: 17.14 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3118, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1734/0.4853, allocations: 157.3 MB / 1.228 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002998/0.4883, allocations: 1.753 MB / 1.229 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.4886, allocations: 11.94 kB / 1.229 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.4892, allocations: 131.2 kB / 1.23 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.4904, allocations: 0.4941 MB / 1.23 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009694/0.4913, allocations: 346.4 kB / 1.23 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003234/0.4946, allocations: 3.483 MB / 1.234 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009423/0.4955, allocations: 0.7504 MB / 1.235 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.497, allocations: 0.8947 MB / 1.235 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008059/0.4978, allocations: 0.7116 MB / 1.236 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.95e-05/0.4979, allocations: 32 kB / 1.236 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.4992, allocations: 0.795 MB / 1.237 GB, free: 216 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.4995, allocations: 286.8 kB / 1.237 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005195/0.5, allocations: 0.534 MB / 1.238 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.5014, allocations: 1.366 MB / 1.239 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5014, allocations: 3.938 kB / 1.239 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5014, allocations: 0 / 1.239 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.5014, allocations: 0 / 1.239 GB, free: 14.01 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.001913/0.5033, allocations: 1.26 MB / 1.24 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5034, allocations: 8.031 kB / 1.24 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007308/0.5041, allocations: 186.5 kB / 1.24 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.5052, allocations: 0.7944 MB / 1.241 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.5053, allocations: 45 kB / 1.241 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.595e-05/0.5054, allocations: 64 kB / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.5066, allocations: 0.8042 MB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.5066, allocations: 7.938 kB / 1.242 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.5067, allocations: 16 kB / 1.242 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.5067, allocations: 16 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/0.5076, allocations: 0.55 MB / 1.243 GB, free: 10.07 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.003803/0.5114, allocations: 4.598 MB / 1.247 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.5121, allocations: 426.2 kB / 1.248 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.5126, allocations: 250.4 kB / 1.248 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.5128, allocations: 198.2 kB / 1.248 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/0.5134, allocations: 293.6 kB / 1.248 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.5134, allocations: 0 / 1.248 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001338/0.5147, allocations: 0.6569 MB / 1.249 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.5148, allocations: 81.11 kB / 1.249 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.5163, allocations: 1.114 MB / 1.25 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.5163, allocations: 33.7 kB / 1.25 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.5168, allocations: 496.1 kB / 1.251 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.5169, allocations: 110.5 kB / 1.251 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.517, allocations: 41.69 kB / 1.251 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5171, allocations: 330.1 kB / 1.251 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.5176, allocations: 216.6 kB / 1.251 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.5182, allocations: 0.5291 MB / 1.252 GB, free: 96 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6318/1.15, allocations: 0.6284 MB / 1.252 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/1.15, allocations: 3.906 kB / 1.252 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001527/1.152, allocations: 0.7347 MB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.152, allocations: 270.1 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.152, allocations: 5.156 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.152, allocations: 11.59 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/1.152, allocations: 113.9 kB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/1.152, allocations: 13.08 kB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/1.153, allocations: 104.4 kB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/1.153, allocations: 25.94 kB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/1.153, allocations: 5.094 kB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009792/1.154, allocations: 0.5331 MB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.154, allocations: 6.109 kB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/1.154, allocations: 9.438 kB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/1.155, allocations: 106.6 kB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.155, allocations: 17.14 kB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/1.155, allocations: 88.78 kB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/1.155, allocations: 21.52 kB / 1.254 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_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.0006359/1.156, allocations: 472.1 kB / 1.255 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.156, allocations: 99.19 kB / 1.255 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009568/1.157, allocations: 0.5026 MB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/1.157, allocations: 2.938 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.157, allocations: 2.906 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.157, allocations: 2.812 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.159, allocations: 1.403 MB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.159, allocations: 2 kB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/1.159, allocations: 63.81 kB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/1.159, allocations: 6.938 kB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/1.159, allocations: 15.81 kB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.159, allocations: 3.094 kB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.159, allocations: 2.094 kB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/1.16, allocations: 0.6066 MB / 1.258 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/1.16, allocations: 219.4 kB / 1.258 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/1.161, allocations: 11.53 kB / 1.258 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/1.161, allocations: 49.78 kB / 1.258 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/1.161, allocations: 32.73 kB / 1.258 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/1.161, allocations: 13.3 kB / 1.258 GB, free: 181 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001024/1.162, allocations: 0.7912 MB / 1.259 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.162, allocations: 0 / 1.259 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001144/1.163, allocations: 413 kB / 1.259 GB, free: 180.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.0003742/1.164, allocations: 175.4 kB / 1.259 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001182/1.165, allocations: 0.8339 MB / 1.26 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.165, allocations: 0 / 1.26 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/1.165, allocations: 213.9 kB / 1.26 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/1.167, allocations: 456.9 kB / 1.261 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/1.17, allocations: 2.043 MB / 1.263 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/1.17, allocations: 1.179 MB / 1.264 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001117/1.171, allocations: 423.1 kB / 1.264 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/1.172, allocations: 74.28 kB / 1.264 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.172, allocations: 0 / 1.264 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03402/1.206, allocations: 16.42 MB / 1.28 GB, free: 174.8 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)