Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001215/0.001215, allocations: 191.3 kB / 16.25 MB, free: 6.621 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.741/2.741, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 61.55 kB / 0.9115 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3026, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1733/0.4759, allocations: 159.4 MB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003267/0.4792, allocations: 1.746 MB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004589/0.4797, allocations: 7.938 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000672/0.4805, allocations: 139.2 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.4819, allocations: 0.4972 MB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.4832, allocations: 354.5 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.486, allocations: 2.539 MB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.4873, allocations: 0.902 MB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.4893, allocations: 1.059 MB / 1.23 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.4905, allocations: 0.7468 MB / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/0.4908, allocations: 59.98 kB / 1.231 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.4924, allocations: 0.7522 MB / 1.232 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004132/0.4928, allocations: 314.9 kB / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009129/0.4937, allocations: 0.5363 MB / 1.233 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.4956, allocations: 1.417 MB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.4957, allocations: 0 / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4957, allocations: 0 / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.464e-05/0.4957, allocations: 0 / 1.234 GB, free: 15.69 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.002655/0.4984, allocations: 1.454 MB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4984, allocations: 8.031 kB / 1.236 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.4993, allocations: 186.5 kB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.5006, allocations: 0.7983 MB / 1.237 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.5006, allocations: 49 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.5007, allocations: 56 kB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.502, allocations: 0.7926 MB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.502, allocations: 11.94 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.724e-05/0.502, allocations: 23.98 kB / 1.237 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.5021, allocations: 16 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/0.5031, allocations: 0.5266 MB / 1.238 GB, free: 11.59 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.004186/0.5073, allocations: 4.595 MB / 1.242 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/0.508, allocations: 422.2 kB / 1.243 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.5085, allocations: 246.5 kB / 1.243 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/0.5088, allocations: 198.2 kB / 1.243 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000572/0.5094, allocations: 289.6 kB / 1.244 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 3.336e-06/0.5094, allocations: 4 kB / 1.244 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001606/0.511, allocations: 0.6374 MB / 1.244 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.5111, allocations: 81.11 kB / 1.244 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.5128, allocations: 1.11 MB / 1.245 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.5129, allocations: 41.64 kB / 1.245 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.5133, allocations: 496.1 kB / 1.246 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.5134, allocations: 106.5 kB / 1.246 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.5136, allocations: 114 kB / 1.246 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5137, allocations: 329.9 kB / 1.246 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/0.5141, allocations: 210.4 kB / 1.247 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.5148, allocations: 0.5241 MB / 1.247 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/0.5157, allocations: 0.6236 MB / 1.248 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.5158, allocations: 4 kB / 1.248 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001289/0.517, allocations: 0.7248 MB / 1.248 GB, free: 144 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.5171, allocations: 33.7 kB / 1.248 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5171, allocations: 8 kB / 1.248 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.5171, allocations: 8 kB / 1.248 GB, free: 88 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.5487/1.066, allocations: 349.4 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/1.068, allocations: 6.087 MB / 1.255 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000958/1.069, allocations: 93.69 kB / 1.255 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/1.069, allocations: 25.19 kB / 1.255 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008851/1.07, allocations: 0.5007 MB / 1.255 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005229/1.071, allocations: 492.3 kB / 1.256 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00074/1.072, allocations: 0.5466 MB / 1.256 GB, free: 179 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.219e-06/1.072, allocations: 2 kB / 1.256 GB, free: 179 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001248/1.073, allocations: 0.649 MB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/1.073, allocations: 35.25 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.073, allocations: 4.906 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.073, allocations: 8.25 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/1.074, allocations: 154.7 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.074, allocations: 18.25 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/1.074, allocations: 90.75 kB / 1.257 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/1.074, allocations: 25.97 kB / 1.257 GB, free: 178.9 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000193/1.075, allocations: 219 kB / 1.258 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/1.075, allocations: 97.7 kB / 1.258 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/1.076, allocations: 496.6 kB / 1.258 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.076, allocations: 6.906 kB / 1.258 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.076, allocations: 1.25 kB / 1.258 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.076, allocations: 4.375 kB / 1.258 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/1.078, allocations: 1.384 MB / 1.259 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.078, allocations: 2 kB / 1.259 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/1.078, allocations: 149.5 kB / 1.26 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/1.078, allocations: 5.156 kB / 1.26 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/1.079, allocations: 7.469 kB / 1.26 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/1.08, allocations: 6.023 MB / 1.265 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.08, allocations: 2.688 kB / 1.266 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/1.081, allocations: 0.6039 MB / 1.266 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/1.081, allocations: 211.2 kB / 1.266 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.082, allocations: 5.531 kB / 1.266 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/1.082, allocations: 54.81 kB / 1.266 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/1.082, allocations: 29.09 kB / 1.266 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/1.082, allocations: 15.64 kB / 1.266 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008616/1.083, allocations: 0.7875 MB / 1.267 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.083, allocations: 7.375 kB / 1.267 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001076/1.084, allocations: 405.1 kB / 1.268 GB, free: 171.8 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/1.084, allocations: 172.8 kB / 1.268 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002788/1.087, allocations: 1.133 MB / 1.269 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/1.087, allocations: 0 / 1.269 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007482/1.088, allocations: 293.3 kB / 1.269 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/1.09, allocations: 458.5 kB / 1.27 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/1.092, allocations: 2.087 MB / 1.272 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/1.093, allocations: 1.189 MB / 1.273 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009826/1.094, allocations: 365.4 kB / 1.273 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.094, allocations: 67.62 kB / 1.273 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/1.094, allocations: 0 / 1.273 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03903/1.133, allocations: 17.83 MB / 1.291 GB, free: 164.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)