Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.244/2.244, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 206.7 kB / 499.1 MB, free: 4.664 MB / 394.7 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: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000942/0.0009421, allocations: 107.6 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 49.45 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2574, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1564/0.4138, allocations: 159.3 MB / 1.374 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.004719/0.4186, allocations: 3.643 MB / 1.377 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.419, allocations: 7.938 kB / 1.377 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.4197, allocations: 143.2 kB / 1.377 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.421, allocations: 0.498 MB / 1.378 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.4223, allocations: 382 kB / 1.378 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003183/0.4254, allocations: 3.502 MB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009847/0.4264, allocations: 0.7664 MB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.4281, allocations: 0.9297 MB / 1.383 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.4288, allocations: 0.7311 MB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 8.355e-05/0.4289, allocations: 36 kB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.4304, allocations: 0.8068 MB / 1.385 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.4307, allocations: 286.9 kB / 1.385 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0005922/0.4313, allocations: 0.5128 MB / 1.386 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.4326, allocations: 1.382 MB / 1.387 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4327, allocations: 0 / 1.387 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4327, allocations: 0 / 1.387 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.4327, allocations: 3.938 kB / 1.387 GB, free: 7.602 MB / 0.8855 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.002219/0.4349, allocations: 1.455 MB / 1.388 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.435, allocations: 15.98 kB / 1.388 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007113/0.4357, allocations: 190.4 kB / 1.389 GB, free: 5.883 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.437, allocations: 0.8023 MB / 1.389 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.437, allocations: 48.92 kB / 1.389 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.893e-05/0.4371, allocations: 56 kB / 1.39 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.4381, allocations: 0.7947 MB / 1.39 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.4382, allocations: 0 / 1.39 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/0.4382, allocations: 31.88 kB / 1.39 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4382, allocations: 12 kB / 1.39 GB, free: 4.004 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008358/0.4391, allocations: 0.5266 MB / 1.391 GB, free: 3.48 MB / 0.8855 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.003914/0.443, allocations: 4.595 MB / 1.395 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.4437, allocations: 410.3 kB / 1.396 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.4441, allocations: 250.5 kB / 1.396 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.4444, allocations: 202.1 kB / 1.396 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000487/0.4449, allocations: 302.4 kB / 1.396 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.4449, allocations: 0 / 1.396 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31): time 0.004772/0.4497, allocations: 1.644 MB / 1.398 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4497, allocations: 81.11 kB / 1.398 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.4511, allocations: 1.118 MB / 1.399 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.4511, allocations: 37.7 kB / 1.399 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.4516, allocations: 492.1 kB / 1.4 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.4517, allocations: 110.5 kB / 1.4 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.4519, allocations: 110 kB / 1.4 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.452, allocations: 326 kB / 1.4 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.4524, allocations: 210.4 kB / 1.4 GB, free: 9.105 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.453, allocations: 0.5255 MB / 1.401 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008476/0.4538, allocations: 0.6274 MB / 1.402 GB, free: 7.738 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4538, allocations: 7.938 kB / 1.402 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002107/0.4559, allocations: 1.048 MB / 1.403 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.456, allocations: 34.33 kB / 1.403 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.456, allocations: 8 kB / 1.403 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.4572, allocations: 386.7 kB / 1.403 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.4575, allocations: 67.91 kB / 1.403 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.4587, allocations: 1.08 MB / 1.404 GB, free: 5.066 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.4594, allocations: 95.39 kB / 1.404 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.4595, allocations: 28 kB / 1.404 GB, free: 4.945 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006557/0.4602, allocations: 0.4936 MB / 1.405 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005112/0.4607, allocations: 490 kB / 1.405 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006619/0.4614, allocations: 0.5527 MB / 1.406 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.4614, allocations: 3.984 kB / 1.406 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001333/0.4627, allocations: 0.8415 MB / 1.407 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.4628, allocations: 33.7 kB / 1.407 GB, free: 2.301 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4628, allocations: 4 kB / 1.407 GB, free: 2.297 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005065/0.4633, allocations: 226.4 kB / 1.407 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.4635, allocations: 55.91 kB / 1.407 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/0.4667, allocations: 2.99 MB / 1.41 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000737/0.4675, allocations: 80.03 kB / 1.41 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.4675, allocations: 28.06 kB / 1.41 GB, free: 14.78 MB / 0.9167 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.0002203/0.4678, allocations: 224.7 kB / 1.41 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.4679, allocations: 94.78 kB / 1.41 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.4692, allocations: 0.7102 MB / 1.411 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.4692, allocations: 4 kB / 1.411 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4693, allocations: 0 / 1.411 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4693, allocations: 4.078 kB / 1.411 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.4719, allocations: 1.611 MB / 1.412 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4719, allocations: 0 / 1.412 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.472, allocations: 23.92 kB / 1.412 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.4725, allocations: 242.2 kB / 1.413 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.4725, allocations: 11.98 kB / 1.413 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.4736, allocations: 1.037 MB / 1.414 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4736, allocations: 0 / 1.414 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.4758, allocations: 1.781 MB / 1.415 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/0.4763, allocations: 215.8 kB / 1.416 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.4765, allocations: 8 kB / 1.416 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.477, allocations: 51.8 kB / 1.416 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/0.4771, allocations: 31.89 kB / 1.416 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.4771, allocations: 12 kB / 1.416 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001159/0.4783, allocations: 0.7916 MB / 1.417 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4783, allocations: 0 / 1.417 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001774/0.4801, allocations: 443.5 kB / 1.417 GB, free: 7.273 MB / 0.9167 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.0005118/0.4806, allocations: 172.3 kB / 1.417 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002534/0.4831, allocations: 1.186 MB / 1.418 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.4832, allocations: 7.938 kB / 1.418 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.4838, allocations: 267.6 kB / 1.419 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.486, allocations: 477 kB / 1.419 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.4894, allocations: 2.31 MB / 1.421 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/0.4902, allocations: 1.192 MB / 1.422 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008983/0.4911, allocations: 311.9 kB / 1.423 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.4912, allocations: 55.44 kB / 1.423 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.4913, allocations: 0 / 1.423 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of Templates: time 0.4942/0.9855, allocations: 19.07 MB / 1.441 GB, free: 199.7 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)