Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.291/2.291, allocations: 391.2 MB / 407 MB, free: 10.82 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.001733/0.001733, allocations: 190.8 kB / 499.1 MB, free: 4.625 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.478/1.478, allocations: 222.9 MB / 0.7948 GB, free: 15.78 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.001062/0.001062, allocations: 99.45 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 54.48 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2623, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1392/0.4015, allocations: 159.3 MB / 1.374 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.003059/0.4046, allocations: 1.776 MB / 1.375 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.405, allocations: 11.88 kB / 1.375 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.4055, allocations: 131.2 kB / 1.376 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.4068, allocations: 0.4902 MB / 1.376 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.408, allocations: 350.3 kB / 1.376 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00309/0.4111, allocations: 3.498 MB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009634/0.412, allocations: 0.7626 MB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.4139, allocations: 0.9298 MB / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009256/0.4148, allocations: 0.7272 MB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 8.147e-05/0.4149, allocations: 36 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.4164, allocations: 0.8068 MB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.4167, allocations: 282.9 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0006478/0.4174, allocations: 0.5205 MB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.4188, allocations: 1.374 MB / 1.385 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4189, allocations: 4 kB / 1.385 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4189, allocations: 0 / 1.385 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.4189, allocations: 0 / 1.385 GB, free: 9.547 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002268/0.4212, allocations: 1.451 MB / 1.387 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4212, allocations: 11.98 kB / 1.387 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006994/0.4219, allocations: 186.5 kB / 1.387 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.4232, allocations: 0.806 MB / 1.388 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.4233, allocations: 45 kB / 1.388 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.4233, allocations: 60 kB / 1.388 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.4244, allocations: 0.7908 MB / 1.388 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.4244, allocations: 3.938 kB / 1.388 GB, free: 6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.4245, allocations: 24 kB / 1.388 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4245, allocations: 12 kB / 1.388 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008781/0.4254, allocations: 0.5383 MB / 1.389 GB, free: 5.43 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.003731/0.4291, allocations: 4.591 MB / 1.393 GB, free: 464 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.4298, allocations: 410.4 kB / 1.394 GB, free: 44 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.4302, allocations: 256.9 kB / 1.394 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.4305, allocations: 198.1 kB / 1.394 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.431, allocations: 290.4 kB / 1.395 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=31): time 1.983e-06/0.431, allocations: 0 / 1.395 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31): time 0.001267/0.4323, allocations: 0.6408 MB / 1.395 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.4324, allocations: 81.11 kB / 1.395 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.4336, allocations: 1.114 MB / 1.396 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.4337, allocations: 33.7 kB / 1.396 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.434, allocations: 496.1 kB / 1.397 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.617e-05/0.4341, allocations: 110.5 kB / 1.397 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.4343, allocations: 109.9 kB / 1.397 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4344, allocations: 333.9 kB / 1.397 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.4348, allocations: 210.4 kB / 1.398 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/0.4354, allocations: 0.5212 MB / 1.398 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/0.4362, allocations: 0.643 MB / 1.399 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4362, allocations: 4 kB / 1.399 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001165/0.4374, allocations: 0.7167 MB / 1.399 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.4375, allocations: 39.09 kB / 1.399 GB, free: 9.938 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4375, allocations: 8 kB / 1.399 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4375, allocations: 8 kB / 1.399 GB, free: 9.922 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.4394, allocations: 351.6 kB / 1.4 GB, free: 9.578 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/0.4425, allocations: 6.079 MB / 1.406 GB, free: 3.266 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008184/0.4434, allocations: 95.47 kB / 1.406 GB, free: 3.172 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.4434, allocations: 27.98 kB / 1.406 GB, free: 3.145 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007024/0.4442, allocations: 0.4936 MB / 1.406 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005246/0.4447, allocations: 493.8 kB / 1.407 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007302/0.4454, allocations: 0.5567 MB / 1.407 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.4454, allocations: 7.938 kB / 1.407 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001038/0.4465, allocations: 0.6387 MB / 1.408 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.4465, allocations: 33.77 kB / 1.408 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4465, allocations: 8.375 kB / 1.408 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.4466, allocations: 8 kB / 1.408 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.4471, allocations: 151.8 kB / 1.408 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4471, allocations: 11.98 kB / 1.408 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.4478, allocations: 84.02 kB / 1.408 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.4479, allocations: 35.92 kB / 1.408 GB, free: 412 kB / 0.9011 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.0002075/0.4481, allocations: 228.6 kB / 1.409 GB, free: 176 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.4482, allocations: 98.78 kB / 1.409 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000932/0.4491, allocations: 499 kB / 1.409 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4491, allocations: 8 kB / 1.409 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4492, allocations: 0 / 1.409 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4492, allocations: 0 / 1.409 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.4512, allocations: 1.383 MB / 1.41 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4512, allocations: 0 / 1.41 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006061/0.4518, allocations: 147.8 kB / 1.411 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.4518, allocations: 4 kB / 1.411 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.4519, allocations: 11.94 kB / 1.411 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002682/0.4545, allocations: 6.017 MB / 1.416 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4546, allocations: 8.156 kB / 1.416 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.4562, allocations: 1.551 MB / 1.418 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.4566, allocations: 215.8 kB / 1.418 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.4567, allocations: 8 kB / 1.418 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.4571, allocations: 47.86 kB / 1.418 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/0.4572, allocations: 23.97 kB / 1.418 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.4572, allocations: 16 kB / 1.418 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009294/0.4582, allocations: 0.7875 MB / 1.419 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4582, allocations: 4 kB / 1.419 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001555/0.4597, allocations: 419.3 kB / 1.419 GB, free: 4.527 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 (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.000434/0.4602, allocations: 156.4 kB / 1.42 GB, free: 4.371 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003098/0.4633, allocations: 1.097 MB / 1.421 GB, free: 3.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.4633, allocations: 4 kB / 1.421 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.4641, allocations: 297.3 kB / 1.421 GB, free: 2.957 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.4665, allocations: 451.1 kB / 1.421 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.4698, allocations: 2.32 MB / 1.424 GB, free: 144 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4518/0.9216, allocations: 1.188 MB / 1.425 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001263/0.9229, allocations: 377.4 kB / 1.425 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.9231, allocations: 66.58 kB / 1.425 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of SimCode: time 9.02e-07/0.9231, allocations: 1.781 kB / 1.425 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.0333/0.9564, allocations: 17.76 MB / 1.443 GB, free: 200.3 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)