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.001413/0.001413, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001429/0.001429, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.418/1.418, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.763/1.763, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.002025/0.002026, allocations: 79.89 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2834, allocations: 114.5 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.6506/0.934, allocations: 161.6 MB / 0.9418 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005056/0.9391, allocations: 3.614 MB / 0.9454 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004294/0.9396, allocations: 11.94 kB / 0.9454 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006373/0.9403, allocations: 158.9 kB / 0.9455 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.9418, allocations: 0.5328 MB / 0.9461 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.9431, allocations: 432.3 kB / 0.9465 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002534/0.9456, allocations: 2.53 MB / 0.9489 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.9469, allocations: 0.942 MB / 0.9499 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.9488, allocations: 1.028 MB / 0.9509 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008622/0.9497, allocations: 0.7094 MB / 0.9516 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.9498, allocations: 56 kB / 0.9516 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.9513, allocations: 0.7289 MB / 0.9523 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.9517, allocations: 310.9 kB / 0.9526 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006723/0.9523, allocations: 0.5479 MB / 0.9532 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.954, allocations: 1.386 MB / 0.9545 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.9541, allocations: 0 / 0.9545 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9541, allocations: 0 / 0.9545 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.9541, allocations: 0 / 0.9545 GB, free: 11.98 MB / 0.7481 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.002374/0.9565, allocations: 1.46 MB / 0.9559 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.9565, allocations: 8.031 kB / 0.9559 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007712/0.9573, allocations: 194.4 kB / 0.9561 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.9585, allocations: 0.7984 MB / 0.9569 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.9585, allocations: 45 kB / 0.9569 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.9586, allocations: 56 kB / 0.957 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.9597, allocations: 0.7888 MB / 0.9578 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.9598, allocations: 7.938 kB / 0.9578 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/0.9598, allocations: 20.81 kB / 0.9578 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.9598, allocations: 16.75 kB / 0.9578 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008483/0.9607, allocations: 0.5344 MB / 0.9583 GB, free: 7.859 MB / 0.7481 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.00397/0.9647, allocations: 4.599 MB / 0.9628 GB, free: 2.879 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.9654, allocations: 426.3 kB / 0.9632 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/0.9658, allocations: 244.7 kB / 0.9635 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/0.9661, allocations: 186.2 kB / 0.9636 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000501/0.9666, allocations: 309 kB / 0.9639 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.9666, allocations: 0 / 0.9639 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.004793/0.9714, allocations: 1.644 MB / 0.9655 GB, free: 28 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.9715, allocations: 89.09 kB / 0.9656 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.9729, allocations: 1.118 MB / 0.9667 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.973, allocations: 37.7 kB / 0.9668 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.9734, allocations: 496.2 kB / 0.9672 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.9735, allocations: 98.5 kB / 0.9673 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.9736, allocations: 114 kB / 0.9674 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9738, allocations: 326 kB / 0.9677 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.9742, allocations: 214.4 kB / 0.9679 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/0.9748, allocations: 0.5174 MB / 0.9685 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008524/0.9756, allocations: 0.6272 MB / 0.9691 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.9757, allocations: 0 / 0.9691 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002237/0.9779, allocations: 1.046 MB / 0.9701 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.978, allocations: 46.47 kB / 0.9701 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.978, allocations: 4 kB / 0.9701 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.9792, allocations: 377.7 kB / 0.9705 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.9795, allocations: 63.91 kB / 0.9706 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.9809, allocations: 1.077 MB / 0.9716 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.9817, allocations: 85 kB / 0.9717 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.9817, allocations: 24.09 kB / 0.9717 GB, free: 9.426 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007701/0.9825, allocations: 0.5044 MB / 0.9722 GB, free: 8.914 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005386/0.9831, allocations: 496.5 kB / 0.9727 GB, free: 8.301 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007525/0.9838, allocations: 0.5537 MB / 0.9732 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.618e-06/0.9838, allocations: 2.578 kB / 0.9732 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001516/0.9854, allocations: 0.8299 MB / 0.974 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.9854, allocations: 33.7 kB / 0.9741 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9854, allocations: 8.109 kB / 0.9741 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005266/0.9859, allocations: 217.2 kB / 0.9743 GB, free: 6.559 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.9862, allocations: 75.78 kB / 0.9744 GB, free: 6.484 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.9898, allocations: 3.263 MB / 0.9775 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/0.9907, allocations: 64.06 kB / 0.9776 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.9907, allocations: 24 kB / 0.9776 GB, free: 2.992 MB / 0.7637 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.0002373/0.991, allocations: 209.2 kB / 0.9778 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.9911, allocations: 102.7 kB / 0.9779 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.9924, allocations: 0.7065 MB / 0.9786 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.9925, allocations: 8 kB / 0.9786 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9925, allocations: 8.406 kB / 0.9786 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.9925, allocations: 7.922 kB / 0.9786 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.9949, allocations: 1.595 MB / 0.9802 GB, free: 296 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.9949, allocations: 7.188 kB / 0.9802 GB, free: 292 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.9951, allocations: 23.97 kB / 0.9802 GB, free: 268 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004894/0.9955, allocations: 253 kB / 0.9805 GB, free: 16 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.9956, allocations: 15.92 kB / 0.9805 GB, free: 0 / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009756/0.9966, allocations: 1.019 MB / 0.9815 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.9966, allocations: 9.344 kB / 0.9815 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.9979, allocations: 0.8226 MB / 0.9823 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.9983, allocations: 211.9 kB / 0.9825 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.9984, allocations: 14.94 kB / 0.9825 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.9988, allocations: 23.97 kB / 0.9825 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.9989, allocations: 35.83 kB / 0.9826 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.999, allocations: 12.62 kB / 0.9826 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001014/1, allocations: 0.7916 MB / 0.9833 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/1, allocations: 0 / 0.9833 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001329/1.001, allocations: 435.4 kB / 0.9838 GB, free: 12.56 MB / 0.7794 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.000489/1.002, allocations: 167.9 kB / 0.9839 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002556/1.004, allocations: 1.225 MB / 0.9851 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/1.004, allocations: 4 kB / 0.9851 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005759/1.005, allocations: 273.1 kB / 0.9854 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/1.007, allocations: 464.5 kB / 0.9858 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/1.01, allocations: 1.852 MB / 0.9876 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/1.01, allocations: 1.184 MB / 0.9888 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/1.011, allocations: 67.42 kB / 0.9889 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of SimCode: time 7.72e-07/1.011, allocations: 0 / 0.9889 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of Templates: time 0.0293/1.04, allocations: 20.46 MB / 1.009 GB, free: 2.906 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (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)