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.001104/0.001104, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001004/0.001004, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.298/1.298, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.758/1.758, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.002131/0.002131, allocations: 75.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2434, allocations: 114.6 MB / 0.7841 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.4758/0.7192, allocations: 32.86 MB / 0.8162 GB, free: 29.62 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01955/0.7388, allocations: 13.04 MB / 0.8289 GB, free: 20.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002733/0.7416, allocations: 48.44 kB / 0.8289 GB, free: 20.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003624/0.7453, allocations: 0.7291 MB / 0.8296 GB, free: 20.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006624/0.752, allocations: 1.567 MB / 0.8312 GB, free: 19.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004743/0.7568, allocations: 1.404 MB / 0.8326 GB, free: 18.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008421/0.7652, allocations: 4.856 MB / 0.8373 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003768/0.769, allocations: 2.067 MB / 0.8393 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005113/0.7741, allocations: 1.891 MB / 0.8412 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00296/0.7771, allocations: 1.362 MB / 0.8425 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007571/0.7779, allocations: 139.8 kB / 0.8426 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00453/0.7824, allocations: 1.162 MB / 0.8438 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.7836, allocations: 475.2 kB / 0.8442 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002599/0.7862, allocations: 1.004 MB / 0.8452 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00838/0.7946, allocations: 2.927 MB / 0.848 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.472e-05/0.7946, allocations: 0.75 kB / 0.848 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.737e-06/0.7947, allocations: 0 / 0.848 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001077/0.7948, allocations: 1.688 kB / 0.8481 GB, free: 11.95 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.00703/0.8018, allocations: 2.38 MB / 0.8504 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.8019, allocations: 8.969 kB / 0.8504 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.8035, allocations: 300 kB / 0.8507 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/0.8071, allocations: 1.596 MB / 0.8522 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.529e-05/0.8072, allocations: 79.84 kB / 0.8523 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.8074, allocations: 108.8 kB / 0.8524 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.81, allocations: 1.291 MB / 0.8537 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.81, allocations: 2.406 kB / 0.8537 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.8102, allocations: 41.62 kB / 0.8537 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.8102, allocations: 24.66 kB / 0.8537 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.8121, allocations: 0.9689 MB / 0.8547 GB, free: 8.395 MB / 0.6544 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.007778/0.8199, allocations: 6.499 MB / 0.861 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.8212, allocations: 0.5868 MB / 0.8616 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/0.8219, allocations: 397 kB / 0.862 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00263/0.8245, allocations: 1.695 MB / 0.8636 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006979/0.8253, allocations: 360.2 kB / 0.864 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004381/0.8257, allocations: 82.08 kB / 0.8641 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 2.715e-06/0.8257, allocations: 0 / 0.8641 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.003338/0.8291, allocations: 1.304 MB / 0.8653 GB, free: 15.95 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.8292, allocations: 68.5 kB / 0.8654 GB, free: 15.88 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/0.8321, allocations: 1.782 MB / 0.8671 GB, free: 14.91 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/0.8322, allocations: 48.17 kB / 0.8672 GB, free: 14.86 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000864/0.8331, allocations: 0.8435 MB / 0.868 GB, free: 14.12 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.8333, allocations: 171.9 kB / 0.8682 GB, free: 13.97 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.8336, allocations: 186.5 kB / 0.8683 GB, free: 13.87 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.8338, allocations: 341.8 kB / 0.8687 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.8345, allocations: 323.2 kB / 0.869 GB, free: 13.37 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.8356, allocations: 0.7334 MB / 0.8697 GB, free: 12.64 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.8373, allocations: 0.9895 MB / 0.8707 GB, free: 11.86 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.8373, allocations: 2.406 kB / 0.8707 GB, free: 11.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002934/0.8403, allocations: 1.306 MB / 0.8719 GB, free: 11.17 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.8403, allocations: 35.27 kB / 0.872 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.8403, allocations: 10.56 kB / 0.872 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000718/0.8411, allocations: 190.7 kB / 0.8722 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.8418, allocations: 173.4 kB / 0.8723 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008837/0.8427, allocations: 0.7583 MB / 0.8731 GB, free: 10.37 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.844, allocations: 49.31 kB / 0.8731 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.8441, allocations: 51.86 kB / 0.8732 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001694/0.8458, allocations: 0.7068 MB / 0.8739 GB, free: 9.922 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001024/0.8469, allocations: 0.7079 MB / 0.8746 GB, free: 9.195 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001481/0.8484, allocations: 0.9251 MB / 0.8755 GB, free: 8.445 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.792e-06/0.8484, allocations: 2.656 kB / 0.8755 GB, free: 8.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002477/0.8509, allocations: 1.274 MB / 0.8767 GB, free: 7.707 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.8509, allocations: 40.94 kB / 0.8767 GB, free: 7.672 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.851, allocations: 10.78 kB / 0.8768 GB, free: 7.672 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/0.8512, allocations: 114.8 kB / 0.8769 GB, free: 7.629 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.8518, allocations: 165.5 kB / 0.877 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.8544, allocations: 2.323 MB / 0.8793 GB, free: 5.543 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.8555, allocations: 54.12 kB / 0.8793 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.62e-05/0.8556, allocations: 50.77 kB / 0.8794 GB, free: 5.504 MB / 0.67 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.0003424/0.8559, allocations: 243.9 kB / 0.8796 GB, free: 5.277 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.8562, allocations: 170.4 kB / 0.8798 GB, free: 5.188 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.8586, allocations: 0.9909 MB / 0.8807 GB, free: 4.656 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.8586, allocations: 14.41 kB / 0.8808 GB, free: 4.648 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8586, allocations: 3.938 kB / 0.8808 GB, free: 4.645 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/0.8601, allocations: 0.944 MB / 0.8817 GB, free: 3.973 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/0.8641, allocations: 2.105 MB / 0.8837 GB, free: 2.574 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.8641, allocations: 1.375 kB / 0.8837 GB, free: 2.574 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.8645, allocations: 86.61 kB / 0.8838 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003085/0.8649, allocations: 120.7 kB / 0.8839 GB, free: 2.492 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.8649, allocations: 22.14 kB / 0.884 GB, free: 2.477 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006512/0.8656, allocations: 0.7392 MB / 0.8847 GB, free: 1.836 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.8656, allocations: 1.156 kB / 0.8847 GB, free: 1.836 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.8682, allocations: 1.348 MB / 0.886 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/0.8689, allocations: 298.8 kB / 0.8863 GB, free: 476 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.869, allocations: 8 kB / 0.8863 GB, free: 468 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.8697, allocations: 31.97 kB / 0.8863 GB, free: 436 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.8698, allocations: 48.38 kB / 0.8864 GB, free: 388 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/0.8699, allocations: 21.3 kB / 0.8864 GB, free: 368 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001762/0.8716, allocations: 1.235 MB / 0.8876 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8717, allocations: 0 / 0.8876 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002618/0.8743, allocations: 0.7798 MB / 0.8884 GB, free: 14.32 MB / 0.6856 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.00107/0.8754, allocations: 384.6 kB / 0.8887 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002916/0.8783, allocations: 1.473 MB / 0.8902 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8783, allocations: 0 / 0.8902 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006962/0.879, allocations: 339.6 kB / 0.8905 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/0.882, allocations: 0.7811 MB / 0.8913 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.887, allocations: 2.858 MB / 0.894 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.8881, allocations: 1.503 MB / 0.8955 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001445/0.8896, allocations: 457.7 kB / 0.8959 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.8899, allocations: 123.4 kB / 0.8961 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/0.8899, allocations: 0 / 0.8961 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of Templates: time 0.05871/0.9486, allocations: 31.56 MB / 0.9269 GB, free: 7.305 MB / 0.7169 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)