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.001188/0.001188, 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.001573/0.001573, allocations: 193.9 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 60.16 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3309, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1539/0.4849, allocations: 159.4 MB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002861/0.4878, allocations: 1.766 MB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.4881, allocations: 15.88 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.4887, allocations: 139.2 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.4899, allocations: 0.498 MB / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.4908, allocations: 342.4 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003113/0.4939, allocations: 3.487 MB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.495, allocations: 0.7587 MB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.4967, allocations: 0.9025 MB / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.4979, allocations: 0.7311 MB / 1.232 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.4981, allocations: 36 kB / 1.232 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.4995, allocations: 0.8029 MB / 1.232 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.4998, allocations: 286.9 kB / 1.233 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000749/0.5006, allocations: 0.5128 MB / 1.233 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.5022, allocations: 1.382 MB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5023, allocations: 0 / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5023, allocations: 4 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.718e-05/0.5023, allocations: 0 / 1.235 GB, free: 15.29 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.002574/0.5049, allocations: 1.443 MB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5049, allocations: 12.03 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008484/0.5058, allocations: 186.5 kB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.5071, allocations: 0.8022 MB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.5071, allocations: 45 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.274e-05/0.5072, allocations: 60 kB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5085, allocations: 0.7926 MB / 1.238 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.5085, allocations: 3.938 kB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.5086, allocations: 24 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.5086, allocations: 12 kB / 1.238 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009861/0.5096, allocations: 0.5461 MB / 1.238 GB, free: 11.18 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.5139, allocations: 4.587 MB / 1.243 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.5146, allocations: 414.8 kB / 1.243 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.515, allocations: 250 kB / 1.243 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.5154, allocations: 194.2 kB / 1.244 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/0.5159, allocations: 285.6 kB / 1.244 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.5159, allocations: 0 / 1.244 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001389/0.5173, allocations: 0.6374 MB / 1.245 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.5173, allocations: 81.11 kB / 1.245 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.5187, allocations: 1.11 MB / 1.246 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.5188, allocations: 37.7 kB / 1.246 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.5192, allocations: 496.1 kB / 1.246 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.5193, allocations: 106.5 kB / 1.246 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.5195, allocations: 110 kB / 1.246 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5196, allocations: 329.9 kB / 1.247 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.5201, allocations: 210.4 kB / 1.247 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/0.5207, allocations: 0.5316 MB / 1.247 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009279/0.5217, allocations: 0.6275 MB / 1.248 GB, free: 496 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5217, allocations: 4.219 kB / 1.248 GB, free: 492 kB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.6125/1.134, allocations: 0.7147 MB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/1.134, allocations: 40.2 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.134, allocations: 5.688 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/1.134, allocations: 7.906 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/1.135, allocations: 110.3 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/1.135, allocations: 13.56 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009376/1.136, allocations: 96.52 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/1.136, allocations: 31.12 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008709/1.137, allocations: 0.4941 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005445/1.137, allocations: 496.8 kB / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007752/1.138, allocations: 0.5523 MB / 1.251 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.69e-06/1.138, allocations: 5.578 kB / 1.251 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001281/1.139, allocations: 0.6371 MB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.139, allocations: 39.14 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.139, allocations: 5.062 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/1.139, allocations: 8.062 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/1.14, allocations: 107.5 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.14, allocations: 9.75 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/1.141, allocations: 83.89 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/1.141, allocations: 21.19 kB / 1.251 GB, free: 184.6 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.0001892/1.141, allocations: 223.6 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/1.141, allocations: 103.6 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/1.142, allocations: 497.4 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.142, allocations: 3.594 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.142, allocations: 1.094 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.142, allocations: 2.125 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/1.144, allocations: 1.38 MB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.144, allocations: 1.938 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/1.144, allocations: 69.36 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.144, allocations: 5.656 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/1.145, allocations: 11.91 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.145, allocations: 2.938 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/1.145, allocations: 6.781 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008048/1.145, allocations: 0.5964 MB / 1.254 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/1.146, allocations: 210.6 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.146, allocations: 13.91 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/1.146, allocations: 51.47 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.146, allocations: 35.08 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/1.146, allocations: 12.16 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001/1.147, allocations: 0.7909 MB / 1.255 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.147, allocations: 0 / 1.255 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001126/1.148, allocations: 413.6 kB / 1.256 GB, free: 183.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_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.0004161/1.149, allocations: 173.8 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001255/1.15, allocations: 0.8166 MB / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.15, allocations: 0 / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/1.151, allocations: 202 kB / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.152, allocations: 460.9 kB / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/1.155, allocations: 2.039 MB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/1.155, allocations: 1.18 MB / 1.26 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001139/1.157, allocations: 419.1 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/1.157, allocations: 74.23 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.157, allocations: 0 / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03848/1.195, allocations: 16.52 MB / 1.277 GB, free: 177.3 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)