Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001912/0.001912, allocations: 172.7 kB / 15.95 MB, free: 208 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.529/1.529, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.533/1.533, allocations: 252 MB / 0.5102 GB, free: 4.699 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.0004862/0.0004863, allocations: 12 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5568/0.5573, allocations: 106.3 MB / 0.7281 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03091/0.5883, allocations: 30.17 MB / 0.7576 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01875/0.6071, allocations: 12.26 MB / 0.7696 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.6092, allocations: 35.75 kB / 0.7696 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.6113, allocations: 0.4893 MB / 0.7701 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004143/0.6154, allocations: 1.27 MB / 0.7713 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.6187, allocations: 1.081 MB / 0.7724 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006536/0.6253, allocations: 5.488 MB / 0.7777 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.6279, allocations: 1.596 MB / 0.7793 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.6312, allocations: 1.552 MB / 0.7808 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.6339, allocations: 1.299 MB / 0.7821 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002624/0.6341, allocations: 68 kB / 0.7821 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.6368, allocations: 0.8854 MB / 0.783 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004838/0.6373, allocations: 378.3 kB / 0.7834 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007266/0.638, allocations: 400.6 kB / 0.7837 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.6407, allocations: 2.17 MB / 0.7859 GB, free: 64 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6407, allocations: 3.984 kB / 0.7859 GB, free: 60 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6407, allocations: 4 kB / 0.7859 GB, free: 56 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.766e-05/0.6407, allocations: 0 / 0.7859 GB, free: 56 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003578/0.6443, allocations: 2.085 MB / 0.7879 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.6444, allocations: 8.031 kB / 0.7879 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.6454, allocations: 317.2 kB / 0.7882 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.6482, allocations: 1.567 MB / 0.7897 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.068e-05/0.6484, allocations: 81.94 kB / 0.7898 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.6485, allocations: 108 kB / 0.7899 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.6507, allocations: 1.329 MB / 0.7912 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.6508, allocations: 4 kB / 0.7912 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/0.6509, allocations: 40 kB / 0.7913 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.6509, allocations: 24 kB / 0.7913 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.6528, allocations: 1.061 MB / 0.7923 GB, free: 9.25 MB / 0.6075 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.008278/0.6611, allocations: 6.973 MB / 0.7991 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.6625, allocations: 0.6799 MB / 0.7998 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000758/0.6633, allocations: 438.3 kB / 0.8002 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002907/0.6662, allocations: 1.827 MB / 0.802 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008319/0.6671, allocations: 416.9 kB / 0.8024 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005279/0.6676, allocations: 111.3 kB / 0.8025 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=46): time 2.815e-06/0.6676, allocations: 0 / 0.8025 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46): time 0.004024/0.6717, allocations: 1.524 MB / 0.804 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.6717, allocations: 59.41 kB / 0.804 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/0.6744, allocations: 1.843 MB / 0.8058 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.506e-05/0.6745, allocations: 41.7 kB / 0.8059 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/0.6753, allocations: 0.8542 MB / 0.8067 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.6755, allocations: 157.8 kB / 0.8069 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.6755, allocations: 16 kB / 0.8069 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6757, allocations: 341.9 kB / 0.8072 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006725/0.6764, allocations: 317.8 kB / 0.8075 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.6775, allocations: 0.7839 MB / 0.8083 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008379/0.6783, allocations: 450.3 kB / 0.8087 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6783, allocations: 4 kB / 0.8087 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002587/0.6809, allocations: 1.351 MB / 0.81 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/0.6812, allocations: 423.5 kB / 0.8104 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.6813, allocations: 12 kB / 0.8104 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007772/0.682, allocations: 232.6 kB / 0.8107 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.6827, allocations: 179.7 kB / 0.8108 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008064/0.6835, allocations: 0.8371 MB / 0.8117 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.6847, allocations: 124.4 kB / 0.8118 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.293e-05/0.6848, allocations: 47.98 kB / 0.8118 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.6848, allocations: 7.938 kB / 0.8118 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001854/0.6867, allocations: 1.036 MB / 0.8128 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.6867, allocations: 8 kB / 0.8128 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/0.6871, allocations: 162.8 kB / 0.813 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.6879, allocations: 168 kB / 0.8132 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.6907, allocations: 2.344 MB / 0.8155 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.692, allocations: 112.5 kB / 0.8156 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.577e-05/0.6921, allocations: 44 kB / 0.8156 GB, free: 84 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.001143/0.6932, allocations: 0.5826 MB / 0.8162 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/0.6936, allocations: 169.8 kB / 0.8163 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.696, allocations: 1.074 MB / 0.8174 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.696, allocations: 15.95 kB / 0.8174 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.696, allocations: 0 / 0.8174 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001617/0.6976, allocations: 1.023 MB / 0.8184 GB, free: 13.13 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.004452/0.7021, allocations: 2.315 MB / 0.8207 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.7021, allocations: 4 kB / 0.8207 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.7026, allocations: 91.8 kB / 0.8207 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.7029, allocations: 148.9 kB / 0.8209 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.703, allocations: 19.94 kB / 0.8209 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006939/0.7037, allocations: 0.7998 MB / 0.8217 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.7037, allocations: 3.938 kB / 0.8217 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.7065, allocations: 1.487 MB / 0.8231 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/0.7074, allocations: 346.8 kB / 0.8235 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/0.7078, allocations: 15.98 kB / 0.8235 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.709, allocations: 99.86 kB / 0.8236 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.7091, allocations: 36.38 kB / 0.8236 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/0.7092, allocations: 27.98 kB / 0.8236 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002439/0.7116, allocations: 1.274 MB / 0.8249 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7116, allocations: 0 / 0.8249 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003316/0.7149, allocations: 0.8501 MB / 0.8257 GB, free: 5.434 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.7161, allocations: 351 kB / 0.8261 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003405/0.7195, allocations: 1.529 MB / 0.8276 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7195, allocations: 8.125 kB / 0.8276 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008314/0.7204, allocations: 366.1 kB / 0.8279 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004565/0.725, allocations: 0.853 MB / 0.8287 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006561/0.7315, allocations: 3.454 MB / 0.8321 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.7331, allocations: 1.503 MB / 0.8336 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002041/0.7352, allocations: 434 kB / 0.834 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/0.7356, allocations: 131.4 kB / 0.8341 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of SimCode: time 1.001e-06/0.7357, allocations: 0 / 0.8341 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.05758/0.7932, allocations: 32.12 MB / 0.8655 GB, free: 13.04 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: