Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 107.7 kB / 16.37 MB, free: 6.312 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.001071/0.001071, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.263/1.263, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001579/0.001579, allocations: 68.47 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2016, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.4919/0.6935, allocations: 167.8 MB / 0.9486 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003393/0.6969, allocations: 2.186 MB / 0.9508 GB, free: 96 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.6973, allocations: 19.88 kB / 0.9508 GB, free: 76 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.698, allocations: 234.6 kB / 0.951 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.6996, allocations: 0.6806 MB / 0.9517 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.7007, allocations: 439.2 kB / 0.9521 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002944/0.7036, allocations: 2.763 MB / 0.9548 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002946/0.7066, allocations: 2.55 MB / 0.9573 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.7086, allocations: 1.269 MB / 0.9585 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.7099, allocations: 0.8598 MB / 0.9594 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.7101, allocations: 77.78 kB / 0.9594 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.7115, allocations: 0.8108 MB / 0.9602 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.7119, allocations: 370.7 kB / 0.9606 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007854/0.7127, allocations: 0.6179 MB / 0.9612 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.7143, allocations: 1.614 MB / 0.9628 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.7143, allocations: 4 kB / 0.9628 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7143, allocations: 0 / 0.9628 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.7143, allocations: 0 / 0.9628 GB, free: 3.777 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002481/0.7168, allocations: 1.618 MB / 0.9643 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.7169, allocations: 8.031 kB / 0.9644 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008018/0.7177, allocations: 202.3 kB / 0.9645 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.719, allocations: 0.9281 MB / 0.9655 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.7191, allocations: 49.31 kB / 0.9655 GB, free: 0.8633 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.7192, allocations: 63.94 kB / 0.9656 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.7207, allocations: 0.9987 MB / 0.9665 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.7207, allocations: 0 / 0.9665 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/0.7208, allocations: 24 kB / 0.9666 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.7208, allocations: 12 kB / 0.9666 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.7222, allocations: 0.8013 MB / 0.9674 GB, free: 14.89 MB / 0.7637 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.004686/0.7269, allocations: 4.774 MB / 0.972 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.7299, allocations: 4.002 MB / 0.9759 GB, free: 4.953 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/0.7304, allocations: 351 kB / 0.9763 GB, free: 4.609 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.7307, allocations: 190.5 kB / 0.9764 GB, free: 4.387 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005329/0.7313, allocations: 327 kB / 0.9767 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002283/0.7315, allocations: 35.69 kB / 0.9768 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.7315, allocations: 0 / 0.9768 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of matching and sorting (n=35): time 0.004683/0.7362, allocations: 1.57 MB / 0.9783 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.7363, allocations: 89.09 kB / 0.9784 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.7377, allocations: 1.19 MB / 0.9796 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.7378, allocations: 33.7 kB / 0.9796 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.7382, allocations: 0.5083 MB / 0.9801 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/0.7383, allocations: 122.3 kB / 0.9802 GB, free: 468 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.7385, allocations: 114.2 kB / 0.9803 GB, free: 348 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7386, allocations: 330 kB / 0.9806 GB, free: 12 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.7391, allocations: 239.2 kB / 0.9809 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.7397, allocations: 0.5566 MB / 0.9814 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/0.7407, allocations: 0.687 MB / 0.9821 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.7407, allocations: 4 kB / 0.9821 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002243/0.7429, allocations: 1.106 MB / 0.9832 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.743, allocations: 33.7 kB / 0.9832 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.743, allocations: 4.625 kB / 0.9832 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.7442, allocations: 350.1 kB / 0.9835 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.7446, allocations: 107.7 kB / 0.9836 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009942/0.7456, allocations: 1.005 MB / 0.9846 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000789/0.7464, allocations: 67.92 kB / 0.9847 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.7465, allocations: 27.98 kB / 0.9847 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007039/0.7472, allocations: 0.5259 MB / 0.9852 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005725/0.7478, allocations: 0.5173 MB / 0.9857 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008014/0.7486, allocations: 0.6111 MB / 0.9863 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.7486, allocations: 0 / 0.9863 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001532/0.7502, allocations: 0.8922 MB / 0.9872 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.7502, allocations: 39.73 kB / 0.9872 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7502, allocations: 4 kB / 0.9872 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.7507, allocations: 229.9 kB / 0.9875 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.7511, allocations: 91.86 kB / 0.9875 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.7546, allocations: 3.148 MB / 0.9906 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.7554, allocations: 75.98 kB / 0.9907 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.7555, allocations: 23.98 kB / 0.9907 GB, free: 5.074 MB / 0.7794 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.7556, allocations: 216.1 kB / 0.9909 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.7558, allocations: 110.7 kB / 0.991 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.7572, allocations: 0.7813 MB / 0.9918 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7572, allocations: 0 / 0.9918 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7572, allocations: 0 / 0.9918 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.7575, allocations: 219.8 kB / 0.992 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7576, allocations: 11.94 kB / 0.992 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.7582, allocations: 39.94 kB / 0.992 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.7583, allocations: 55.86 kB / 0.9921 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001526/0.7598, allocations: 0.8436 MB / 0.9929 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001287/0.7611, allocations: 1.007 MB / 0.9939 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003633/0.7615, allocations: 195.8 kB / 0.9941 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009938/0.7625, allocations: 0.8405 MB / 0.9949 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of Backend: time 5.21e-07/0.7625, allocations: 0 / 0.9949 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002725/0.7653, allocations: 1.231 MB / 0.9961 GB, free: 15.46 MB / 0.795 GB Notification: Performance of SimCode: time 0.003951/0.7692, allocations: 2.761 MB / 0.9988 GB, free: 12.69 MB / 0.795 GB Notification: Performance of Templates: time 0.03379/0.803, allocations: 21.83 MB / 1.02 GB, free: 7.156 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)