Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 213 kB / 23.02 MB, free: 2.949 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.65/1.65, allocations: 230.6 MB / 256.8 MB, free: 9.633 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.405/3.405, allocations: 0.5045 GB / 0.8104 GB, free: 2.777 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004923/0.004923, allocations: 72.03 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.918/0.9229, allocations: 180 MB / 1.353 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.2173/1.14, allocations: 148 MB / 1.497 GB, free: 13.08 MB / 1.182 GB Notification: Performance of NFInst.instExpressions: time 0.006636/1.147, allocations: 3.72 MB / 1.501 GB, free: 9.348 MB / 1.182 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/1.147, allocations: 23.81 kB / 1.501 GB, free: 9.324 MB / 1.182 GB Notification: Performance of NFTyping.typeComponents: time 0.0007879/1.148, allocations: 234.5 kB / 1.501 GB, free: 9.094 MB / 1.182 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/1.15, allocations: 0.7001 MB / 1.502 GB, free: 8.391 MB / 1.182 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/1.151, allocations: 475.7 kB / 1.502 GB, free: 7.93 MB / 1.182 GB Notification: Performance of NFFlatten.flatten: time 0.003777/1.155, allocations: 2.797 MB / 1.505 GB, free: 5.125 MB / 1.182 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/1.158, allocations: 1.973 MB / 1.507 GB, free: 3.141 MB / 1.182 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/1.162, allocations: 1.491 MB / 1.509 GB, free: 1.645 MB / 1.182 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/1.163, allocations: 0.9221 MB / 1.509 GB, free: 0.7188 MB / 1.182 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/1.164, allocations: 76 kB / 1.51 GB, free: 0.6445 MB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/1.165, allocations: 0.6666 MB / 1.51 GB, free: 15.97 MB / 1.198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005059/1.166, allocations: 370.5 kB / 1.511 GB, free: 15.61 MB / 1.198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008589/1.167, allocations: 0.5364 MB / 1.511 GB, free: 15.07 MB / 1.198 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/1.17, allocations: 1.654 MB / 1.513 GB, free: 13.41 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/1.17, allocations: 0 / 1.513 GB, free: 13.41 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.475e-06/1.17, allocations: 0 / 1.513 GB, free: 13.41 MB / 1.198 GB Notification: Performance of Transformations before backend: time 2.175e-05/1.17, allocations: 0 / 1.513 GB, free: 13.41 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003154/1.173, allocations: 1.578 MB / 1.514 GB, free: 11.79 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.173, allocations: 8.031 kB / 1.514 GB, free: 11.78 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/1.174, allocations: 215 kB / 1.514 GB, free: 11.57 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/1.175, allocations: 0.9165 MB / 1.515 GB, free: 10.61 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/1.176, allocations: 53.31 kB / 1.515 GB, free: 10.56 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/1.176, allocations: 63.98 kB / 1.515 GB, free: 10.5 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/1.177, allocations: 1.007 MB / 1.516 GB, free: 9.41 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/1.177, allocations: 4 kB / 1.516 GB, free: 9.406 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/1.178, allocations: 20 kB / 1.516 GB, free: 9.387 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/1.178, allocations: 23.88 kB / 1.516 GB, free: 9.363 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/1.179, allocations: 0.8038 MB / 1.517 GB, free: 8.559 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005281/1.184, allocations: 3.556 MB / 1.521 GB, free: 4.895 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.186, allocations: 0.6007 MB / 1.521 GB, free: 4.293 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/1.186, allocations: 314 kB / 1.522 GB, free: 3.984 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/1.187, allocations: 39.97 kB / 1.522 GB, free: 3.945 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006485/1.187, allocations: 337.8 kB / 1.522 GB, free: 3.598 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002814/1.187, allocations: 35.77 kB / 1.522 GB, free: 3.562 MB / 1.198 GB Notification: Performance of pre-optimization done (n=36): time 2.375e-06/1.187, allocations: 0 / 1.522 GB, free: 3.562 MB / 1.198 GB Notification: Performance of matching and sorting (n=36): time 0.00578/1.193, allocations: 1.655 MB / 1.524 GB, free: 1.895 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/1.193, allocations: 63.41 kB / 1.524 GB, free: 1.82 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/1.195, allocations: 1.165 MB / 1.525 GB, free: 0.6406 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/1.195, allocations: 37.7 kB / 1.525 GB, free: 0.5977 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006111/1.196, allocations: 0.5517 MB / 1.525 GB, free: 40 kB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.196, allocations: 127.1 kB / 1.526 GB, free: 15.91 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/1.196, allocations: 122.1 kB / 1.526 GB, free: 15.79 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.196, allocations: 334 kB / 1.526 GB, free: 15.45 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/1.197, allocations: 268.4 kB / 1.526 GB, free: 15.18 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/1.198, allocations: 1.222 MB / 1.527 GB, free: 13.66 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/1.199, allocations: 0.7023 MB / 1.528 GB, free: 12.87 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/1.199, allocations: 7.75 kB / 1.528 GB, free: 12.87 MB / 1.214 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002982/1.202, allocations: 1.168 MB / 1.529 GB, free: 11.68 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/1.202, allocations: 36.2 kB / 1.529 GB, free: 11.64 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.202, allocations: 7.938 kB / 1.529 GB, free: 11.63 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/1.204, allocations: 400.9 kB / 1.53 GB, free: 11.23 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/1.204, allocations: 75.89 kB / 1.53 GB, free: 11.16 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/1.206, allocations: 1.051 MB / 1.531 GB, free: 10.09 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/1.207, allocations: 59.92 kB / 1.531 GB, free: 10.03 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/1.207, allocations: 28 kB / 1.531 GB, free: 10 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001048/1.208, allocations: 0.5766 MB / 1.531 GB, free: 9.414 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001249/1.209, allocations: 1.187 MB / 1.533 GB, free: 7.926 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001059/1.21, allocations: 0.6197 MB / 1.533 GB, free: 7.223 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.043e-05/1.21, allocations: 4 kB / 1.533 GB, free: 7.219 MB / 1.214 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.002182/1.212, allocations: 0.9575 MB / 1.534 GB, free: 6.238 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/1.212, allocations: 37.7 kB / 1.534 GB, free: 6.195 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.212, allocations: 11.94 kB / 1.534 GB, free: 6.184 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007103/1.213, allocations: 252.6 kB / 1.534 GB, free: 5.934 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/1.213, allocations: 75.83 kB / 1.534 GB, free: 5.859 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004683/1.218, allocations: 3.149 MB / 1.538 GB, free: 2.613 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009265/1.219, allocations: 79.94 kB / 1.538 GB, free: 2.535 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/1.219, allocations: 27.98 kB / 1.538 GB, free: 2.508 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (37): * Single equations (assignments): 35 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0002741/1.219, allocations: 220 kB / 1.538 GB, free: 2.285 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/1.22, allocations: 115.2 kB / 1.538 GB, free: 2.172 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/1.222, allocations: 0.8258 MB / 1.539 GB, free: 1.332 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.222, allocations: 3.984 kB / 1.539 GB, free: 1.328 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/1.222, allocations: 4 kB / 1.539 GB, free: 1.324 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.222, allocations: 0 / 1.539 GB, free: 1.324 MB / 1.214 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 postOpt removeSimpleEquations (simulation): time 0.003916/1.225, allocations: 1.717 MB / 1.54 GB, free: 15.54 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.225, allocations: 7.938 kB / 1.54 GB, free: 15.54 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/1.226, allocations: 39.97 kB / 1.541 GB, free: 15.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005512/1.226, allocations: 212.8 kB / 1.541 GB, free: 15.29 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/1.226, allocations: 8 kB / 1.541 GB, free: 15.28 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/1.227, allocations: 0.8903 MB / 1.542 GB, free: 14.36 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.227, allocations: 12.03 kB / 1.542 GB, free: 14.35 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/1.229, allocations: 0.886 MB / 1.542 GB, free: 13.42 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/1.229, allocations: 159.2 kB / 1.543 GB, free: 13.26 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/1.23, allocations: 15.94 kB / 1.543 GB, free: 13.25 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006377/1.23, allocations: 43.94 kB / 1.543 GB, free: 13.2 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.23, allocations: 31.94 kB / 1.543 GB, free: 13.17 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/1.23, allocations: 12 kB / 1.543 GB, free: 13.16 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.00135/1.232, allocations: 0.8135 MB / 1.544 GB, free: 12.34 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.21e-07/1.232, allocations: 4 kB / 1.544 GB, free: 12.34 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.001838/1.234, allocations: 0.5072 MB / 1.544 GB, free: 11.83 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003926/1.234, allocations: 176 kB / 1.544 GB, free: 11.65 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.002527/1.237, allocations: 1.184 MB / 1.545 GB, free: 10.42 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.237, allocations: 3.938 kB / 1.545 GB, free: 10.41 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.0005613/1.237, allocations: 243.7 kB / 1.546 GB, free: 10.18 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/1.24, allocations: 450.8 kB / 1.546 GB, free: 9.742 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/1.245, allocations: 1.952 MB / 1.548 GB, free: 7.73 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009465/1.246, allocations: 0.6436 MB / 1.549 GB, free: 7.047 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.001051/1.247, allocations: 360.2 kB / 1.549 GB, free: 6.691 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/1.247, allocations: 71.42 kB / 1.549 GB, free: 6.621 MB / 1.229 GB Notification: Performance of SimCode: time 8.41e-07/1.247, allocations: 0 / 1.549 GB, free: 6.621 MB / 1.229 GB Notification: Performance of Templates: time 0.04241/1.289, allocations: 21.74 MB / 1.57 GB, free: 1.305 MB / 1.245 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_13_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_13_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_13_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.125911716371775]