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.001297/0.001297, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001546/0.001546, allocations: 191.4 kB / 16.25 MB, free: 6.621 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.409/1.409, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.662/1.662, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001303/0.001303, allocations: 70.06 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2364, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03245/0.2689, allocations: 32.61 MB / 0.8147 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.2871, allocations: 13.07 MB / 0.8274 GB, free: 92 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.2888, allocations: 47.69 kB / 0.8275 GB, free: 44 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.2909, allocations: 0.6455 MB / 0.8281 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.2949, allocations: 1.451 MB / 0.8295 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.2982, allocations: 1.284 MB / 0.8308 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005494/0.3037, allocations: 4.892 MB / 0.8356 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/0.3063, allocations: 2.05 MB / 0.8376 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.3105, allocations: 1.946 MB / 0.8395 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.3126, allocations: 1.416 MB / 0.8409 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.313, allocations: 144 kB / 0.841 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/0.3154, allocations: 1.158 MB / 0.8421 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005259/0.3159, allocations: 466.3 kB / 0.8426 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.3173, allocations: 1.01 MB / 0.8436 GB, free: 15.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003702/0.321, allocations: 2.917 MB / 0.8464 GB, free: 12.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.321, allocations: 3.984 kB / 0.8464 GB, free: 12.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.264e-06/0.321, allocations: 0 / 0.8464 GB, free: 12.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.461e-05/0.3211, allocations: 3.938 kB / 0.8464 GB, free: 12.59 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.003891/0.325, allocations: 2.368 MB / 0.8487 GB, free: 10.15 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.325, allocations: 12.03 kB / 0.8487 GB, free: 10.14 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.3262, allocations: 306.2 kB / 0.849 GB, free: 9.836 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/0.3291, allocations: 1.632 MB / 0.8506 GB, free: 8.156 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/0.3292, allocations: 89.98 kB / 0.8507 GB, free: 8.066 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.3294, allocations: 104 kB / 0.8508 GB, free: 7.965 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.3316, allocations: 1.287 MB / 0.8521 GB, free: 6.605 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.3316, allocations: 7.844 kB / 0.8521 GB, free: 6.598 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.766e-05/0.3317, allocations: 40 kB / 0.8521 GB, free: 6.559 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.3317, allocations: 27.94 kB / 0.8521 GB, free: 6.531 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.3336, allocations: 0.9873 MB / 0.8531 GB, free: 5.543 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.007259/0.3408, allocations: 6.73 MB / 0.8597 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3421, allocations: 0.5824 MB / 0.8602 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.3428, allocations: 394.4 kB / 0.8606 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002421/0.3452, allocations: 1.69 MB / 0.8623 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/0.3459, allocations: 364.8 kB / 0.8626 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004447/0.3464, allocations: 103.3 kB / 0.8627 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.314e-06/0.3464, allocations: 0 / 0.8627 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.003285/0.3497, allocations: 1.313 MB / 0.864 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.3497, allocations: 59.34 kB / 0.8641 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.3518, allocations: 1.772 MB / 0.8658 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/0.3519, allocations: 41.7 kB / 0.8658 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006929/0.3526, allocations: 0.8498 MB / 0.8667 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.3528, allocations: 173.7 kB / 0.8668 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.3531, allocations: 186.5 kB / 0.867 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3533, allocations: 337.9 kB / 0.8673 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.3539, allocations: 316.6 kB / 0.8676 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000913/0.3548, allocations: 0.7479 MB / 0.8684 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.3563, allocations: 0.9798 MB / 0.8693 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.3564, allocations: 4 kB / 0.8693 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002533/0.3589, allocations: 1.308 MB / 0.8706 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.359, allocations: 40.92 kB / 0.8706 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.359, allocations: 16 kB / 0.8706 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/0.3596, allocations: 184.7 kB / 0.8708 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.3603, allocations: 175.7 kB / 0.871 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007578/0.361, allocations: 0.7582 MB / 0.8717 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.3621, allocations: 92.44 kB / 0.8718 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.3622, allocations: 47.98 kB / 0.8719 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001653/0.3639, allocations: 0.7126 MB / 0.8726 GB, free: 440 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001293/0.3652, allocations: 0.705 MB / 0.8732 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001303/0.3665, allocations: 0.9249 MB / 0.8741 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.374e-06/0.3665, allocations: 4 kB / 0.8742 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.002448/0.369, allocations: 1.269 MB / 0.8754 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.369, allocations: 41.7 kB / 0.8754 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.369, allocations: 11.94 kB / 0.8754 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.3693, allocations: 120.8 kB / 0.8756 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.3699, allocations: 163.7 kB / 0.8757 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.3724, allocations: 2.332 MB / 0.878 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.3738, allocations: 88.56 kB / 0.8781 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.3739, allocations: 44 kB / 0.8781 GB, free: 10.2 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 (85): * Single equations (assignments): 82 * 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.0004014/0.3743, allocations: 255.7 kB / 0.8784 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.3745, allocations: 169.8 kB / 0.8785 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.3768, allocations: 1.008 MB / 0.8795 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.3768, allocations: 8 kB / 0.8795 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3768, allocations: 0 / 0.8795 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001539/0.3783, allocations: 0.945 MB / 0.8804 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004596/0.383, allocations: 2.105 MB / 0.8825 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.383, allocations: 0 / 0.8825 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005162/0.3835, allocations: 103.9 kB / 0.8826 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/0.3839, allocations: 112.8 kB / 0.8827 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.384, allocations: 19.92 kB / 0.8827 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007632/0.3848, allocations: 0.7319 MB / 0.8834 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.3848, allocations: 4.031 kB / 0.8834 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/0.388, allocations: 1.362 MB / 0.8848 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.3891, allocations: 302.8 kB / 0.8851 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.3893, allocations: 15.94 kB / 0.8851 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007934/0.3901, allocations: 63.94 kB / 0.8851 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.3903, allocations: 44.31 kB / 0.8852 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.3903, allocations: 19.98 kB / 0.8852 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002735/0.3931, allocations: 1.223 MB / 0.8864 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3931, allocations: 4 kB / 0.8864 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003158/0.3963, allocations: 0.7838 MB / 0.8872 GB, free: 0.6719 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 (41): * Single equations (assignments): 35 * 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.001235/0.3975, allocations: 376.6 kB / 0.8875 GB, free: 308 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003434/0.401, allocations: 1.531 MB / 0.889 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.401, allocations: 3.938 kB / 0.889 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006967/0.4017, allocations: 343.7 kB / 0.8893 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/0.4053, allocations: 0.7904 MB / 0.8901 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.4105, allocations: 3.464 MB / 0.8935 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.4115, allocations: 1.503 MB / 0.895 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001739/0.4132, allocations: 446 kB / 0.8954 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.4135, allocations: 131.4 kB / 0.8955 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of SimCode: time 7.72e-07/0.4135, allocations: 0 / 0.8955 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of Templates: time 0.4698/0.8834, allocations: 31.26 MB / 0.926 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)