Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 99.78 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.001506/0.001506, 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.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.517/1.517, allocations: 251.9 MB / 0.51 GB, free: 4.84 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.0006163/0.0006166, allocations: 15.44 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5481, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02258/0.5707, allocations: 24.92 MB / 0.7523 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01461/0.5853, allocations: 11.13 MB / 0.7632 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.5864, allocations: 39.69 kB / 0.7632 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.5881, allocations: 0.5755 MB / 0.7638 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003197/0.5913, allocations: 1.324 MB / 0.7651 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005692/0.597, allocations: 2.257 MB / 0.7673 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003328/0.6003, allocations: 2.209 MB / 0.7694 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.6018, allocations: 0.9962 MB / 0.7704 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.6034, allocations: 0.9965 MB / 0.7714 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.6042, allocations: 0.7 MB / 0.772 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.6043, allocations: 52 kB / 0.7721 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.6059, allocations: 0.7334 MB / 0.7728 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003018/0.6062, allocations: 302.8 kB / 0.7731 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.6065, allocations: 313 kB / 0.7734 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.6081, allocations: 1.738 MB / 0.7751 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.6081, allocations: 0 / 0.7751 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6081, allocations: 0 / 0.7751 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.6082, allocations: 0 / 0.7751 GB, free: 11.02 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002637/0.6108, allocations: 1.689 MB / 0.7767 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.6108, allocations: 8.031 kB / 0.7768 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009456/0.6118, allocations: 257.9 kB / 0.777 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.6139, allocations: 1.254 MB / 0.7782 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.6139, allocations: 62 kB / 0.7783 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.6141, allocations: 88 kB / 0.7784 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.6157, allocations: 1.004 MB / 0.7793 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.6158, allocations: 15.78 kB / 0.7794 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/0.6158, allocations: 36 kB / 0.7794 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.6159, allocations: 16 kB / 0.7794 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.6174, allocations: 0.7766 MB / 0.7802 GB, free: 5.645 MB / 0.5919 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.006321/0.6238, allocations: 5.006 MB / 0.7851 GB, free: 328 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.6251, allocations: 0.6441 MB / 0.7857 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002586/0.6277, allocations: 1.874 MB / 0.7875 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007374/0.6285, allocations: 367 kB / 0.7879 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003439/0.6289, allocations: 107.3 kB / 0.788 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 1.984e-06/0.6289, allocations: 4 kB / 0.788 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.00358/0.6325, allocations: 1.352 MB / 0.7893 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.6325, allocations: 55.41 kB / 0.7893 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.634, allocations: 1.328 MB / 0.7906 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.6341, allocations: 37.7 kB / 0.7907 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.6345, allocations: 0.6372 MB / 0.7913 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.6347, allocations: 149.8 kB / 0.7914 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.6347, allocations: 23.98 kB / 0.7915 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6348, allocations: 334 kB / 0.7918 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.6354, allocations: 257.8 kB / 0.792 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008005/0.6362, allocations: 0.6151 MB / 0.7926 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.637, allocations: 374.2 kB / 0.793 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.637, allocations: 4 kB / 0.793 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002311/0.6393, allocations: 1.129 MB / 0.7941 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009218/0.6402, allocations: 3.135 MB / 0.7972 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6402, allocations: 8 kB / 0.7972 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007987/0.6411, allocations: 224.5 kB / 0.7974 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.6416, allocations: 163.8 kB / 0.7975 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008156/0.6425, allocations: 0.8526 MB / 0.7984 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/0.6434, allocations: 92.58 kB / 0.7985 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.6435, allocations: 35.98 kB / 0.7985 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.6435, allocations: 8 kB / 0.7985 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001502/0.645, allocations: 0.8557 MB / 0.7993 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6451, allocations: 11.98 kB / 0.7993 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/0.6454, allocations: 145.2 kB / 0.7995 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.6459, allocations: 139.7 kB / 0.7996 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.6482, allocations: 2.381 MB / 0.8019 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008388/0.649, allocations: 88.55 kB / 0.802 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.6491, allocations: 35.98 kB / 0.8021 GB, free: 14.09 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006054/0.6497, allocations: 480.6 kB / 0.8025 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.6499, allocations: 126.4 kB / 0.8026 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.6517, allocations: 0.9472 MB / 0.8036 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6518, allocations: 8 kB / 0.8036 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.6518, allocations: 0 / 0.8036 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/0.6532, allocations: 0.9311 MB / 0.8045 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.6563, allocations: 1.978 MB / 0.8064 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6563, allocations: 0 / 0.8064 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.6567, allocations: 91.94 kB / 0.8065 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.657, allocations: 140.7 kB / 0.8066 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.6571, allocations: 23.94 kB / 0.8067 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000631/0.6577, allocations: 0.8137 MB / 0.8075 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6577, allocations: 3.938 kB / 0.8075 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.66, allocations: 1.311 MB / 0.8087 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.6606, allocations: 279.4 kB / 0.809 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.6607, allocations: 15.98 kB / 0.809 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/0.6615, allocations: 87.83 kB / 0.8091 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.6616, allocations: 44.33 kB / 0.8091 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.6617, allocations: 19.98 kB / 0.8092 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001256/0.663, allocations: 0.9167 MB / 0.8101 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.663, allocations: 0 / 0.8101 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001992/0.665, allocations: 0.6784 MB / 0.8107 GB, free: 4.949 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (39): * Single equations (assignments): 33 * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008717/0.6658, allocations: 375.6 kB / 0.8111 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002759/0.6686, allocations: 1.397 MB / 0.8124 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6686, allocations: 0 / 0.8124 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/0.6694, allocations: 347.5 kB / 0.8128 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.6717, allocations: 0.5832 MB / 0.8133 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.6752, allocations: 2.722 MB / 0.816 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/0.676, allocations: 1.291 MB / 0.8173 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001037/0.677, allocations: 318.4 kB / 0.8176 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.6773, allocations: 99.41 kB / 0.8177 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.6773, allocations: 0 / 0.8177 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of Templates: time 0.03736/0.7146, allocations: 25.44 MB / 0.8425 GB, free: 4.637 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: