Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 178.5 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.4 MB / 0.5783 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008403/0.0008404, allocations: 86.36 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 9.719 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2339, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1578/0.3917, allocations: 146.9 MB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004874/0.3967, allocations: 3.422 MB / 1.048 GB, free: 9.191 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.3971, allocations: 7.938 kB / 1.048 GB, free: 9.184 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.3977, allocations: 115.2 kB / 1.048 GB, free: 9.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.3989, allocations: 382.2 kB / 1.048 GB, free: 8.695 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.4001, allocations: 387.9 kB / 1.048 GB, free: 8.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003085/0.4032, allocations: 2.988 MB / 1.051 GB, free: 5.324 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.4043, allocations: 0.6954 MB / 1.052 GB, free: 4.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.4059, allocations: 0.8675 MB / 1.053 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00082/0.4067, allocations: 0.7079 MB / 1.054 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.573e-05/0.4068, allocations: 36 kB / 1.054 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.408, allocations: 0.5497 MB / 1.054 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.4083, allocations: 282.9 kB / 1.054 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.4086, allocations: 229.1 kB / 1.055 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.4098, allocations: 1.021 MB / 1.056 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4098, allocations: 0 / 1.056 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4098, allocations: 0 / 1.056 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.4099, allocations: 0 / 1.056 GB, free: 0.9258 MB / 0.698 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.4575/0.8674, allocations: 1.303 MB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.8675, allocations: 6.844 kB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.8688, allocations: 190.8 kB / 1.057 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.8712, allocations: 0.7938 MB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.8712, allocations: 42.97 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.8714, allocations: 61.97 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.8731, allocations: 0.8105 MB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.8732, allocations: 2.062 kB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/0.8732, allocations: 22.69 kB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.8733, allocations: 13.91 kB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.8746, allocations: 0.5419 MB / 1.059 GB, free: 156.6 MB / 0.698 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.005033/0.8797, allocations: 4.599 MB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.8808, allocations: 427.8 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.8815, allocations: 258.4 kB / 1.064 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.8818, allocations: 191.1 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007645/0.8826, allocations: 301.5 kB / 1.065 GB, free: 152.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.795e-06/0.8826, allocations: 0 / 1.065 GB, free: 152.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.006069/0.8887, allocations: 1.338 MB / 1.066 GB, free: 152.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.8888, allocations: 85.08 kB / 1.066 GB, free: 152.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.891, allocations: 1.115 MB / 1.067 GB, free: 152.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.452e-05/0.8911, allocations: 33.38 kB / 1.067 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005971/0.8917, allocations: 499.4 kB / 1.068 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.8919, allocations: 107.7 kB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.8919, allocations: 8.75 kB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.892, allocations: 324.1 kB / 1.068 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/0.8926, allocations: 189.7 kB / 1.069 GB, free: 151.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008896/0.8935, allocations: 0.4989 MB / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007273/0.8942, allocations: 293.7 kB / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.8943, allocations: 3.359 kB / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003485/0.8978, allocations: 0.9927 MB / 1.07 GB, free: 151.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.8979, allocations: 274.9 kB / 1.071 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.898, allocations: 5.625 kB / 1.071 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.9, allocations: 344.8 kB / 1.071 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.9003, allocations: 59.7 kB / 1.071 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.9018, allocations: 1.01 MB / 1.072 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.9032, allocations: 106 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.9033, allocations: 28.77 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.9034, allocations: 7.562 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002333/0.9057, allocations: 0.7383 MB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.9057, allocations: 6.172 kB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008991/0.9067, allocations: 213.3 kB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.907, allocations: 62.56 kB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/0.9126, allocations: 3.107 MB / 1.076 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.9141, allocations: 101.6 kB / 1.076 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.9142, allocations: 22.28 kB / 1.076 GB, free: 148.5 MB / 0.698 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.0009473/0.9151, allocations: 475.7 kB / 1.077 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.9154, allocations: 98.41 kB / 1.077 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.9174, allocations: 0.7156 MB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.9175, allocations: 6.375 kB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9175, allocations: 1.938 kB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.9175, allocations: 9.062 kB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.9211, allocations: 1.615 MB / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.9211, allocations: 1.375 kB / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.9213, allocations: 26.92 kB / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006965/0.922, allocations: 225.9 kB / 1.079 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.922, allocations: 7.75 kB / 1.079 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.9232, allocations: 0.9831 MB / 1.08 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9232, allocations: 1.312 kB / 1.08 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.9251, allocations: 0.8413 MB / 1.081 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.9256, allocations: 224.6 kB / 1.081 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.9258, allocations: 8.594 kB / 1.081 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008435/0.9267, allocations: 60.69 kB / 1.081 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.9268, allocations: 25.28 kB / 1.081 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.9269, allocations: 14.83 kB / 1.081 GB, free: 146.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001825/0.9287, allocations: 0.7996 MB / 1.082 GB, free: 146 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9287, allocations: 0 / 1.082 GB, free: 146 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002311/0.9311, allocations: 450.9 kB / 1.083 GB, free: 145.9 MB / 0.698 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.000549/0.9316, allocations: 181.4 kB / 1.083 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002772/0.9344, allocations: 1.055 MB / 1.084 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9344, allocations: 0 / 1.084 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007566/0.9352, allocations: 235 kB / 1.084 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.9385, allocations: 462 kB / 1.084 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.9426, allocations: 2.026 MB / 1.086 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.9437, allocations: 1.18 MB / 1.088 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.944, allocations: 69.48 kB / 1.088 GB, free: 143 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/0.944, allocations: 0 / 1.088 GB, free: 143 MB / 0.698 GB Notification: Performance of Templates: time 0.03483/0.9789, allocations: 20.18 MB / 1.107 GB, free: 124 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)