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.0012/0.0012, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.001137/0.001137, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.373/1.373, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.677/1.677, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001382/0.001382, allocations: 69.16 kB / 0.6716 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2523, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.6762/0.9285, allocations: 159.4 MB / 0.9392 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004686/0.9332, allocations: 3.581 MB / 0.9427 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000507/0.9337, allocations: 7.844 kB / 0.9427 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006681/0.9344, allocations: 143.2 kB / 0.9428 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.936, allocations: 0.4945 MB / 0.9433 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.9375, allocations: 395.2 kB / 0.9437 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.9401, allocations: 2.571 MB / 0.9462 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.9413, allocations: 0.8948 MB / 0.9471 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.9436, allocations: 1.072 MB / 0.9481 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.9452, allocations: 0.7479 MB / 0.9488 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.9454, allocations: 54.66 kB / 0.9489 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.9477, allocations: 0.762 MB / 0.9496 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000531/0.9483, allocations: 310.8 kB / 0.9499 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.9494, allocations: 0.5383 MB / 0.9505 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.9512, allocations: 1.044 MB / 0.9515 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9512, allocations: 0.5 kB / 0.9515 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9512, allocations: 4 kB / 0.9515 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.469e-05/0.9512, allocations: 2.125 kB / 0.9515 GB, free: 5.66 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.003302/0.9545, allocations: 1.455 MB / 0.9529 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.9546, allocations: 13.41 kB / 0.9529 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.9556, allocations: 191.8 kB / 0.9531 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.9572, allocations: 0.7981 MB / 0.9539 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.9573, allocations: 44.22 kB / 0.9539 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.9575, allocations: 58.69 kB / 0.954 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.9589, allocations: 0.7958 MB / 0.9548 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.9589, allocations: 4.469 kB / 0.9548 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.959, allocations: 23.47 kB / 0.9548 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.959, allocations: 14.03 kB / 0.9548 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000912/0.9599, allocations: 0.5403 MB / 0.9553 GB, free: 20.14 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.004585/0.9645, allocations: 4.582 MB / 0.9598 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.9653, allocations: 416.6 kB / 0.9602 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.9656, allocations: 255 kB / 0.9604 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.9659, allocations: 191.2 kB / 0.9606 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005015/0.9664, allocations: 305.1 kB / 0.9609 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.9665, allocations: 1 kB / 0.9609 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.004973/0.9714, allocations: 1.644 MB / 0.9625 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.9715, allocations: 87.55 kB / 0.9626 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.9731, allocations: 1.12 MB / 0.9637 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.019e-05/0.9732, allocations: 36.09 kB / 0.9637 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.9735, allocations: 492.8 kB / 0.9642 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.149e-05/0.9736, allocations: 109 kB / 0.9643 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.9738, allocations: 112.2 kB / 0.9644 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9739, allocations: 328.5 kB / 0.9647 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.9743, allocations: 212.6 kB / 0.9649 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.9748, allocations: 0.52 MB / 0.9654 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007999/0.9756, allocations: 0.6279 MB / 0.966 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.9756, allocations: 1.062 kB / 0.966 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002195/0.9778, allocations: 1.042 MB / 0.9671 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.9779, allocations: 33.86 kB / 0.9671 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.9779, allocations: 5.594 kB / 0.9671 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.9792, allocations: 388.5 kB / 0.9675 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.9795, allocations: 55.39 kB / 0.9675 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.9808, allocations: 1.083 MB / 0.9686 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.9819, allocations: 104.1 kB / 0.9687 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.9819, allocations: 25.95 kB / 0.9687 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008999/0.9828, allocations: 0.4963 MB / 0.9692 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005103/0.9834, allocations: 0.4893 MB / 0.9697 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007603/0.9841, allocations: 0.5502 MB / 0.9702 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.893e-06/0.9842, allocations: 2.531 kB / 0.9702 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001693/0.9859, allocations: 0.829 MB / 0.971 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.9859, allocations: 33.95 kB / 0.971 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.9859, allocations: 5.688 kB / 0.9711 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.9865, allocations: 219.8 kB / 0.9713 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.9867, allocations: 65.48 kB / 0.9713 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.9906, allocations: 3.268 MB / 0.9745 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.9917, allocations: 90.06 kB / 0.9746 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.9918, allocations: 24.36 kB / 0.9746 GB, free: 11.37 MB / 0.7481 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.0002824/0.9921, allocations: 219.6 kB / 0.9748 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.9924, allocations: 97.81 kB / 0.9749 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.9938, allocations: 0.7124 MB / 0.9756 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.9938, allocations: 2.812 kB / 0.9756 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.9938, allocations: 0 / 0.9756 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9938, allocations: 5.859 kB / 0.9756 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.9966, allocations: 1.602 MB / 0.9772 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.9966, allocations: 1.406 kB / 0.9772 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.9967, allocations: 27.36 kB / 0.9772 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.9972, allocations: 257 kB / 0.9775 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.9973, allocations: 12.91 kB / 0.9775 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009614/0.9982, allocations: 1.027 MB / 0.9785 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.9982, allocations: 4.688 kB / 0.9785 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.9995, allocations: 0.8272 MB / 0.9793 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/1, allocations: 215.5 kB / 0.9795 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/1, allocations: 9.047 kB / 0.9795 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006134/1.001, allocations: 49.19 kB / 0.9796 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.001, allocations: 36.12 kB / 0.9796 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/1.001, allocations: 8.406 kB / 0.9796 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00119/1.002, allocations: 0.7943 MB / 0.9804 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/1.002, allocations: 0 / 0.9804 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001806/1.004, allocations: 439.9 kB / 0.9808 GB, free: 9.363 MB / 0.7481 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.0006874/1.005, allocations: 174.8 kB / 0.981 GB, free: 9.266 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002996/1.008, allocations: 1.216 MB / 0.9821 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.008, allocations: 4.062 kB / 0.9822 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000604/1.008, allocations: 271.8 kB / 0.9824 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.011, allocations: 466.9 kB / 0.9829 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/1.014, allocations: 2.128 MB / 0.9849 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008676/1.015, allocations: 1.18 MB / 0.9861 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.016, allocations: 64.52 kB / 0.9861 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/1.016, allocations: 0 / 0.9861 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of Templates: time 0.03116/1.047, allocations: 20.48 MB / 1.006 GB, free: 14.89 MB / 0.7637 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)