Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 90.67 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.009638/0.009639, allocations: 170.8 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 473.4 MB / 0.7469 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003719, allocations: 10.22 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 162.2 MB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1713/0.4852, allocations: 157.3 MB / 1.228 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004861/0.4901, allocations: 3.577 MB / 1.231 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003211/0.4905, allocations: 7.938 kB / 1.231 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.491, allocations: 139.1 kB / 1.231 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.4923, allocations: 0.498 MB / 1.232 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.4935, allocations: 397.7 kB / 1.232 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003401/0.4969, allocations: 3.487 MB / 1.236 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.4979, allocations: 0.7583 MB / 1.236 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.4994, allocations: 0.9102 MB / 1.237 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008258/0.5003, allocations: 0.7039 MB / 1.238 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.5004, allocations: 39.94 kB / 1.238 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.5017, allocations: 0.8028 MB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.502, allocations: 274.9 kB / 1.239 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005935/0.5026, allocations: 0.5378 MB / 1.24 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.5041, allocations: 1.363 MB / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5042, allocations: 0 / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.474e-06/0.5042, allocations: 0 / 1.241 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.5042, allocations: 0 / 1.241 GB, free: 12.16 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.002124/0.5063, allocations: 1.273 MB / 1.242 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5064, allocations: 8.031 kB / 1.242 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007593/0.5071, allocations: 190.5 kB / 1.242 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.5083, allocations: 0.7906 MB / 1.243 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.5084, allocations: 53 kB / 1.243 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.5085, allocations: 59.98 kB / 1.243 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.5097, allocations: 0.7965 MB / 1.244 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.5097, allocations: 7.938 kB / 1.244 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.5098, allocations: 20 kB / 1.244 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.5098, allocations: 15.94 kB / 1.244 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009331/0.5108, allocations: 0.5462 MB / 1.245 GB, free: 8.215 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.003947/0.5147, allocations: 4.595 MB / 1.249 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007369/0.5155, allocations: 426.3 kB / 1.249 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.5159, allocations: 257.3 kB / 1.25 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.5162, allocations: 194.2 kB / 1.25 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000508/0.5167, allocations: 309.5 kB / 1.25 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.5167, allocations: 0 / 1.25 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.005336/0.5221, allocations: 1.664 MB / 1.252 GB, free: 320 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.5221, allocations: 93.08 kB / 1.252 GB, free: 208 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5522/1.074, allocations: 1.114 MB / 1.253 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/1.075, allocations: 37.64 kB / 1.253 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/1.075, allocations: 485.3 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/1.075, allocations: 107.8 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.519e-05/1.075, allocations: 43.17 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/1.075, allocations: 324.4 kB / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/1.076, allocations: 211.4 kB / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/1.077, allocations: 0.5286 MB / 1.255 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009297/1.077, allocations: 0.6429 MB / 1.255 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.077, allocations: 2.844 kB / 1.255 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002496/1.08, allocations: 1.058 MB / 1.256 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.08, allocations: 273.5 kB / 1.257 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.08, allocations: 4.938 kB / 1.257 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/1.082, allocations: 391.4 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/1.082, allocations: 67.17 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/1.083, allocations: 1.092 MB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/1.084, allocations: 96.94 kB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/1.084, allocations: 22.91 kB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/1.084, allocations: 3.844 kB / 1.258 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001345/1.085, allocations: 0.7382 MB / 1.259 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.085, allocations: 5.625 kB / 1.259 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/1.086, allocations: 213.8 kB / 1.259 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/1.086, allocations: 62.7 kB / 1.259 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/1.089, allocations: 3.005 MB / 1.262 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/1.09, allocations: 93.56 kB / 1.262 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/1.09, allocations: 25.75 kB / 1.262 GB, free: 180 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005355/1.091, allocations: 472 kB / 1.263 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/1.091, allocations: 103.8 kB / 1.263 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/1.092, allocations: 0.7104 MB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.092, allocations: 3.188 kB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/1.092, allocations: 10.56 kB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.092, allocations: 1.406 kB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/1.094, allocations: 1.619 MB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.094, allocations: 3.234 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.095, allocations: 26.34 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/1.095, allocations: 256.5 kB / 1.265 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/1.095, allocations: 10.16 kB / 1.265 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008929/1.096, allocations: 1.035 MB / 1.266 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.096, allocations: 3.047 kB / 1.266 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/1.097, allocations: 0.8355 MB / 1.267 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/1.097, allocations: 225.3 kB / 1.267 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.098, allocations: 11.39 kB / 1.267 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/1.098, allocations: 51.83 kB / 1.267 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.098, allocations: 26.16 kB / 1.268 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/1.098, allocations: 14.09 kB / 1.268 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001127/1.099, allocations: 0.7934 MB / 1.268 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.099, allocations: 0 / 1.268 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001472/1.101, allocations: 443.6 kB / 1.269 GB, free: 177.1 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005222/1.101, allocations: 167.1 kB / 1.269 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002723/1.104, allocations: 1.219 MB / 1.27 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.104, allocations: 0 / 1.27 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/1.105, allocations: 279 kB / 1.27 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/1.107, allocations: 462.8 kB / 1.271 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/1.111, allocations: 2.092 MB / 1.273 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009146/1.112, allocations: 1.189 MB / 1.274 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001298/1.113, allocations: 305.6 kB / 1.274 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/1.114, allocations: 59.61 kB / 1.274 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.793e-06/1.114, allocations: 0 / 1.274 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03343/1.147, allocations: 18.4 MB / 1.292 GB, free: 167.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)