Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001129/0.001129, allocations: 192.5 kB / 366.7 MB, free: 1.641 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.607/1.607, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0007649/0.0007649, allocations: 93.11 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.636e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6245, allocations: 116.3 MB / 0.9733 GB, free: 76.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.306/4.93, allocations: 2.066 GB / 3.04 GB, free: 16.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/4.931, allocations: 94.81 kB / 3.04 GB, free: 16.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.849/11.78, allocations: 1.78 GB / 4.82 GB, free: 67.24 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.894e-06/11.78, allocations: 3.938 kB / 4.82 GB, free: 67.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001657/11.78, allocations: 27.98 kB / 4.82 GB, free: 67.21 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.002722/11.78, allocations: 1.161 MB / 4.821 GB, free: 65.99 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/11.78, allocations: 12.03 kB / 4.821 GB, free: 65.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/11.78, allocations: 182.5 kB / 4.822 GB, free: 65.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/11.79, allocations: 1.097 MB / 4.823 GB, free: 64.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/11.79, allocations: 16 kB / 4.823 GB, free: 64.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/11.79, allocations: 36 kB / 4.823 GB, free: 64.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007196/11.79, allocations: 466.3 kB / 4.823 GB, free: 64.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/11.79, allocations: 0.6766 MB / 4.824 GB, free: 63.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/11.79, allocations: 7.953 kB / 4.824 GB, free: 63.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/11.79, allocations: 3.984 kB / 4.824 GB, free: 63.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/11.79, allocations: 16 kB / 4.824 GB, free: 63.36 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.00355/11.79, allocations: 4.449 MB / 4.828 GB, free: 58.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/11.79, allocations: 447.5 kB / 4.829 GB, free: 58.09 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/11.79, allocations: 240.6 kB / 4.829 GB, free: 57.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/11.79, allocations: 190.7 kB / 4.829 GB, free: 57.63 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/11.79, allocations: 274.7 kB / 4.829 GB, free: 57.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/11.79, allocations: 0 / 4.829 GB, free: 57.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001591/11.79, allocations: 0.7593 MB / 4.83 GB, free: 56.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/11.79, allocations: 81.11 kB / 4.83 GB, free: 56.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000946/11.8, allocations: 0.8522 MB / 4.831 GB, free: 55.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/11.8, allocations: 29.7 kB / 4.831 GB, free: 55.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/11.8, allocations: 496.7 kB / 4.831 GB, free: 55.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/11.8, allocations: 106.5 kB / 4.832 GB, free: 54.98 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/11.8, allocations: 0 / 4.832 GB, free: 54.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.554e-05/11.8, allocations: 322 kB / 4.832 GB, free: 54.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/11.8, allocations: 180.8 kB / 4.832 GB, free: 54.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/11.8, allocations: 498.8 kB / 4.832 GB, free: 53.85 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/11.8, allocations: 269.7 kB / 4.833 GB, free: 53.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/11.8, allocations: 7.953 kB / 4.833 GB, free: 53.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001361/11.8, allocations: 0.8792 MB / 4.834 GB, free: 52.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003939/11.8, allocations: 2.13 MB / 4.836 GB, free: 50.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/11.8, allocations: 4 kB / 4.836 GB, free: 50.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/11.8, allocations: 228.6 kB / 4.836 GB, free: 50.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/11.8, allocations: 63.84 kB / 4.836 GB, free: 50.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008572/11.8, allocations: 1.108 MB / 4.837 GB, free: 48.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/11.8, allocations: 87.52 kB / 4.837 GB, free: 48.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/11.8, allocations: 24 kB / 4.837 GB, free: 48.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/11.8, allocations: 7.953 kB / 4.837 GB, free: 48.85 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009243/11.8, allocations: 0.5857 MB / 4.838 GB, free: 48.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/11.8, allocations: 4 kB / 4.838 GB, free: 48.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/11.8, allocations: 197.3 kB / 4.838 GB, free: 48.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/11.8, allocations: 64.02 kB / 4.838 GB, free: 48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/11.81, allocations: 2.979 MB / 4.841 GB, free: 44.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007327/11.81, allocations: 79.69 kB / 4.841 GB, free: 44.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/11.81, allocations: 24 kB / 4.841 GB, free: 44.78 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 (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.0001446/11.81, allocations: 126.9 kB / 4.841 GB, free: 44.65 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/11.81, allocations: 90.88 kB / 4.841 GB, free: 44.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/11.81, allocations: 0.6589 MB / 4.842 GB, free: 43.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/11.81, allocations: 0 / 4.842 GB, free: 43.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/11.81, allocations: 4 kB / 4.842 GB, free: 43.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/11.81, allocations: 3.984 kB / 4.842 GB, free: 43.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/11.81, allocations: 1.462 MB / 4.843 GB, free: 42.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/11.81, allocations: 4 kB / 4.843 GB, free: 42.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/11.81, allocations: 23.92 kB / 4.843 GB, free: 42.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002621/11.81, allocations: 188.9 kB / 4.843 GB, free: 42.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/11.81, allocations: 8 kB / 4.844 GB, free: 42.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000638/11.81, allocations: 0.9816 MB / 4.844 GB, free: 41.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/11.81, allocations: 7.875 kB / 4.844 GB, free: 41.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009149/11.81, allocations: 0.8513 MB / 4.845 GB, free: 40.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/11.81, allocations: 215.8 kB / 4.846 GB, free: 39.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/11.81, allocations: 4 kB / 4.846 GB, free: 39.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/11.81, allocations: 47.86 kB / 4.846 GB, free: 39.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/11.81, allocations: 35.89 kB / 4.846 GB, free: 39.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/11.81, allocations: 12 kB / 4.846 GB, free: 39.85 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006511/11.81, allocations: 0.6691 MB / 4.846 GB, free: 39.17 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/11.81, allocations: 0 / 4.846 GB, free: 39.17 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001409/11.81, allocations: 487.4 kB / 4.847 GB, free: 38.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) * 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.00131/11.82, allocations: 1.101 MB / 4.848 GB, free: 37.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001267/11.82, allocations: 0.9817 MB / 4.849 GB, free: 36.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/11.82, allocations: 4 kB / 4.849 GB, free: 36.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/11.82, allocations: 202.6 kB / 4.849 GB, free: 36.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/11.82, allocations: 396.4 kB / 4.849 GB, free: 36.01 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/11.82, allocations: 1.328 MB / 4.851 GB, free: 34.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/11.82, allocations: 1.209 MB / 4.852 GB, free: 33.39 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001417/11.82, allocations: 0.6432 MB / 4.852 GB, free: 32.74 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/11.82, allocations: 39.44 kB / 4.852 GB, free: 32.7 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/11.82, allocations: 0 / 4.852 GB, free: 32.7 MB / 0.948 GB Notification: Performance of Templates: time 0.0349/11.86, allocations: 22.39 MB / 4.874 GB, free: 10.43 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)