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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 92 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009247/0.009247, allocations: 170.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.62/1.62, allocations: 252 MB / 0.5105 GB, free: 4.688 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005603/0.0005603, allocations: 16 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4896, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1764/0.6661, allocations: 157.4 MB / 0.8825 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005412/0.6716, allocations: 3.64 MB / 0.886 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.672, allocations: 11.94 kB / 0.886 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.6726, allocations: 131.2 kB / 0.8861 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.674, allocations: 0.4941 MB / 0.8866 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.6752, allocations: 394 kB / 0.887 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003704/0.6789, allocations: 3.495 MB / 0.8904 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.68, allocations: 0.7523 MB / 0.8912 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.6817, allocations: 0.9063 MB / 0.892 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009951/0.6827, allocations: 0.7078 MB / 0.8927 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.6827, allocations: 32 kB / 0.8928 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.6841, allocations: 0.8028 MB / 0.8935 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.6844, allocations: 286.9 kB / 0.8938 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005391/0.685, allocations: 0.5261 MB / 0.8943 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.6866, allocations: 1.374 MB / 0.8957 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6866, allocations: 0 / 0.8957 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6866, allocations: 0 / 0.8957 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.6867, allocations: 0 / 0.8957 GB, free: 15.67 MB / 0.7169 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.001996/0.6887, allocations: 1.26 MB / 0.8969 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6887, allocations: 12.03 kB / 0.8969 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007262/0.6894, allocations: 190.5 kB / 0.8971 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.6906, allocations: 0.8061 MB / 0.8979 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.6907, allocations: 41 kB / 0.8979 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-05/0.6907, allocations: 56 kB / 0.898 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.692, allocations: 0.8004 MB / 0.8988 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.692, allocations: 3.938 kB / 0.8988 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.6921, allocations: 27.98 kB / 0.8988 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.6921, allocations: 15.94 kB / 0.8988 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.693, allocations: 0.5423 MB / 0.8993 GB, free: 11.72 MB / 0.7169 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.00422/0.6972, allocations: 4.603 MB / 0.9038 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007143/0.698, allocations: 430.4 kB / 0.9042 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.6984, allocations: 252.7 kB / 0.9045 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.6987, allocations: 194.2 kB / 0.9047 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004942/0.6992, allocations: 301 kB / 0.9049 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/0.6992, allocations: 0 / 0.9049 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.003928/0.7031, allocations: 1.335 MB / 0.9063 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.7032, allocations: 89.09 kB / 0.9063 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.7046, allocations: 1.118 MB / 0.9074 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.7047, allocations: 37.7 kB / 0.9075 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/0.7051, allocations: 0.4884 MB / 0.9079 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.7052, allocations: 106.5 kB / 0.908 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-05/0.7053, allocations: 45.7 kB / 0.9081 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.7054, allocations: 330 kB / 0.9084 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.7058, allocations: 208.7 kB / 0.9086 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/0.7065, allocations: 0.5213 MB / 0.9091 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.7074, allocations: 0.6505 MB / 0.9097 GB, free: 308 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7074, allocations: 0 / 0.9097 GB, free: 308 kB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.3866/1.094, allocations: 1.043 MB / 0.9108 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.00017/1.094, allocations: 282.4 kB / 0.911 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.094, allocations: 5.469 kB / 0.911 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/1.096, allocations: 364.9 kB / 0.9114 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/1.096, allocations: 61.61 kB / 0.9114 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/1.097, allocations: 1.011 MB / 0.9124 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008761/1.098, allocations: 96.64 kB / 0.9125 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/1.098, allocations: 29.41 kB / 0.9126 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/1.098, allocations: 8.688 kB / 0.9126 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001563/1.1, allocations: 0.7227 MB / 0.9133 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.1, allocations: 5.625 kB / 0.9133 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005768/1.1, allocations: 215.8 kB / 0.9135 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/1.101, allocations: 59.38 kB / 0.9135 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/1.105, allocations: 3.09 MB / 0.9166 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/1.106, allocations: 86.78 kB / 0.9166 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/1.106, allocations: 22.47 kB / 0.9167 GB, free: 179.1 MB / 0.7169 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000728/1.106, allocations: 468.8 kB / 0.9171 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/1.107, allocations: 104.9 kB / 0.9172 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/1.108, allocations: 0.7176 MB / 0.9179 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/1.108, allocations: 7.094 kB / 0.9179 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.108, allocations: 1.766 kB / 0.9179 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.108, allocations: 2.859 kB / 0.9179 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/1.111, allocations: 1.617 MB / 0.9195 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.111, allocations: 3.281 kB / 0.9195 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/1.111, allocations: 22.78 kB / 0.9195 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005953/1.112, allocations: 234.7 kB / 0.9197 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/1.112, allocations: 9.797 kB / 0.9198 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009878/1.113, allocations: 0.9792 MB / 0.9207 GB, free: 177 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.113, allocations: 10.66 kB / 0.9207 GB, free: 177 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/1.115, allocations: 0.8313 MB / 0.9215 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/1.115, allocations: 223 kB / 0.9217 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/1.115, allocations: 9.219 kB / 0.9218 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/1.116, allocations: 50.08 kB / 0.9218 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/1.116, allocations: 36.05 kB / 0.9218 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/1.116, allocations: 13.41 kB / 0.9218 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001599/1.118, allocations: 0.794 MB / 0.9226 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4e-07/1.118, allocations: 0 / 0.9226 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001709/1.12, allocations: 431.7 kB / 0.923 GB, free: 176.1 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000495/1.12, allocations: 181.3 kB / 0.9232 GB, free: 176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002398/1.123, allocations: 1.093 MB / 0.9243 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.123, allocations: 1.312 kB / 0.9243 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006705/1.123, allocations: 232.5 kB / 0.9245 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.126, allocations: 461.2 kB / 0.9249 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/1.129, allocations: 2.077 MB / 0.927 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/1.13, allocations: 1.181 MB / 0.9281 GB, free: 173 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009385/1.131, allocations: 306.1 kB / 0.9284 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/1.131, allocations: 62.2 kB / 0.9285 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of SimCode: time 8.92e-07/1.131, allocations: 0 / 0.9285 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.0254/1.156, allocations: 18.82 MB / 0.9468 GB, free: 154.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: