Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007586/0.0007585, allocations: 98.11 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.004666/0.004666, allocations: 172.4 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 222.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005916/0.0005918, allocations: 13.84 kB / 0.6743 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2456, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.6221/0.8678, allocations: 157.3 MB / 0.9415 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004452/0.8723, allocations: 3.571 MB / 0.945 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004933/0.8728, allocations: 11.09 kB / 0.945 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.8734, allocations: 134.7 kB / 0.9451 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.8749, allocations: 0.4945 MB / 0.9456 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.8763, allocations: 390.2 kB / 0.946 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004326/0.8807, allocations: 3.49 MB / 0.9494 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.8823, allocations: 0.7621 MB / 0.9501 GB, free: 60 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.8847, allocations: 0.9039 MB / 0.951 GB, free: 0 / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.886, allocations: 0.7189 MB / 0.9517 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.8861, allocations: 33.06 kB / 0.9517 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.8879, allocations: 0.8007 MB / 0.9525 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.8884, allocations: 281.3 kB / 0.9528 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008066/0.8892, allocations: 0.5327 MB / 0.9533 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.8912, allocations: 1.368 MB / 0.9546 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.8913, allocations: 0 / 0.9546 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8913, allocations: 1.062 kB / 0.9546 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.881e-05/0.8913, allocations: 0 / 0.9546 GB, free: 15.73 MB / 0.7325 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.00255/0.8938, allocations: 1.265 MB / 0.9559 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.8939, allocations: 9 kB / 0.9559 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008549/0.8948, allocations: 193.6 kB / 0.9561 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.8961, allocations: 0.8016 MB / 0.9569 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.8962, allocations: 45.44 kB / 0.9569 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.8963, allocations: 59.41 kB / 0.957 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.8976, allocations: 0.7951 MB / 0.9577 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.8976, allocations: 0.9688 kB / 0.9577 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.8977, allocations: 23.45 kB / 0.9578 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.8977, allocations: 13.59 kB / 0.9578 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009571/0.8987, allocations: 0.5504 MB / 0.9583 GB, free: 14.2 MB / 0.7325 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.00536/0.904, allocations: 4.6 MB / 0.9628 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008557/0.9049, allocations: 427.9 kB / 0.9632 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.9054, allocations: 249.6 kB / 0.9634 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003622/0.9057, allocations: 199 kB / 0.9636 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005747/0.9063, allocations: 307.4 kB / 0.9639 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 4.358e-06/0.9064, allocations: 3.984 kB / 0.9639 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.005646/0.912, allocations: 1.676 MB / 0.9656 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.9121, allocations: 85.17 kB / 0.9656 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.9139, allocations: 1.122 MB / 0.9667 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.914, allocations: 38.73 kB / 0.9668 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.9145, allocations: 487.7 kB / 0.9672 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.9146, allocations: 110.8 kB / 0.9674 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.9147, allocations: 43.3 kB / 0.9674 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9148, allocations: 326.4 kB / 0.9677 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.9153, allocations: 212.3 kB / 0.9679 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/0.916, allocations: 0.5233 MB / 0.9684 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.917, allocations: 0.6358 MB / 0.969 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.917, allocations: 9.469 kB / 0.969 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002365/0.9194, allocations: 1.056 MB / 0.9701 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002289/0.9196, allocations: 285.1 kB / 0.9703 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.9197, allocations: 2.656 kB / 0.9704 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.9209, allocations: 390.3 kB / 0.9707 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.9212, allocations: 60.16 kB / 0.9708 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.9227, allocations: 1.091 MB / 0.9718 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.9239, allocations: 94.25 kB / 0.9719 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.924, allocations: 29.55 kB / 0.972 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.924, allocations: 8.625 kB / 0.972 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00143/0.9254, allocations: 0.7265 MB / 0.9727 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.9254, allocations: 8.906 kB / 0.9727 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.926, allocations: 220.2 kB / 0.9729 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.9262, allocations: 62.14 kB / 0.973 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004216/0.9304, allocations: 3.01 MB / 0.9759 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.9316, allocations: 91.53 kB / 0.976 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.9317, allocations: 20.28 kB / 0.976 GB, free: 4.309 MB / 0.7325 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.0009057/0.9326, allocations: 470 kB / 0.9765 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.9329, allocations: 97.53 kB / 0.9765 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.9346, allocations: 0.7264 MB / 0.9773 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9346, allocations: 2.125 kB / 0.9773 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.9346, allocations: 6.938 kB / 0.9773 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.9346, allocations: 0 / 0.9773 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.9381, allocations: 1.608 MB / 0.9788 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.9381, allocations: 2.906 kB / 0.9788 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.9382, allocations: 26.88 kB / 0.9789 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005479/0.9388, allocations: 254.8 kB / 0.9791 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.9388, allocations: 7.062 kB / 0.9791 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.94, allocations: 1.032 MB / 0.9801 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.94, allocations: 0 / 0.9801 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.9414, allocations: 0.8513 MB / 0.981 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/0.942, allocations: 214.4 kB / 0.9812 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.9423, allocations: 9.906 kB / 0.9812 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000717/0.943, allocations: 55.72 kB / 0.9812 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.9431, allocations: 32.88 kB / 0.9813 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.9432, allocations: 11.97 kB / 0.9813 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00148/0.9447, allocations: 0.7996 MB / 0.982 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9447, allocations: 0 / 0.982 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001967/0.9466, allocations: 437.8 kB / 0.9825 GB, free: 1.297 MB / 0.7325 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.0005099/0.9472, allocations: 170.1 kB / 0.9826 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002772/0.9499, allocations: 1.223 MB / 0.9838 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.95, allocations: 3.125 kB / 0.9838 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.9506, allocations: 275.8 kB / 0.9841 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/0.9536, allocations: 453.1 kB / 0.9845 GB, free: 464 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.9576, allocations: 2.09 MB / 0.9866 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/0.9585, allocations: 1.185 MB / 0.9877 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001067/0.9596, allocations: 309.9 kB / 0.988 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.9598, allocations: 56.75 kB / 0.9881 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/0.9598, allocations: 0 / 0.9881 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of Templates: time 0.03366/0.9935, allocations: 18.4 MB / 1.006 GB, free: 5.273 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) Environment - environmentSimulation: