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.0009023/0.0009023, allocations: 99.86 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.00089/0.00089, 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.307/1.307, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.663/1.663, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005023/0.0005025, allocations: 16.31 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.0253/0.2528, allocations: 27.51 MB / 0.814 GB, free: 420 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.2684, allocations: 11.59 MB / 0.8253 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.2698, allocations: 39.69 kB / 0.8253 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.2717, allocations: 0.6105 MB / 0.8259 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.2756, allocations: 1.456 MB / 0.8273 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005831/0.2814, allocations: 2.272 MB / 0.8296 GB, free: 448 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004002/0.2854, allocations: 2.829 MB / 0.8323 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.2875, allocations: 1.611 MB / 0.8339 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.29, allocations: 1.316 MB / 0.8352 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.2912, allocations: 0.9217 MB / 0.8361 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.2914, allocations: 68 kB / 0.8362 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.2936, allocations: 0.7569 MB / 0.8369 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.294, allocations: 370.5 kB / 0.8372 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.2945, allocations: 396.7 kB / 0.8376 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.2968, allocations: 2.108 MB / 0.8397 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.2968, allocations: 0 / 0.8397 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2968, allocations: 0 / 0.8397 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.568e-05/0.2968, allocations: 0 / 0.8397 GB, free: 6.023 MB / 0.6544 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.003536/0.3004, allocations: 2.077 MB / 0.8417 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3004, allocations: 8.031 kB / 0.8417 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.3014, allocations: 313.3 kB / 0.842 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.3041, allocations: 1.567 MB / 0.8435 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.708e-05/0.3041, allocations: 82 kB / 0.8436 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.3043, allocations: 104 kB / 0.8437 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.3063, allocations: 1.311 MB / 0.845 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.3063, allocations: 7.875 kB / 0.845 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-05/0.3064, allocations: 44 kB / 0.8451 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.3064, allocations: 24 kB / 0.8451 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.3083, allocations: 1.038 MB / 0.8461 GB, free: 15.27 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.007237/0.3156, allocations: 6.926 MB / 0.8529 GB, free: 7.855 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.3169, allocations: 0.6592 MB / 0.8535 GB, free: 7.188 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002641/0.3196, allocations: 1.877 MB / 0.8553 GB, free: 5.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007471/0.3203, allocations: 401 kB / 0.8557 GB, free: 4.758 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004321/0.3208, allocations: 119.2 kB / 0.8558 GB, free: 4.641 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 2.354e-06/0.3208, allocations: 0 / 0.8558 GB, free: 4.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.003783/0.3246, allocations: 1.503 MB / 0.8573 GB, free: 3.105 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3246, allocations: 59.39 kB / 0.8574 GB, free: 3.035 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.3268, allocations: 1.854 MB / 0.8592 GB, free: 1.137 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.3269, allocations: 41.7 kB / 0.8592 GB, free: 1.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/0.3275, allocations: 0.8579 MB / 0.86 GB, free: 228 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.3277, allocations: 165.7 kB / 0.8602 GB, free: 60 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3277, allocations: 16 kB / 0.8602 GB, free: 44 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3278, allocations: 334 kB / 0.8605 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.3285, allocations: 313.8 kB / 0.8608 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/0.3294, allocations: 0.7682 MB / 0.8616 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007749/0.3302, allocations: 454.3 kB / 0.862 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3302, allocations: 0 / 0.862 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002594/0.3328, allocations: 1.332 MB / 0.8633 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.001327/0.3342, allocations: 4.223 MB / 0.8674 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.3342, allocations: 12 kB / 0.8675 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008125/0.335, allocations: 227.8 kB / 0.8677 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/0.3357, allocations: 183.7 kB / 0.8678 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007389/0.3364, allocations: 0.837 MB / 0.8687 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.3377, allocations: 128.4 kB / 0.8688 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.814e-05/0.3378, allocations: 55.98 kB / 0.8688 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.3379, allocations: 6.969 kB / 0.8688 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001703/0.3396, allocations: 1.012 MB / 0.8698 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3396, allocations: 8 kB / 0.8698 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.34, allocations: 165.3 kB / 0.87 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.3405, allocations: 163.7 kB / 0.8702 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.343, allocations: 2.388 MB / 0.8725 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.3441, allocations: 112.5 kB / 0.8726 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.3442, allocations: 47.92 kB / 0.8726 GB, free: 2.594 MB / 0.6856 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.0008205/0.345, allocations: 0.5864 MB / 0.8732 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.3452, allocations: 173.8 kB / 0.8734 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.3473, allocations: 1.066 MB / 0.8744 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3473, allocations: 8 kB / 0.8744 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3473, allocations: 0 / 0.8744 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001578/0.3489, allocations: 1.015 MB / 0.8754 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.3524, allocations: 2.288 MB / 0.8777 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3525, allocations: 3.938 kB / 0.8777 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.3529, allocations: 99.92 kB / 0.8777 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/0.3532, allocations: 136.7 kB / 0.8779 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.3533, allocations: 15.98 kB / 0.8779 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005731/0.3539, allocations: 0.8098 MB / 0.8787 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3539, allocations: 0 / 0.8787 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.3563, allocations: 1.493 MB / 0.8801 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/0.3569, allocations: 346.8 kB / 0.8805 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.357, allocations: 11.98 kB / 0.8805 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008813/0.3579, allocations: 99.81 kB / 0.8806 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/0.358, allocations: 36.38 kB / 0.8806 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.3581, allocations: 27.97 kB / 0.8806 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001506/0.3596, allocations: 1.293 MB / 0.8819 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3596, allocations: 0 / 0.8819 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00212/0.3617, allocations: 0.8541 MB / 0.8827 GB, free: 7.941 MB / 0.7012 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.000761/0.3625, allocations: 386.7 kB / 0.8831 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002693/0.3652, allocations: 1.509 MB / 0.8846 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3652, allocations: 4.062 kB / 0.8846 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007297/0.366, allocations: 366.3 kB / 0.8849 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/0.3695, allocations: 0.8468 MB / 0.8858 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.374, allocations: 3.447 MB / 0.8891 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009398/0.3749, allocations: 1.534 MB / 0.8906 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001417/0.3763, allocations: 438.1 kB / 0.891 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.3766, allocations: 127.4 kB / 0.8912 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of SimCode: time 8.81e-07/0.3766, allocations: 0 / 0.8912 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of Templates: time 0.3928/0.7695, allocations: 32.37 MB / 0.9228 GB, free: 130.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: