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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 289.9 MB / 297.4 MB, free: 6.379 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 180.8 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008775/0.0008777, allocations: 89.77 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.775e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7766, allocations: 116.3 MB / 0.9733 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.995/5.772, allocations: 2.064 GB / 3.037 GB, free: 20.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/5.772, allocations: 91.69 kB / 3.037 GB, free: 20.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.073/11.85, allocations: 1.769 GB / 4.806 GB, free: 85.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.364e-06/11.85, allocations: 0 / 4.806 GB, free: 85.28 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.872e-05/11.85, allocations: 31.98 kB / 4.806 GB, free: 85.25 MB / 0.948 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.001663/11.85, allocations: 1.141 MB / 4.807 GB, free: 84.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/11.85, allocations: 8.031 kB / 4.807 GB, free: 84.04 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007036/11.85, allocations: 190.4 kB / 4.807 GB, free: 83.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/11.85, allocations: 1.069 MB / 4.808 GB, free: 82.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/11.85, allocations: 20 kB / 4.808 GB, free: 82.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/11.85, allocations: 36 kB / 4.808 GB, free: 82.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005991/11.85, allocations: 470.3 kB / 4.809 GB, free: 82.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/11.85, allocations: 0.6727 MB / 4.809 GB, free: 81.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/11.85, allocations: 4 kB / 4.809 GB, free: 81.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/11.85, allocations: 7.953 kB / 4.809 GB, free: 81.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/11.85, allocations: 12 kB / 4.809 GB, free: 81.45 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002713/11.85, allocations: 4.473 MB / 4.814 GB, free: 76.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/11.85, allocations: 443.4 kB / 4.814 GB, free: 76.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/11.85, allocations: 240.5 kB / 4.814 GB, free: 75.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/11.85, allocations: 194.2 kB / 4.814 GB, free: 75.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/11.86, allocations: 266.7 kB / 4.815 GB, free: 75.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/11.86, allocations: 0 / 4.815 GB, free: 75.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0007884/11.86, allocations: 497.6 kB / 4.815 GB, free: 74.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/11.86, allocations: 81.11 kB / 4.815 GB, free: 74.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007746/11.86, allocations: 0.8479 MB / 4.816 GB, free: 73.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/11.86, allocations: 29.7 kB / 4.816 GB, free: 73.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/11.86, allocations: 489 kB / 4.817 GB, free: 73.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/11.86, allocations: 106.4 kB / 4.817 GB, free: 73.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/11.86, allocations: 0 / 4.817 GB, free: 73.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/11.86, allocations: 330 kB / 4.817 GB, free: 73.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/11.86, allocations: 184.8 kB / 4.817 GB, free: 72.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/11.86, allocations: 499.8 kB / 4.818 GB, free: 72.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/11.86, allocations: 257.7 kB / 4.818 GB, free: 71.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/11.86, allocations: 4 kB / 4.818 GB, free: 71.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006728/11.86, allocations: 0.6062 MB / 4.818 GB, free: 71.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000407/11.86, allocations: 2.135 MB / 4.821 GB, free: 69.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/11.86, allocations: 8 kB / 4.821 GB, free: 69.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/11.86, allocations: 11.98 kB / 4.821 GB, free: 69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/11.86, allocations: 107.8 kB / 4.821 GB, free: 68.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/11.86, allocations: 15.98 kB / 4.821 GB, free: 68.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/11.86, allocations: 87.47 kB / 4.821 GB, free: 68.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/11.86, allocations: 28.12 kB / 4.821 GB, free: 68.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.954e-06/11.86, allocations: 4 kB / 4.821 GB, free: 68.77 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004887/11.86, allocations: 419.3 kB / 4.821 GB, free: 68.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/11.86, allocations: 8 kB / 4.821 GB, free: 68.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/11.86, allocations: 8 kB / 4.821 GB, free: 68.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/11.86, allocations: 104.4 kB / 4.821 GB, free: 68.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/11.86, allocations: 23.86 kB / 4.821 GB, free: 68.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/11.86, allocations: 75.64 kB / 4.821 GB, free: 68.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/11.86, allocations: 24 kB / 4.821 GB, free: 68.12 MB / 0.948 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/11.86, allocations: 120.9 kB / 4.822 GB, free: 67.99 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/11.86, allocations: 102.8 kB / 4.822 GB, free: 67.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/11.86, allocations: 442.7 kB / 4.822 GB, free: 67.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/11.86, allocations: 4 kB / 4.822 GB, free: 67.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/11.86, allocations: 0 / 4.822 GB, free: 67.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/11.86, allocations: 7.938 kB / 4.822 GB, free: 67.44 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/11.86, allocations: 1.257 MB / 4.823 GB, free: 66.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/11.86, allocations: 3.938 kB / 4.823 GB, free: 66.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/11.86, allocations: 71.89 kB / 4.823 GB, free: 66.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/11.86, allocations: 7.953 kB / 4.823 GB, free: 66.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/11.86, allocations: 7.984 kB / 4.823 GB, free: 66.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/11.86, allocations: 0 / 4.823 GB, free: 66.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/11.86, allocations: 4 kB / 4.823 GB, free: 66.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/11.86, allocations: 0.6383 MB / 4.824 GB, free: 65.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/11.87, allocations: 215.8 kB / 4.824 GB, free: 65.08 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.461e-05/11.87, allocations: 4 kB / 4.824 GB, free: 65.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/11.87, allocations: 51.8 kB / 4.824 GB, free: 65.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/11.87, allocations: 31.95 kB / 4.824 GB, free: 64.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/11.87, allocations: 16 kB / 4.824 GB, free: 64.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005927/11.87, allocations: 0.6611 MB / 4.825 GB, free: 64.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/11.87, allocations: 0 / 4.825 GB, free: 64.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001163/11.87, allocations: 443.5 kB / 4.825 GB, free: 63.87 MB / 0.948 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/11.87, allocations: 1.029 MB / 4.826 GB, free: 62.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008363/11.87, allocations: 0.7492 MB / 4.827 GB, free: 62.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/11.87, allocations: 4 kB / 4.827 GB, free: 62.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/11.87, allocations: 171.8 kB / 4.827 GB, free: 61.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/11.87, allocations: 402 kB / 4.828 GB, free: 61.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/11.87, allocations: 1.328 MB / 4.829 GB, free: 60.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/11.87, allocations: 1.198 MB / 4.83 GB, free: 58.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001579/11.88, allocations: 0.7484 MB / 4.831 GB, free: 58.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/11.88, allocations: 59.42 kB / 4.831 GB, free: 58.09 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/11.88, allocations: 0 / 4.831 GB, free: 58.09 MB / 0.948 GB Notification: Performance of Templates: time 0.02858/11.9, allocations: 19.87 MB / 4.85 GB, free: 38.36 MB / 0.948 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)