Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 109.9 kB / 16.37 MB, free: 6.008 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.00101/0.00101, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.277/1.277, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001503/0.001503, allocations: 71.89 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1891, allocations: 114.6 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.4796/0.6687, allocations: 167.8 MB / 0.9486 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003528/0.6723, allocations: 2.186 MB / 0.9508 GB, free: 124 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.6726, allocations: 11.94 kB / 0.9508 GB, free: 112 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006611/0.6733, allocations: 240.1 kB / 0.951 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.6747, allocations: 0.6698 MB / 0.9517 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.6757, allocations: 444 kB / 0.9521 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002709/0.6785, allocations: 2.763 MB / 0.9548 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.6812, allocations: 2.559 MB / 0.9573 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.6831, allocations: 1.269 MB / 0.9585 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009721/0.684, allocations: 0.8559 MB / 0.9594 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.6842, allocations: 72 kB / 0.9594 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.6855, allocations: 0.8263 MB / 0.9602 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.6859, allocations: 358.8 kB / 0.9606 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006385/0.6865, allocations: 0.6218 MB / 0.9612 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.6881, allocations: 1.616 MB / 0.9628 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6881, allocations: 0 / 0.9628 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6881, allocations: 0 / 0.9628 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.6881, allocations: 0 / 0.9628 GB, free: 3.809 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.002504/0.6906, allocations: 1.61 MB / 0.9643 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.6907, allocations: 8.969 kB / 0.9643 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008067/0.6915, allocations: 199.8 kB / 0.9645 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.6929, allocations: 0.9319 MB / 0.9654 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.6929, allocations: 49.31 kB / 0.9655 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.693, allocations: 67.94 kB / 0.9656 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.6945, allocations: 0.987 MB / 0.9665 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.6945, allocations: 3.938 kB / 0.9665 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.6946, allocations: 27.98 kB / 0.9666 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.6946, allocations: 12 kB / 0.9666 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.6959, allocations: 0.7999 MB / 0.9673 GB, free: 14.93 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.004246/0.7002, allocations: 4.767 MB / 0.972 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.7026, allocations: 4.002 MB / 0.9759 GB, free: 5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.7031, allocations: 351 kB / 0.9762 GB, free: 4.656 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.7034, allocations: 194.4 kB / 0.9764 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005188/0.7039, allocations: 322.5 kB / 0.9767 GB, free: 4.098 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002029/0.7041, allocations: 35.69 kB / 0.9768 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.7041, allocations: 0 / 0.9768 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of matching and sorting (n=35): time 0.004521/0.7087, allocations: 1.482 MB / 0.9782 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.7087, allocations: 85.09 kB / 0.9783 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.7101, allocations: 1.184 MB / 0.9795 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.7102, allocations: 33.7 kB / 0.9795 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.7106, allocations: 0.5122 MB / 0.98 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.7107, allocations: 122.3 kB / 0.9801 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.7109, allocations: 118.2 kB / 0.9802 GB, free: 492 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.711, allocations: 326 kB / 0.9805 GB, free: 160 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.7114, allocations: 234.9 kB / 0.9808 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.7121, allocations: 0.5605 MB / 0.9813 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009475/0.7131, allocations: 0.687 MB / 0.982 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.7131, allocations: 6.062 kB / 0.982 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002354/0.7154, allocations: 1.103 MB / 0.9831 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.7155, allocations: 37.64 kB / 0.9831 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.7155, allocations: 4 kB / 0.9831 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.717, allocations: 408.1 kB / 0.9835 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.7175, allocations: 115.7 kB / 0.9836 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.7192, allocations: 1.658 MB / 0.9852 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/0.7201, allocations: 68.02 kB / 0.9853 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/0.7202, allocations: 28.55 kB / 0.9853 GB, free: 11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007397/0.7209, allocations: 0.5204 MB / 0.9858 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006031/0.7216, allocations: 0.5212 MB / 0.9863 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007975/0.7224, allocations: 0.6032 MB / 0.9869 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.7224, allocations: 4 kB / 0.9869 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001569/0.724, allocations: 0.8927 MB / 0.9878 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.724, allocations: 38.42 kB / 0.9878 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.724, allocations: 4 kB / 0.9878 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/0.7245, allocations: 210.2 kB / 0.988 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.7249, allocations: 91.86 kB / 0.9881 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/0.7286, allocations: 3.175 MB / 0.9912 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/0.7295, allocations: 67.92 kB / 0.9913 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.7295, allocations: 20 kB / 0.9913 GB, free: 4.484 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): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(10,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.7297, allocations: 232.1 kB / 0.9915 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.7298, allocations: 106.7 kB / 0.9916 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.7312, allocations: 0.7828 MB / 0.9924 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7313, allocations: 4 kB / 0.9924 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7313, allocations: 3.938 kB / 0.9924 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.7316, allocations: 231.7 kB / 0.9926 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.7317, allocations: 8 kB / 0.9926 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.7322, allocations: 35.94 kB / 0.9927 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.7323, allocations: 47.92 kB / 0.9927 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001574/0.7339, allocations: 0.8525 MB / 0.9935 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00127/0.7352, allocations: 1.004 MB / 0.9945 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003568/0.7356, allocations: 203.8 kB / 0.9947 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001013/0.7366, allocations: 0.8288 MB / 0.9955 GB, free: 88 kB / 0.7794 GB Notification: Performance of Backend: time 4.91e-07/0.7366, allocations: 0 / 0.9955 GB, free: 88 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003477/0.7401, allocations: 1.378 MB / 0.9969 GB, free: 14.68 MB / 0.795 GB Notification: Performance of SimCode: time 0.004172/0.7443, allocations: 2.884 MB / 0.9997 GB, free: 11.78 MB / 0.795 GB Notification: Performance of Templates: time 0.03315/0.7774, allocations: 21.68 MB / 1.021 GB, free: 6.379 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)