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.001262/0.001262, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001587/0.001587, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.543/1.543, allocations: 251.9 MB / 0.51 GB, free: 4.805 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.0005112/0.0005115, allocations: 12 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.5458, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1477/0.6935, allocations: 135.8 MB / 0.8606 GB, free: 3.262 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004359/0.6979, allocations: 3.161 MB / 0.8637 GB, free: 96 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.6983, allocations: 11.94 kB / 0.8637 GB, free: 84 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.6989, allocations: 187.1 kB / 0.8639 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.7004, allocations: 0.5024 MB / 0.8644 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.7018, allocations: 482.9 kB / 0.8648 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.7037, allocations: 1.497 MB / 0.8663 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.7047, allocations: 0.713 MB / 0.867 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.706, allocations: 0.6967 MB / 0.8677 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005878/0.7066, allocations: 493.9 kB / 0.8681 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.625e-05/0.7067, allocations: 32 kB / 0.8682 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009986/0.7077, allocations: 411.4 kB / 0.8686 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.7079, allocations: 263.1 kB / 0.8688 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.7082, allocations: 233.1 kB / 0.869 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.7091, allocations: 0.9665 MB / 0.87 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.7091, allocations: 4 kB / 0.87 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7091, allocations: 0 / 0.87 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.7092, allocations: 0 / 0.87 GB, free: 9.633 MB / 0.6856 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.002099/0.7113, allocations: 1.287 MB / 0.8712 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7113, allocations: 8.031 kB / 0.8712 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007629/0.7121, allocations: 194.5 kB / 0.8714 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.7136, allocations: 0.7885 MB / 0.8722 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.7136, allocations: 48.97 kB / 0.8722 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.7137, allocations: 56 kB / 0.8723 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.7149, allocations: 0.8003 MB / 0.8731 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.7149, allocations: 3.938 kB / 0.8731 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.715, allocations: 24 kB / 0.8731 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.715, allocations: 12 kB / 0.8731 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009312/0.7159, allocations: 0.5423 MB / 0.8736 GB, free: 5.68 MB / 0.6856 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.004386/0.7203, allocations: 4.607 MB / 0.8781 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.7211, allocations: 450.3 kB / 0.8786 GB, free: 248 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.7212, allocations: 11.98 kB / 0.8786 GB, free: 236 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/0.7217, allocations: 310.2 kB / 0.8789 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/0.7217, allocations: 0 / 0.8789 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.003829/0.7255, allocations: 1.332 MB / 0.8802 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.7256, allocations: 110.8 kB / 0.8803 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.7269, allocations: 1.114 MB / 0.8814 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.727, allocations: 37.7 kB / 0.8814 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.7274, allocations: 488.2 kB / 0.8819 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.7275, allocations: 110.5 kB / 0.882 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.7275, allocations: 8 kB / 0.882 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7276, allocations: 322 kB / 0.8823 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.728, allocations: 196.7 kB / 0.8825 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.7286, allocations: 497.9 kB / 0.883 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.729, allocations: 299 kB / 0.8832 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.729, allocations: 4 kB / 0.8833 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002104/0.7311, allocations: 0.9793 MB / 0.8842 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000823/0.732, allocations: 2.132 MB / 0.8863 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.732, allocations: 8 kB / 0.8863 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.7333, allocations: 344.3 kB / 0.8866 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.7336, allocations: 63.84 kB / 0.8867 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.7346, allocations: 1.009 MB / 0.8877 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008532/0.7355, allocations: 107.5 kB / 0.8878 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.7355, allocations: 24 kB / 0.8878 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.7356, allocations: 6.188 kB / 0.8878 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001359/0.7369, allocations: 0.7322 MB / 0.8885 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.737, allocations: 8.109 kB / 0.8885 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/0.7375, allocations: 217.2 kB / 0.8887 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.7377, allocations: 59.91 kB / 0.8888 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.7415, allocations: 3.19 MB / 0.8919 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/0.7424, allocations: 95.58 kB / 0.892 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.7425, allocations: 24 kB / 0.892 GB, free: 1.836 MB / 0.7012 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.0005998/0.7431, allocations: 480.6 kB / 0.8925 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.7432, allocations: 98.78 kB / 0.8926 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.7445, allocations: 0.6941 MB / 0.8932 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.7445, allocations: 4 kB / 0.8933 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.7445, allocations: 0 / 0.8933 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.7445, allocations: 7.984 kB / 0.8933 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.746, allocations: 1.095 MB / 0.8943 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.746, allocations: 4 kB / 0.8943 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.7461, allocations: 23.92 kB / 0.8944 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/0.7466, allocations: 239.1 kB / 0.8946 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.7467, allocations: 8 kB / 0.8946 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009079/0.7476, allocations: 0.9815 MB / 0.8956 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7476, allocations: 0 / 0.8956 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.7489, allocations: 0.8541 MB / 0.8964 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.7493, allocations: 219.8 kB / 0.8966 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.7494, allocations: 8 kB / 0.8966 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.7499, allocations: 59.88 kB / 0.8967 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.75, allocations: 35.89 kB / 0.8967 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.75, allocations: 12 kB / 0.8967 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001075/0.7511, allocations: 0.7877 MB / 0.8975 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4e-07/0.7511, allocations: 0 / 0.8975 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001422/0.7525, allocations: 447.4 kB / 0.8979 GB, free: 11.58 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 (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.0004203/0.7529, allocations: 176.4 kB / 0.8981 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.7548, allocations: 1.055 MB / 0.8991 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7548, allocations: 3.938 kB / 0.8991 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.7553, allocations: 243 kB / 0.8993 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.7573, allocations: 464.9 kB / 0.8998 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.76, allocations: 1.97 MB / 0.9017 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/0.7607, allocations: 1.2 MB / 0.9029 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008765/0.7616, allocations: 327.6 kB / 0.9032 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.7617, allocations: 63.44 kB / 0.9032 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/0.7617, allocations: 0 / 0.9032 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of Templates: time 0.375/1.137, allocations: 18.37 MB / 0.9212 GB, free: 175.4 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: