Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009156/0.0009156, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006148/0.006148, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 7.438 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3245, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1676/0.4922, allocations: 157.3 MB / 1.228 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004885/0.4971, allocations: 3.577 MB / 1.231 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.4975, allocations: 11.94 kB / 1.231 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.4981, allocations: 127.2 kB / 1.231 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.4993, allocations: 0.5019 MB / 1.232 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.5004, allocations: 398.1 kB / 1.232 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003274/0.5037, allocations: 3.487 MB / 1.236 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009587/0.5047, allocations: 0.7543 MB / 1.236 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.5062, allocations: 0.9064 MB / 1.237 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008118/0.507, allocations: 0.7116 MB / 1.238 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/0.5071, allocations: 35.94 kB / 1.238 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.5084, allocations: 0.799 MB / 1.239 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.5087, allocations: 278.9 kB / 1.239 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005607/0.5093, allocations: 0.5339 MB / 1.24 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.5107, allocations: 1.363 MB / 1.241 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5107, allocations: 3.984 kB / 1.241 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5107, allocations: 0 / 1.241 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.5107, allocations: 4 kB / 1.241 GB, free: 12.11 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001926/0.5126, allocations: 1.26 MB / 1.242 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.5127, allocations: 16.03 kB / 1.242 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007615/0.5135, allocations: 186.5 kB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.5146, allocations: 0.8023 MB / 1.243 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.5146, allocations: 45 kB / 1.243 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.5147, allocations: 56 kB / 1.243 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.5159, allocations: 0.8004 MB / 1.244 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5159, allocations: 3.938 kB / 1.244 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.516, allocations: 27.94 kB / 1.244 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.516, allocations: 15.94 kB / 1.244 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.5169, allocations: 0.5461 MB / 1.245 GB, free: 8.164 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.003823/0.5208, allocations: 4.595 MB / 1.249 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.5215, allocations: 434.3 kB / 1.249 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.5219, allocations: 253.3 kB / 1.25 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.5222, allocations: 194.2 kB / 1.25 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005046/0.5228, allocations: 309.5 kB / 1.25 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.5228, allocations: 0 / 1.25 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.004039/0.5268, allocations: 1.34 MB / 1.252 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.5269, allocations: 85.11 kB / 1.252 GB, free: 492 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6172/1.144, allocations: 1.114 MB / 1.253 GB, free: 23.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/1.144, allocations: 37.67 kB / 1.253 GB, free: 23.44 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/1.145, allocations: 494.4 kB / 1.253 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/1.145, allocations: 108 kB / 1.253 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/1.145, allocations: 42.59 kB / 1.253 GB, free: 23.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.62e-05/1.145, allocations: 323.9 kB / 1.254 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005807/1.146, allocations: 213.7 kB / 1.254 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/1.146, allocations: 0.5256 MB / 1.254 GB, free: 22.69 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/1.147, allocations: 0.6389 MB / 1.255 GB, free: 22.47 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/1.147, allocations: 5.094 kB / 1.255 GB, free: 22.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002643/1.15, allocations: 1.054 MB / 1.256 GB, free: 22.33 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/1.15, allocations: 274.8 kB / 1.256 GB, free: 22.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.15, allocations: 5.938 kB / 1.256 GB, free: 22.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/1.152, allocations: 357 kB / 1.257 GB, free: 22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/1.152, allocations: 70.55 kB / 1.257 GB, free: 22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/1.153, allocations: 1.011 MB / 1.258 GB, free: 21.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/1.154, allocations: 96.16 kB / 1.258 GB, free: 21.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/1.154, allocations: 25.78 kB / 1.258 GB, free: 21.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/1.154, allocations: 4.062 kB / 1.258 GB, free: 21.45 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001476/1.156, allocations: 0.739 MB / 1.259 GB, free: 21.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.156, allocations: 5.5 kB / 1.259 GB, free: 21.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/1.156, allocations: 202.6 kB / 1.259 GB, free: 21.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/1.156, allocations: 72.19 kB / 1.259 GB, free: 21.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/1.16, allocations: 3.088 MB / 1.262 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/1.161, allocations: 87.92 kB / 1.262 GB, free: 19.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/1.161, allocations: 23.08 kB / 1.262 GB, free: 19.83 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 (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006048/1.161, allocations: 472.4 kB / 1.262 GB, free: 19.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/1.161, allocations: 102 kB / 1.262 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.163, allocations: 0.7187 MB / 1.263 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.163, allocations: 6.5 kB / 1.263 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/1.163, allocations: 3.828 kB / 1.263 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/1.163, allocations: 4.438 kB / 1.263 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/1.165, allocations: 1.614 MB / 1.265 GB, free: 19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.165, allocations: 2.844 kB / 1.265 GB, free: 19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.165, allocations: 27.81 kB / 1.265 GB, free: 19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/1.166, allocations: 225.4 kB / 1.265 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/1.166, allocations: 9.594 kB / 1.265 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008767/1.167, allocations: 0.9808 MB / 1.266 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.167, allocations: 9.625 kB / 1.266 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/1.168, allocations: 0.8323 MB / 1.267 GB, free: 18.15 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/1.168, allocations: 227.3 kB / 1.267 GB, free: 18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/1.168, allocations: 10.09 kB / 1.267 GB, free: 18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/1.169, allocations: 52.97 kB / 1.267 GB, free: 17.99 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/1.169, allocations: 28.72 kB / 1.267 GB, free: 17.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/1.169, allocations: 11.39 kB / 1.267 GB, free: 17.99 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00122/1.17, allocations: 0.796 MB / 1.268 GB, free: 17.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.51e-07/1.17, allocations: 0 / 1.268 GB, free: 17.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001339/1.172, allocations: 439.1 kB / 1.268 GB, free: 17.84 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 (12): * Single equations (assignments): 9 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004139/1.172, allocations: 168.9 kB / 1.268 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001963/1.174, allocations: 1.092 MB / 1.27 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.174, allocations: 4.062 kB / 1.27 GB, free: 17.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005293/1.175, allocations: 229.5 kB / 1.27 GB, free: 17.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.177, allocations: 461.3 kB / 1.27 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/1.18, allocations: 2.077 MB / 1.272 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009109/1.181, allocations: 1.189 MB / 1.273 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001171/1.182, allocations: 303.4 kB / 1.274 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/1.182, allocations: 63.56 kB / 1.274 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.182, allocations: 0 / 1.274 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03868/1.221, allocations: 18.82 MB / 1.292 GB, free: 14.54 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)