Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.701/1.701, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001363, allocations: 183.4 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008926/0.0008925, allocations: 95.16 kB / 0.7808 GB, free: 43.82 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004281, allocations: 16.81 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7301, allocations: 120.3 MB / 1.026 GB, free: 57.02 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.804/5.534, allocations: 1.861 GB / 2.887 GB, free: 316.4 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/5.534, allocations: 96.78 kB / 2.887 GB, free: 316.3 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.473/12.01, allocations: 1.798 GB / 4.686 GB, free: 259.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.216e-06/12.01, allocations: 3.188 kB / 4.686 GB, free: 259.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002062/12.01, allocations: 27.72 kB / 4.686 GB, free: 259.4 MB / 0.9792 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.006081/12.01, allocations: 1.496 MB / 4.687 GB, free: 258.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/12.01, allocations: 10 kB / 4.687 GB, free: 258.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/12.02, allocations: 190.1 kB / 4.687 GB, free: 258.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004281/12.02, allocations: 1.432 MB / 4.689 GB, free: 258.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/12.02, allocations: 48.33 kB / 4.689 GB, free: 258.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/12.02, allocations: 58.91 kB / 4.689 GB, free: 258.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/12.02, allocations: 0.7967 MB / 4.689 GB, free: 258.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/12.02, allocations: 9.406 kB / 4.689 GB, free: 258.2 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/12.02, allocations: 22.97 kB / 4.69 GB, free: 258.2 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/12.02, allocations: 16.22 kB / 4.69 GB, free: 258.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/12.02, allocations: 0.5387 MB / 4.69 GB, free: 258.2 MB / 0.9792 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.004521/12.03, allocations: 4.216 MB / 4.694 GB, free: 255.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008394/12.03, allocations: 440.5 kB / 4.695 GB, free: 255.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/12.03, allocations: 348 kB / 4.695 GB, free: 255.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/12.03, allocations: 193.1 kB / 4.695 GB, free: 255.2 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006136/12.03, allocations: 317.9 kB / 4.695 GB, free: 255.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004592/12.03, allocations: 39.17 kB / 4.695 GB, free: 255.1 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/12.03, allocations: 0 / 4.695 GB, free: 255.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.004852/12.03, allocations: 1.623 MB / 4.697 GB, free: 254.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/12.03, allocations: 84.33 kB / 4.697 GB, free: 254.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/12.04, allocations: 1.139 MB / 4.698 GB, free: 254.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/12.04, allocations: 37.45 kB / 4.698 GB, free: 254.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/12.04, allocations: 499.7 kB / 4.699 GB, free: 254.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/12.04, allocations: 115.3 kB / 4.699 GB, free: 254.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/12.04, allocations: 6.156 kB / 4.699 GB, free: 254.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/12.04, allocations: 330.8 kB / 4.699 GB, free: 254.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/12.04, allocations: 206.8 kB / 4.699 GB, free: 254.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/12.04, allocations: 0.5261 MB / 4.7 GB, free: 253.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008569/12.04, allocations: 0.6309 MB / 4.7 GB, free: 253.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/12.04, allocations: 5.812 kB / 4.701 GB, free: 253.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001982/12.04, allocations: 1.028 MB / 4.702 GB, free: 253.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/12.04, allocations: 284 kB / 4.702 GB, free: 253.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/12.04, allocations: 3.375 kB / 4.702 GB, free: 253.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/12.04, allocations: 335.4 kB / 4.702 GB, free: 253.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/12.04, allocations: 66.89 kB / 4.702 GB, free: 253.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/12.04, allocations: 1.027 MB / 4.703 GB, free: 252.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/12.05, allocations: 86.38 kB / 4.703 GB, free: 252.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/12.05, allocations: 27.3 kB / 4.703 GB, free: 252.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/12.05, allocations: 3.438 kB / 4.703 GB, free: 252.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001619/12.05, allocations: 0.7775 MB / 4.704 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/12.05, allocations: 5.25 kB / 4.704 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006522/12.05, allocations: 240.4 kB / 4.704 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/12.05, allocations: 75.31 kB / 4.704 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/12.05, allocations: 2.995 MB / 4.707 GB, free: 251.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/12.05, allocations: 93.05 kB / 4.707 GB, free: 251.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/12.05, allocations: 24.56 kB / 4.707 GB, free: 251.1 MB / 0.9792 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.001061/12.05, allocations: 471.4 kB / 4.708 GB, free: 250.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/12.05, allocations: 108.2 kB / 4.708 GB, free: 250.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/12.06, allocations: 0.795 MB / 4.709 GB, free: 250.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/12.06, allocations: 4.156 kB / 4.709 GB, free: 250.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/12.06, allocations: 1.312 kB / 4.709 GB, free: 250.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/12.06, allocations: 4.406 kB / 4.709 GB, free: 250.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/12.06, allocations: 1.728 MB / 4.71 GB, free: 250.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/12.06, allocations: 2.219 kB / 4.71 GB, free: 250.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/12.06, allocations: 35.69 kB / 4.71 GB, free: 250.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005276/12.06, allocations: 229.2 kB / 4.711 GB, free: 250.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/12.06, allocations: 14.34 kB / 4.711 GB, free: 250.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009161/12.06, allocations: 1.004 MB / 4.712 GB, free: 249.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/12.06, allocations: 2.25 kB / 4.712 GB, free: 249.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/12.06, allocations: 0.8936 MB / 4.713 GB, free: 249.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/12.06, allocations: 227.4 kB / 4.713 GB, free: 249.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/12.06, allocations: 8.156 kB / 4.713 GB, free: 249.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/12.06, allocations: 69.69 kB / 4.713 GB, free: 249.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/12.06, allocations: 37.62 kB / 4.713 GB, free: 249.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/12.06, allocations: 10.31 kB / 4.713 GB, free: 249.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001117/12.07, allocations: 0.8083 MB / 4.714 GB, free: 249.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.2e-07/12.07, allocations: 0 / 4.714 GB, free: 249.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001869/12.07, allocations: 0.5385 MB / 4.714 GB, free: 249.3 MB / 0.9792 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_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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/12.07, allocations: 0.9096 MB / 4.715 GB, free: 249.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001937/12.07, allocations: 1.105 MB / 4.716 GB, free: 248.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/12.07, allocations: 0 / 4.716 GB, free: 248.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004145/12.07, allocations: 254.8 kB / 4.716 GB, free: 248.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/12.07, allocations: 0.6261 MB / 4.717 GB, free: 248.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/12.08, allocations: 1.994 MB / 4.719 GB, free: 248 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/12.08, allocations: 1.192 MB / 4.72 GB, free: 247.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0009426/12.08, allocations: 304.1 kB / 4.72 GB, free: 247.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/12.08, allocations: 64.89 kB / 4.72 GB, free: 247.2 MB / 0.9792 GB Notification: Performance of SimCode: time 4.31e-07/12.08, allocations: 3.531 kB / 4.72 GB, free: 247.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.0495/12.13, allocations: 31.77 MB / 4.752 GB, free: 246.5 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)