Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.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.001024/0.001024, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.001415/0.001415, allocations: 168.6 kB / 24.97 MB, free: 9.184 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.9727/0.9727, allocations: 177.1 MB / 205.4 MB, free: 5.48 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.969/1.969, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] 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.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.776 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.491e-05, allocations: 2.312 kB / 0.776 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.003906/0.003931, allocations: 3.502 MB / 0.7794 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.006227, allocations: 1.629 MB / 0.781 GB, free: 288 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.006449, allocations: 15.88 kB / 0.781 GB, free: 272 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.006944, allocations: 128.8 kB / 0.7811 GB, free: 144 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.007381, allocations: 284.6 kB / 0.7814 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006477/0.008029, allocations: 407 kB / 0.7818 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006613/0.00869, allocations: 0.842 MB / 0.7826 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.009215, allocations: 498.6 kB / 0.7831 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/0.00966, allocations: 472 kB / 0.7835 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.01002, allocations: 311.6 kB / 0.7838 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.01008, allocations: 68.91 kB / 0.7839 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.01044, allocations: 247.6 kB / 0.7841 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.01059, allocations: 215.4 kB / 0.7843 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.01074, allocations: 216.8 kB / 0.7845 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006043/0.01135, allocations: 0.6306 MB / 0.7852 GB, free: 12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01135, allocations: 0 / 0.7852 GB, free: 12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01135, allocations: 0.8125 kB / 0.7852 GB, free: 12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.01136, allocations: 0 / 0.7852 GB, free: 12 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.0009343/0.01229, allocations: 0.8473 MB / 0.786 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.01233, allocations: 13.33 kB / 0.786 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.01275, allocations: 145.4 kB / 0.7861 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.01311, allocations: 334.1 kB / 0.7864 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.01314, allocations: 37.38 kB / 0.7865 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.0132, allocations: 60.34 kB / 0.7865 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.01369, allocations: 0.5108 MB / 0.787 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.0137, allocations: 4.188 kB / 0.787 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.01374, allocations: 29.64 kB / 0.7871 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.01378, allocations: 48.92 kB / 0.7871 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.01403, allocations: 171.4 kB / 0.7873 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01547, allocations: 1.494 MB / 0.7887 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.01579, allocations: 247.5 kB / 0.789 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.199e-05/0.01588, allocations: 74.8 kB / 0.7891 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.01605, allocations: 56.66 kB / 0.7891 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.01632, allocations: 251.2 kB / 0.7893 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=46): time 1.924e-06/0.01632, allocations: 0.5 kB / 0.7893 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46): time 0.0003696/0.01669, allocations: 257 kB / 0.7896 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.01673, allocations: 81.11 kB / 0.7897 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.01692, allocations: 336.4 kB / 0.79 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.01696, allocations: 45.69 kB / 0.79 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.01709, allocations: 245.9 kB / 0.7903 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.01717, allocations: 156 kB / 0.7904 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.01728, allocations: 102.2 kB / 0.7905 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01738, allocations: 358.7 kB / 0.7909 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.01749, allocations: 94.53 kB / 0.7909 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.01763, allocations: 198.7 kB / 0.7911 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.01789, allocations: 290.1 kB / 0.7914 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01789, allocations: 0 / 0.7914 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003289/0.01822, allocations: 355.9 kB / 0.7918 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.01825, allocations: 33.7 kB / 0.7918 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01826, allocations: 0 / 0.7918 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01827, allocations: 11.94 kB / 0.7918 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.01855, allocations: 102.9 kB / 0.7919 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01856, allocations: 8 kB / 0.7919 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.01871, allocations: 51.66 kB / 0.7919 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.01874, allocations: 19.98 kB / 0.792 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001503/0.01889, allocations: 174 kB / 0.7921 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001392/0.01903, allocations: 191.3 kB / 0.7923 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002334/0.01926, allocations: 291 kB / 0.7926 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/0.01926, allocations: 0 / 0.7926 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0003153/0.01958, allocations: 342.6 kB / 0.7929 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.0196, allocations: 36.64 kB / 0.793 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.0196, allocations: 0 / 0.793 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.01961, allocations: 8 kB / 0.793 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.01982, allocations: 99.83 kB / 0.7931 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.01983, allocations: 11.92 kB / 0.7931 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.01996, allocations: 43.73 kB / 0.7931 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.01998, allocations: 21.39 kB / 0.7931 GB, free: 3.363 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.0001354/0.02012, allocations: 222.1 kB / 0.7933 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.02017, allocations: 45.23 kB / 0.7934 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.02049, allocations: 256.2 kB / 0.7936 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.0205, allocations: 8.609 kB / 0.7936 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.0205, allocations: 4.594 kB / 0.7936 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.02061, allocations: 71.58 kB / 0.7937 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.02066, allocations: 16.88 kB / 0.7937 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.02077, allocations: 15.98 kB / 0.7937 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.02086, allocations: 48.72 kB / 0.7938 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004023/0.02126, allocations: 421 kB / 0.7942 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004542/0.02171, allocations: 0.5709 MB / 0.7947 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001326/0.02185, allocations: 111.1 kB / 0.7949 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001048/0.02195, allocations: 136.6 kB / 0.795 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of Backend: time 7.31e-07/0.02195, allocations: 1.375 kB / 0.795 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008734/0.02283, allocations: 0.66 MB / 0.7956 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of SimCode: time 0.001677/0.0245, allocations: 1.578 MB / 0.7972 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.01483/0.03933, allocations: 13.37 MB / 0.8102 GB, free: 2.027 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.260124579071999]