Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001195/0.001195, allocations: 195.9 kB / 16.14 MB, free: 6.738 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.421/1.421, allocations: 205.1 MB / 222 MB, free: 4.984 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.708/1.708, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001554/0.001553, allocations: 67.44 kB / 0.6708 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2152, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6549/0.8702, allocations: 159.4 MB / 0.9383 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003849/0.8741, allocations: 1.764 MB / 0.94 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005843/0.8747, allocations: 11.72 kB / 0.94 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.8755, allocations: 134.2 kB / 0.9402 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.8772, allocations: 0.4987 MB / 0.9406 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.8787, allocations: 349.1 kB / 0.941 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00391/0.8826, allocations: 3.48 MB / 0.9444 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.884, allocations: 0.7544 MB / 0.9451 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.8865, allocations: 0.9066 MB / 0.946 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.8881, allocations: 0.7319 MB / 0.9467 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.8882, allocations: 37.38 kB / 0.9467 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.8909, allocations: 0.8075 MB / 0.9475 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000556/0.8915, allocations: 288.3 kB / 0.9478 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.8926, allocations: 0.5087 MB / 0.9483 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.895, allocations: 1.391 MB / 0.9497 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.895, allocations: 0 / 0.9497 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.895, allocations: 0 / 0.9497 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.8951, allocations: 1.156 kB / 0.9497 GB, free: 5.418 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003434/0.8985, allocations: 1.445 MB / 0.9511 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.8986, allocations: 9.844 kB / 0.9511 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.8996, allocations: 185.6 kB / 0.9513 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.9012, allocations: 0.7996 MB / 0.952 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.185e-05/0.9013, allocations: 48.81 kB / 0.9521 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.9014, allocations: 65.89 kB / 0.9522 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.9029, allocations: 0.7941 MB / 0.9529 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.903, allocations: 1.312 kB / 0.9529 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.903, allocations: 20.72 kB / 0.9529 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.903, allocations: 13.81 kB / 0.953 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009894/0.904, allocations: 0.5364 MB / 0.9535 GB, free: 19.9 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.004722/0.9088, allocations: 4.587 MB / 0.958 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007254/0.9095, allocations: 417.2 kB / 0.9584 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.9099, allocations: 244.2 kB / 0.9586 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.9102, allocations: 194.8 kB / 0.9588 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.9108, allocations: 296.5 kB / 0.9591 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/0.9108, allocations: 1.469 kB / 0.9591 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001608/0.9124, allocations: 0.6353 MB / 0.9597 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.9125, allocations: 85.23 kB / 0.9598 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.914, allocations: 1.115 MB / 0.9609 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.9141, allocations: 34.73 kB / 0.9609 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.9145, allocations: 496.7 kB / 0.9614 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-05/0.9146, allocations: 108.5 kB / 0.9615 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.9148, allocations: 115.2 kB / 0.9616 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9149, allocations: 325.9 kB / 0.9619 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.9153, allocations: 222.8 kB / 0.9621 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.9159, allocations: 0.5158 MB / 0.9626 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.9168, allocations: 0.6265 MB / 0.9632 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.9168, allocations: 1.156 kB / 0.9632 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00133/0.9182, allocations: 0.7238 MB / 0.9639 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.9182, allocations: 33.58 kB / 0.964 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.9182, allocations: 5.438 kB / 0.964 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.9183, allocations: 11.23 kB / 0.964 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.9187, allocations: 109.2 kB / 0.9641 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.9188, allocations: 13.48 kB / 0.9641 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009629/0.9197, allocations: 93.48 kB / 0.9642 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.9198, allocations: 25.84 kB / 0.9642 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008747/0.9207, allocations: 0.5007 MB / 0.9647 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005761/0.9213, allocations: 499.2 kB / 0.9652 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007425/0.922, allocations: 0.5565 MB / 0.9657 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/0.922, allocations: 2.312 kB / 0.9657 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001145/0.9232, allocations: 0.6402 MB / 0.9663 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.9232, allocations: 41.2 kB / 0.9664 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.9232, allocations: 8.906 kB / 0.9664 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.9233, allocations: 8.5 kB / 0.9664 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.9236, allocations: 107.2 kB / 0.9665 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.9237, allocations: 10.91 kB / 0.9665 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009026/0.9246, allocations: 84.72 kB / 0.9666 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.9246, allocations: 21.62 kB / 0.9666 GB, free: 13.55 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002999/0.9249, allocations: 224.9 kB / 0.9668 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.9251, allocations: 100.6 kB / 0.9669 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.9261, allocations: 496.3 kB / 0.9674 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.9261, allocations: 2.75 kB / 0.9674 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.9261, allocations: 1.375 kB / 0.9674 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.9261, allocations: 5.375 kB / 0.9674 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.9283, allocations: 1.389 MB / 0.9688 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.9283, allocations: 7.031 kB / 0.9688 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.9286, allocations: 69.91 kB / 0.9688 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.9286, allocations: 2.75 kB / 0.9688 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.9286, allocations: 11.69 kB / 0.9688 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.9286, allocations: 4.125 kB / 0.9688 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.9287, allocations: 4.281 kB / 0.9689 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008245/0.9295, allocations: 0.6009 MB / 0.9694 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.9298, allocations: 214.5 kB / 0.9696 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.93, allocations: 7.5 kB / 0.9697 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.9304, allocations: 46.95 kB / 0.9697 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.9305, allocations: 30.19 kB / 0.9697 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.9305, allocations: 13.38 kB / 0.9697 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001055/0.9316, allocations: 0.7923 MB / 0.9705 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9316, allocations: 0 / 0.9705 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0016/0.9332, allocations: 410.3 kB / 0.9709 GB, free: 12.24 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004872/0.9337, allocations: 172.1 kB / 0.9711 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.9351, allocations: 0.8123 MB / 0.9719 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9351, allocations: 0 / 0.9719 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.9355, allocations: 210.3 kB / 0.9721 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.9374, allocations: 449.6 kB / 0.9725 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.9402, allocations: 2.031 MB / 0.9745 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/0.941, allocations: 1.191 MB / 0.9756 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001215/0.9422, allocations: 422.1 kB / 0.976 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.9424, allocations: 73.2 kB / 0.9761 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/0.9424, allocations: 0 / 0.9761 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.03028/0.9727, allocations: 16.52 MB / 0.9922 GB, free: 5.086 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)