Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.525/2.525, allocations: 287.5 MB / 303.2 MB, free: 8.191 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.001369/0.001368, allocations: 180.9 kB / 371.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 0.6305 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009625/0.0009623, allocations: 84.14 kB / 0.7438 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005143/0.0005144, allocations: 12.31 kB / 0.8667 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.393/6.6, allocations: 2.066 GB / 3.045 GB, free: 238.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/6.6, allocations: 97.53 kB / 3.046 GB, free: 238.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.024/15.62, allocations: 1.796 GB / 4.842 GB, free: 253.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.034e-06/15.62, allocations: 0 / 4.842 GB, free: 253.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001381/15.63, allocations: 33.83 kB / 4.842 GB, free: 253 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004092/15.63, allocations: 1.423 MB / 4.843 GB, free: 252.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/15.63, allocations: 10.16 kB / 4.843 GB, free: 252.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/15.63, allocations: 188.6 kB / 4.843 GB, free: 252 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/15.63, allocations: 1.154 MB / 4.845 GB, free: 251.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/15.63, allocations: 41.38 kB / 4.845 GB, free: 251.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/15.63, allocations: 60.06 kB / 4.845 GB, free: 251.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/15.64, allocations: 0.7663 MB / 4.845 GB, free: 250.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/15.64, allocations: 7.875 kB / 4.845 GB, free: 250.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.438e-05/15.64, allocations: 26.56 kB / 4.846 GB, free: 250.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/15.64, allocations: 15.7 kB / 4.846 GB, free: 250.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/15.64, allocations: 0.5129 MB / 4.846 GB, free: 250.4 MB / 0.948 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.005393/15.64, allocations: 4.584 MB / 4.85 GB, free: 246.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/15.64, allocations: 432 kB / 4.851 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005797/15.64, allocations: 249.3 kB / 4.851 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003752/15.64, allocations: 193.7 kB / 4.851 GB, free: 245.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006695/15.65, allocations: 286.8 kB / 4.852 GB, free: 245.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.387e-06/15.65, allocations: 3.125 kB / 4.852 GB, free: 245.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.007054/15.65, allocations: 1.352 MB / 4.853 GB, free: 244.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/15.65, allocations: 84.7 kB / 4.853 GB, free: 244.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/15.66, allocations: 1.105 MB / 4.854 GB, free: 244.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/15.66, allocations: 33.64 kB / 4.854 GB, free: 244 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/15.66, allocations: 0.4886 MB / 4.855 GB, free: 243.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/15.66, allocations: 108.6 kB / 4.855 GB, free: 243.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/15.66, allocations: 11.84 kB / 4.855 GB, free: 243.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/15.66, allocations: 325.1 kB / 4.855 GB, free: 243.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/15.66, allocations: 182.9 kB / 4.855 GB, free: 243.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/15.66, allocations: 0.5009 MB / 4.856 GB, free: 242.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/15.66, allocations: 0.5937 MB / 4.856 GB, free: 242.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/15.66, allocations: 7.844 kB / 4.856 GB, free: 242.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003535/15.66, allocations: 0.9841 MB / 4.857 GB, free: 241.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/15.66, allocations: 276.1 kB / 4.857 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/15.66, allocations: 7.875 kB / 4.858 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/15.66, allocations: 325.7 kB / 4.858 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/15.66, allocations: 71.09 kB / 4.858 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/15.67, allocations: 1.006 MB / 4.859 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/15.67, allocations: 106.1 kB / 4.859 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/15.67, allocations: 30.02 kB / 4.859 GB, free: 240.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/15.67, allocations: 3.562 kB / 4.859 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002126/15.67, allocations: 0.7248 MB / 4.86 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/15.67, allocations: 10.41 kB / 4.86 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008306/15.67, allocations: 211.6 kB / 4.86 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/15.67, allocations: 60.59 kB / 4.86 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/15.68, allocations: 3.079 MB / 4.863 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/15.68, allocations: 103.6 kB / 4.863 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/15.68, allocations: 22.84 kB / 4.863 GB, free: 237.2 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007828/15.68, allocations: 471.2 kB / 4.864 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/15.68, allocations: 104.3 kB / 4.864 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/15.68, allocations: 0.7276 MB / 4.864 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/15.68, allocations: 3.25 kB / 4.864 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/15.68, allocations: 0 / 4.864 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/15.68, allocations: 7.922 kB / 4.864 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/15.68, allocations: 1.605 MB / 4.866 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/15.68, allocations: 0 / 4.866 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/15.68, allocations: 35.47 kB / 4.866 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007793/15.69, allocations: 214.4 kB / 4.866 GB, free: 235.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/15.69, allocations: 10.94 kB / 4.866 GB, free: 235.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/15.69, allocations: 0.9758 MB / 4.867 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/15.69, allocations: 3.938 kB / 4.867 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/15.69, allocations: 0.8311 MB / 4.868 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/15.69, allocations: 216.9 kB / 4.868 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/15.69, allocations: 11.88 kB / 4.868 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000902/15.69, allocations: 55.16 kB / 4.868 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/15.69, allocations: 31.67 kB / 4.868 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/15.69, allocations: 15.19 kB / 4.868 GB, free: 233.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001453/15.69, allocations: 0.7859 MB / 4.869 GB, free: 233.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/15.69, allocations: 0 / 4.869 GB, free: 233.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002102/15.69, allocations: 0.509 MB / 4.87 GB, free: 232.7 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001621/15.7, allocations: 0.9656 MB / 4.87 GB, free: 231.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002733/15.7, allocations: 1.067 MB / 4.872 GB, free: 230.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/15.7, allocations: 3.938 kB / 4.872 GB, free: 230.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007787/15.7, allocations: 227.1 kB / 4.872 GB, free: 230.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/15.7, allocations: 457.4 kB / 4.872 GB, free: 230.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/15.71, allocations: 1.994 MB / 4.874 GB, free: 228 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007485/15.71, allocations: 1.185 MB / 4.875 GB, free: 226.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001577/15.71, allocations: 319.1 kB / 4.876 GB, free: 226.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/15.71, allocations: 59.44 kB / 4.876 GB, free: 226.5 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/15.71, allocations: 0 / 4.876 GB, free: 226.5 MB / 0.948 GB Notification: Performance of Templates: time 0.06538/15.77, allocations: 29.75 MB / 4.905 GB, free: 196.9 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)