Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001061/0.001061, allocations: 98.19 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.006215/0.006215, allocations: 173.7 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.402/1.402, 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.776/2.776, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 9.531 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.338, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1747/0.5128, allocations: 157.3 MB / 1.228 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.5158, allocations: 1.747 MB / 1.229 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.5161, allocations: 11.88 kB / 1.229 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.5166, allocations: 131.2 kB / 1.23 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.5178, allocations: 0.4941 MB / 1.23 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009515/0.5188, allocations: 342.9 kB / 1.23 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00393/0.5227, allocations: 3.483 MB / 1.234 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.5239, allocations: 0.7582 MB / 1.235 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.5257, allocations: 0.8908 MB / 1.235 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009217/0.5267, allocations: 0.7155 MB / 1.236 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.505e-05/0.5268, allocations: 36 kB / 1.236 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.5282, allocations: 0.799 MB / 1.237 GB, free: 192 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.5285, allocations: 282.8 kB / 1.237 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006645/0.5292, allocations: 0.5262 MB / 1.238 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.5308, allocations: 1.366 MB / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5308, allocations: 0 / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.552e-06/0.5308, allocations: 0 / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.5308, allocations: 4 kB / 1.239 GB, free: 14 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.002007/0.5328, allocations: 1.26 MB / 1.24 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.5329, allocations: 11.97 kB / 1.24 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007557/0.5336, allocations: 186.5 kB / 1.24 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.5348, allocations: 0.7983 MB / 1.241 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.5349, allocations: 45 kB / 1.241 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.535, allocations: 60 kB / 1.241 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.5362, allocations: 0.8004 MB / 1.242 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.5362, allocations: 3.938 kB / 1.242 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.5363, allocations: 24 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.5363, allocations: 15.94 kB / 1.242 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009338/0.5372, allocations: 0.5462 MB / 1.243 GB, free: 10.06 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.003992/0.5412, allocations: 4.598 MB / 1.247 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.542, allocations: 430.2 kB / 1.248 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003993/0.5424, allocations: 250 kB / 1.248 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.5427, allocations: 198.2 kB / 1.248 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004987/0.5432, allocations: 293.6 kB / 1.248 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.933e-06/0.5432, allocations: 0 / 1.248 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001393/0.5446, allocations: 0.653 MB / 1.249 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.5447, allocations: 81.11 kB / 1.249 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.5461, allocations: 1.114 MB / 1.25 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.5461, allocations: 37.7 kB / 1.25 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.5466, allocations: 492.1 kB / 1.251 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.386e-05/0.5467, allocations: 110.5 kB / 1.251 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.5467, allocations: 41.7 kB / 1.251 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5469, allocations: 329.9 kB / 1.251 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.5473, allocations: 212.7 kB / 1.251 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/0.5479, allocations: 0.5252 MB / 1.252 GB, free: 92 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6721/1.22, allocations: 0.638 MB / 1.252 GB, free: 24.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.22, allocations: 1.906 kB / 1.252 GB, free: 24.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001683/1.222, allocations: 0.7293 MB / 1.253 GB, free: 24.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/1.222, allocations: 278.2 kB / 1.253 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.222, allocations: 8.75 kB / 1.253 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/1.222, allocations: 9.531 kB / 1.253 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/1.222, allocations: 111.9 kB / 1.254 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/1.222, allocations: 13.31 kB / 1.254 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/1.223, allocations: 93.39 kB / 1.254 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/1.223, allocations: 25.52 kB / 1.254 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/1.223, allocations: 7.25 kB / 1.254 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001024/1.224, allocations: 0.5388 MB / 1.254 GB, free: 23.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.224, allocations: 5.594 kB / 1.254 GB, free: 23.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/1.224, allocations: 9.969 kB / 1.254 GB, free: 23.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/1.225, allocations: 114.1 kB / 1.254 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/1.225, allocations: 9.188 kB / 1.254 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/1.225, allocations: 88.08 kB / 1.254 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.226, allocations: 23.23 kB / 1.254 GB, free: 23.84 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.0007167/1.226, allocations: 468.5 kB / 1.255 GB, free: 23.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/1.226, allocations: 101.5 kB / 1.255 GB, free: 23.65 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/1.227, allocations: 0.5039 MB / 1.255 GB, free: 23.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.228, allocations: 3.75 kB / 1.255 GB, free: 23.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.228, allocations: 2.531 kB / 1.255 GB, free: 23.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.228, allocations: 2.984 kB / 1.255 GB, free: 23.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/1.23, allocations: 1.398 MB / 1.257 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/1.23, allocations: 5.344 kB / 1.257 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/1.23, allocations: 65.25 kB / 1.257 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.23, allocations: 3.062 kB / 1.257 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/1.23, allocations: 8.375 kB / 1.257 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.23, allocations: 14.14 kB / 1.257 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.23, allocations: 2.062 kB / 1.257 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008556/1.231, allocations: 0.6116 MB / 1.258 GB, free: 22.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/1.231, allocations: 213.9 kB / 1.258 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.231, allocations: 11.59 kB / 1.258 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/1.232, allocations: 52.12 kB / 1.258 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/1.232, allocations: 30.58 kB / 1.258 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/1.232, allocations: 15.88 kB / 1.258 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001155/1.233, allocations: 0.787 MB / 1.259 GB, free: 22.65 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.233, allocations: 5 kB / 1.259 GB, free: 22.65 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001177/1.234, allocations: 412.6 kB / 1.259 GB, free: 22.63 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.0003964/1.235, allocations: 169.5 kB / 1.259 GB, free: 22.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.236, allocations: 0.8373 MB / 1.26 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.236, allocations: 2.562 kB / 1.26 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/1.236, allocations: 203.3 kB / 1.26 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/1.238, allocations: 458.8 kB / 1.261 GB, free: 22.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/1.241, allocations: 2.051 MB / 1.263 GB, free: 21.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/1.241, allocations: 1.183 MB / 1.264 GB, free: 20.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001106/1.243, allocations: 421.7 kB / 1.264 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/1.243, allocations: 75.84 kB / 1.264 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/1.243, allocations: 0 / 1.264 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.03998/1.283, allocations: 16.42 MB / 1.28 GB, free: 19.63 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)