Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008707/0.0008705, allocations: 97.72 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.005808/0.005808, allocations: 170 kB / 16.27 MB, free: 6.66 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.084/3.084, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 11.12 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3211, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1731/0.4943, allocations: 157.3 MB / 1.228 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005437/0.4998, allocations: 3.584 MB / 1.231 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.5002, allocations: 11.88 kB / 1.231 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.5009, allocations: 131.2 kB / 1.231 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.5024, allocations: 0.498 MB / 1.232 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.5035, allocations: 398.6 kB / 1.232 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003311/0.5068, allocations: 3.514 MB / 1.236 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.5095, allocations: 2.226 MB / 1.238 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.5115, allocations: 0.9102 MB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008855/0.5124, allocations: 0.7078 MB / 1.239 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.04e-05/0.5125, allocations: 32 kB / 1.239 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.5139, allocations: 0.799 MB / 1.24 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.5142, allocations: 282.9 kB / 1.241 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006039/0.5149, allocations: 0.5378 MB / 1.241 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.5164, allocations: 1.378 MB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5164, allocations: 0 / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.544e-06/0.5164, allocations: 0 / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.5164, allocations: 0 / 1.242 GB, free: 10.59 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.00203/0.5185, allocations: 1.299 MB / 1.244 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.5185, allocations: 8.031 kB / 1.244 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007379/0.5193, allocations: 190.5 kB / 1.244 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5204, allocations: 0.8023 MB / 1.245 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/0.5205, allocations: 41 kB / 1.245 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-05/0.5206, allocations: 67.94 kB / 1.245 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.5218, allocations: 0.8238 MB / 1.246 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.5218, allocations: 4 kB / 1.246 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.598e-05/0.5219, allocations: 20 kB / 1.246 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.5219, allocations: 20 kB / 1.246 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/0.5229, allocations: 0.5734 MB / 1.246 GB, free: 6.559 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.004173/0.5271, allocations: 4.258 MB / 1.25 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007716/0.5279, allocations: 444.8 kB / 1.251 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.5284, allocations: 360.9 kB / 1.251 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003121/0.5287, allocations: 190.2 kB / 1.251 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005364/0.5293, allocations: 331 kB / 1.252 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002849/0.5296, allocations: 31.78 kB / 1.252 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/0.5296, allocations: 3.938 kB / 1.252 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.5931/1.123, allocations: 0.7146 MB / 1.252 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/1.123, allocations: 82.39 kB / 1.252 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/1.125, allocations: 1.157 MB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.284e-05/1.125, allocations: 34.89 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/1.125, allocations: 489.9 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/1.126, allocations: 116.3 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/1.126, allocations: 46.42 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.82e-05/1.126, allocations: 322.2 kB / 1.254 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/1.126, allocations: 236.8 kB / 1.255 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/1.127, allocations: 0.5459 MB / 1.255 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/1.128, allocations: 0.6889 MB / 1.256 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.128, allocations: 0.8438 kB / 1.256 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001393/1.129, allocations: 0.7785 MB / 1.257 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.129, allocations: 274.1 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.129, allocations: 10.75 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/1.129, allocations: 7.375 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/1.13, allocations: 118.1 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/1.13, allocations: 12.97 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008518/1.131, allocations: 85.28 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/1.131, allocations: 27.59 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/1.131, allocations: 5.25 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009434/1.132, allocations: 0.5815 MB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.132, allocations: 6.125 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/1.132, allocations: 10.94 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/1.132, allocations: 121.2 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/1.132, allocations: 7.562 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007489/1.133, allocations: 75.48 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/1.133, allocations: 21.81 kB / 1.258 GB, free: 182 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 (55): * Single equations (assignments): 54 * 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.000464/1.134, allocations: 473.5 kB / 1.258 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/1.134, allocations: 110 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009978/1.135, allocations: 0.5569 MB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.135, allocations: 4.5 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.135, allocations: 1.219 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.135, allocations: 4.078 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/1.137, allocations: 1.501 MB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.137, allocations: 3.281 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/1.137, allocations: 74.27 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/1.137, allocations: 2.656 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/1.137, allocations: 11.61 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.137, allocations: 4.25 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.137, allocations: 8.344 kB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/1.138, allocations: 0.6771 MB / 1.261 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/1.138, allocations: 230 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/1.138, allocations: 9.875 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006233/1.139, allocations: 60.36 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/1.139, allocations: 36.3 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/1.139, allocations: 12.95 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009162/1.14, allocations: 0.8214 MB / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.14, allocations: 0 / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00102/1.141, allocations: 418.2 kB / 1.263 GB, free: 180.7 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 (33): * Single equations (assignments): 31 * 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.0003793/1.141, allocations: 180.3 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001382/1.143, allocations: 0.9135 MB / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.143, allocations: 0 / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/1.143, allocations: 231.9 kB / 1.264 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/1.147, allocations: 0.6388 MB / 1.265 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/1.149, allocations: 2.08 MB / 1.267 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/1.15, allocations: 1.183 MB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001107/1.151, allocations: 415.7 kB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/1.151, allocations: 77.16 kB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.151, allocations: 0 / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0384/1.189, allocations: 19.1 MB / 1.287 GB, free: 172 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)