Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001515/0.001515, allocations: 108.9 kB / 16.35 MB, free: 5.879 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.001595/0.001595, allocations: 194.8 kB / 17.29 MB, free: 5.516 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.315/1.315, allocations: 205.1 MB / 223.2 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.3 MB / 0.5496 GB, free: 12.73 MB / 462.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.001425/0.001425, allocations: 72.3 kB / 0.6729 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1994, allocations: 114.5 MB / 0.7848 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.0332/0.2326, allocations: 32.86 MB / 0.8169 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01862/0.2513, allocations: 13.07 MB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.253, allocations: 51.69 kB / 0.8297 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.255, allocations: 0.7224 MB / 0.8304 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004019/0.2591, allocations: 1.562 MB / 0.8319 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.2624, allocations: 1.405 MB / 0.8333 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00575/0.2682, allocations: 4.846 MB / 0.838 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.2709, allocations: 2.07 MB / 0.84 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/0.2746, allocations: 1.901 MB / 0.8419 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.2767, allocations: 1.365 MB / 0.8432 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002847/0.277, allocations: 140 kB / 0.8433 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.2794, allocations: 1.166 MB / 0.8445 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004813/0.2799, allocations: 466.2 kB / 0.8449 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.2811, allocations: 1.003 MB / 0.8459 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.2847, allocations: 2.936 MB / 0.8488 GB, free: 10.98 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2848, allocations: 8 kB / 0.8488 GB, free: 10.97 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2848, allocations: 0 / 0.8488 GB, free: 10.97 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.388e-05/0.2848, allocations: 0 / 0.8488 GB, free: 10.97 MB / 0.67 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.00375/0.2886, allocations: 2.368 MB / 0.8511 GB, free: 8.531 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2886, allocations: 12.02 kB / 0.8511 GB, free: 8.52 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.2898, allocations: 302.2 kB / 0.8514 GB, free: 8.223 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.2927, allocations: 1.597 MB / 0.853 GB, free: 6.578 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.2928, allocations: 78 kB / 0.853 GB, free: 6.5 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.2929, allocations: 107.9 kB / 0.8531 GB, free: 6.395 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.295, allocations: 1.28 MB / 0.8544 GB, free: 5.039 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.2951, allocations: 4 kB / 0.8544 GB, free: 5.035 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.2952, allocations: 44 kB / 0.8544 GB, free: 4.992 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.2952, allocations: 20 kB / 0.8544 GB, free: 4.973 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.2971, allocations: 0.9795 MB / 0.8554 GB, free: 3.992 MB / 0.67 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.007711/0.3048, allocations: 6.504 MB / 0.8618 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.3061, allocations: 0.5857 MB / 0.8623 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006973/0.3069, allocations: 390.8 kB / 0.8627 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002665/0.3095, allocations: 1.7 MB / 0.8644 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000738/0.3103, allocations: 351.5 kB / 0.8647 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004056/0.3107, allocations: 87.39 kB / 0.8648 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=45): time 2.525e-06/0.3107, allocations: 0 / 0.8648 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.003378/0.3141, allocations: 1.304 MB / 0.866 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3142, allocations: 59.34 kB / 0.8661 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.3164, allocations: 1.792 MB / 0.8679 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/0.3165, allocations: 41.7 kB / 0.8679 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007032/0.3172, allocations: 0.8498 MB / 0.8687 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.3173, allocations: 157.8 kB / 0.8689 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.3176, allocations: 186.5 kB / 0.8691 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3178, allocations: 337.9 kB / 0.8694 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006546/0.3184, allocations: 324.5 kB / 0.8697 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/0.3194, allocations: 0.7363 MB / 0.8704 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.3209, allocations: 0.9876 MB / 0.8714 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.3209, allocations: 4 kB / 0.8714 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002639/0.3236, allocations: 1.308 MB / 0.8726 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.3236, allocations: 34.45 kB / 0.8727 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.3236, allocations: 12 kB / 0.8727 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/0.3243, allocations: 188.6 kB / 0.8729 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/0.325, allocations: 171.7 kB / 0.873 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007119/0.3257, allocations: 0.7592 MB / 0.8738 GB, free: 64 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009151/0.3266, allocations: 60.41 kB / 0.8738 GB, free: 0 / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.3267, allocations: 47.98 kB / 0.8739 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001124/0.3279, allocations: 0.7047 MB / 0.8746 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000828/0.3287, allocations: 0.7128 MB / 0.8753 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001299/0.33, allocations: 0.921 MB / 0.8762 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.33, allocations: 0 / 0.8762 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002148/0.3322, allocations: 1.273 MB / 0.8774 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.3322, allocations: 37.64 kB / 0.8774 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.3323, allocations: 16 kB / 0.8775 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.3325, allocations: 120.8 kB / 0.8776 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.3331, allocations: 159.7 kB / 0.8777 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.3353, allocations: 2.325 MB / 0.88 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008837/0.3362, allocations: 56.56 kB / 0.8801 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.3363, allocations: 43.98 kB / 0.8801 GB, free: 9.059 MB / 0.7012 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (84): * Single equations (assignments): 81 * Array equations: 1 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002675/0.3365, allocations: 242.4 kB / 0.8803 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.3368, allocations: 169.8 kB / 0.8805 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.3388, allocations: 1.005 MB / 0.8815 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3389, allocations: 4 kB / 0.8815 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.3389, allocations: 0 / 0.8815 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001487/0.3404, allocations: 0.9467 MB / 0.8824 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.3438, allocations: 2.108 MB / 0.8845 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3438, allocations: 4 kB / 0.8845 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.3443, allocations: 87.86 kB / 0.8845 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002908/0.3446, allocations: 112.9 kB / 0.8846 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.3447, allocations: 19.97 kB / 0.8847 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005898/0.3452, allocations: 0.7468 MB / 0.8854 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3453, allocations: 4.031 kB / 0.8854 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.3476, allocations: 1.337 MB / 0.8867 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/0.3482, allocations: 302.8 kB / 0.887 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.3483, allocations: 12 kB / 0.887 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.349, allocations: 31.97 kB / 0.887 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.3491, allocations: 44.31 kB / 0.8871 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.3492, allocations: 19.98 kB / 0.8871 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001603/0.3508, allocations: 1.238 MB / 0.8883 GB, free: 384 kB / 0.7012 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3508, allocations: 4.062 kB / 0.8883 GB, free: 380 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002035/0.3528, allocations: 0.7799 MB / 0.8891 GB, free: 15.59 MB / 0.7169 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008373/0.3537, allocations: 392.1 kB / 0.8894 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002725/0.3564, allocations: 1.458 MB / 0.8909 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3564, allocations: 4.062 kB / 0.8909 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.3571, allocations: 338.2 kB / 0.8912 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.3602, allocations: 0.7789 MB / 0.892 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.3645, allocations: 2.87 MB / 0.8948 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.3656, allocations: 1.495 MB / 0.8962 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001347/0.3669, allocations: 454 kB / 0.8967 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.3672, allocations: 135.3 kB / 0.8968 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.3672, allocations: 0 / 0.8968 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of Templates: time 0.382/0.7492, allocations: 31.54 MB / 0.9276 GB, free: 122.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)