Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 170.5 kB / 24.97 MB, free: 9.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9426/0.9426, allocations: 177.1 MB / 205.4 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.998/1.998, allocations: 389.6 MB / 0.6362 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.559e-05, allocations: 5.828 kB / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery): time 0.004409/0.004435, allocations: 4.261 MB / 0.7801 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002666/0.007101, allocations: 1.626 MB / 0.7817 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.007331, allocations: 19.88 kB / 0.7817 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.007846, allocations: 135 kB / 0.7819 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004415/0.008288, allocations: 278.1 kB / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.008945, allocations: 405.7 kB / 0.7825 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.009564, allocations: 0.8526 MB / 0.7833 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.01005, allocations: 486.7 kB / 0.7838 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.01048, allocations: 471 kB / 0.7843 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.01082, allocations: 311.1 kB / 0.7846 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.486e-05/0.01089, allocations: 69.53 kB / 0.7846 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.01124, allocations: 247.6 kB / 0.7849 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.01138, allocations: 223.3 kB / 0.7851 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.01155, allocations: 223.4 kB / 0.7853 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.01211, allocations: 0.6429 MB / 0.7859 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01212, allocations: 0.9375 kB / 0.7859 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01212, allocations: 0 / 0.7859 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.01213, allocations: 0 / 0.7859 GB, free: 11.17 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.0009303/0.01306, allocations: 0.8512 MB / 0.7867 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.0131, allocations: 13.34 kB / 0.7868 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004201/0.01352, allocations: 153.4 kB / 0.7869 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.01389, allocations: 329.4 kB / 0.7872 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.01392, allocations: 42.44 kB / 0.7873 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.01398, allocations: 60.31 kB / 0.7873 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.01449, allocations: 0.5112 MB / 0.7878 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.0145, allocations: 192 / 0.7878 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.01453, allocations: 28.36 kB / 0.7878 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.162e-05/0.01458, allocations: 57.41 kB / 0.7879 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.01481, allocations: 159.7 kB / 0.788 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.01626, allocations: 1.498 MB / 0.7895 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.01659, allocations: 251.8 kB / 0.7898 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.55e-05/0.01668, allocations: 70.75 kB / 0.7898 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.01684, allocations: 52.58 kB / 0.7899 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.01712, allocations: 251.2 kB / 0.7901 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=46): time 2.585e-06/0.01712, allocations: 0.9375 kB / 0.7901 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46): time 0.0003718/0.01749, allocations: 252.7 kB / 0.7904 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.01753, allocations: 89.09 kB / 0.7904 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.01773, allocations: 331.3 kB / 0.7908 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.01777, allocations: 38.55 kB / 0.7908 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.01789, allocations: 257.8 kB / 0.791 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.144e-05/0.01797, allocations: 148.6 kB / 0.7912 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.01809, allocations: 102.2 kB / 0.7913 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.01819, allocations: 366.7 kB / 0.7916 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.0183, allocations: 93.16 kB / 0.7917 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.01848, allocations: 299.2 kB / 0.792 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.01872, allocations: 289.6 kB / 0.7923 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01872, allocations: 0 / 0.7923 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003503/0.01907, allocations: 355.9 kB / 0.7926 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.01912, allocations: 44.45 kB / 0.7927 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01912, allocations: 0.9062 kB / 0.7927 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.01914, allocations: 11.94 kB / 0.7927 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.01945, allocations: 105 kB / 0.7928 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.01946, allocations: 4 kB / 0.7928 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.01964, allocations: 52.27 kB / 0.7928 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.01966, allocations: 19.98 kB / 0.7928 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001699/0.01983, allocations: 174.8 kB / 0.793 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001633/0.02, allocations: 295 kB / 0.7933 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002177/0.02021, allocations: 280.5 kB / 0.7936 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.02022, allocations: 2.75 kB / 0.7936 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0003106/0.02053, allocations: 340.6 kB / 0.7939 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.02055, allocations: 35.44 kB / 0.7939 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.02055, allocations: 4 kB / 0.7939 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.02056, allocations: 4 kB / 0.7939 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.02077, allocations: 99.83 kB / 0.794 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.02078, allocations: 11.94 kB / 0.794 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.02093, allocations: 52.64 kB / 0.7941 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.02095, allocations: 20.81 kB / 0.7941 GB, free: 2.258 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 (bat_ideal.cha.overCharged,$PRE.bat_ideal.cha.overCharged,bat_ideal.cha.underCharged,$PRE.bat_ideal.cha.underCharged,$whenCondition2,bat_loss_acdc.cha.overCharged,$PRE.bat_loss_acdc.cha.overCharged,bat_loss_acdc.cha.underCharged,$PRE.bat_loss_acdc.cha.underCharged,$whenCondition3,bat.cha.overCharged,$PRE.bat.cha.overCharged,bat.cha.underCharged,$PRE.bat.cha.underCharged,$whenCondition4,pow.count,$PRE.pow.count,pow.T_start,$PRE.pow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.02108, allocations: 218.8 kB / 0.7943 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.02113, allocations: 43.95 kB / 0.7944 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.02147, allocations: 257.8 kB / 0.7946 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.02148, allocations: 3.984 kB / 0.7946 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.02148, allocations: 4.531 kB / 0.7946 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.0216, allocations: 80.23 kB / 0.7947 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.02164, allocations: 12 kB / 0.7947 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.02176, allocations: 20.67 kB / 0.7947 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.02185, allocations: 50.97 kB / 0.7948 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004076/0.02225, allocations: 423.8 kB / 0.7952 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004722/0.02273, allocations: 0.5741 MB / 0.7957 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001334/0.02286, allocations: 108.3 kB / 0.7958 GB, free: 468 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000116/0.02298, allocations: 136.7 kB / 0.796 GB, free: 332 kB / 0.7448 GB Notification: Performance of Backend: time 3.41e-07/0.02298, allocations: 0 / 0.796 GB, free: 332 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009666/0.02394, allocations: 0.6531 MB / 0.7966 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of SimCode: time 0.00179/0.02573, allocations: 1.598 MB / 0.7982 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of Templates: time 0.01515/0.04089, allocations: 13.6 MB / 0.8114 GB, free: 0.6992 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.182251334190369]