Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.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.001512/0.001512, 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.001645/0.001645, allocations: 165.8 kB / 24.97 MB, free: 8.645 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.9673/0.9673, 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.935/1.935, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.457e-05, allocations: 4 kB / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.00226/0.002285, allocations: 1.681 MB / 0.7776 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007561/0.003041, allocations: 0.4924 MB / 0.7781 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.003112, allocations: 4.625 kB / 0.7781 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.003139, allocations: 4.938 kB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.003211, allocations: 12.3 kB / 0.7781 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.003424, allocations: 42.83 kB / 0.7782 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.003558, allocations: 82.28 kB / 0.7782 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.00364, allocations: 11.97 kB / 0.7783 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.003788, allocations: 43.95 kB / 0.7783 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.003855, allocations: 27.91 kB / 0.7783 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.003873, allocations: 4 kB / 0.7783 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/0.003932, allocations: 15.7 kB / 0.7783 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.003998, allocations: 19.92 kB / 0.7784 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.004032, allocations: 23.97 kB / 0.7784 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.004142, allocations: 55.75 kB / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.103e-06/0.004144, allocations: 0 / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004145, allocations: 0 / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.004149, allocations: 0 / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000354/0.004503, allocations: 276.7 kB / 0.7787 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.004542, allocations: 9.344 kB / 0.7787 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.004652, allocations: 21.7 kB / 0.7787 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.004785, allocations: 121.7 kB / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.004804, allocations: 5.031 kB / 0.7789 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.004822, allocations: 13.12 kB / 0.7789 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.004934, allocations: 86.89 kB / 0.779 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.004945, allocations: 5.453 kB / 0.779 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.004953, allocations: 384 / 0.779 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.00496, allocations: 3.938 kB / 0.779 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.693e-05/0.004997, allocations: 19.98 kB / 0.779 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.005271, allocations: 189 kB / 0.7792 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.005476, allocations: 63.95 kB / 0.7792 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.0055, allocations: 20.84 kB / 0.7792 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.005516, allocations: 4 kB / 0.7792 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.005647, allocations: 108.9 kB / 0.7793 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.005649, allocations: 1.719 kB / 0.7793 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001456/0.005795, allocations: 93.59 kB / 0.7794 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.005825, allocations: 55.41 kB / 0.7795 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.653e-05/0.005882, allocations: 118.7 kB / 0.7796 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.005902, allocations: 29.7 kB / 0.7796 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.005932, allocations: 85.97 kB / 0.7797 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.005962, allocations: 31.78 kB / 0.7797 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.005997, allocations: 25.7 kB / 0.7798 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.006069, allocations: 318.8 kB / 0.7801 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.006088, allocations: 12.75 kB / 0.7801 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.006117, allocations: 33.62 kB / 0.7801 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.006167, allocations: 47.03 kB / 0.7802 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006169, allocations: 0 / 0.7802 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.201e-05/0.006251, allocations: 74.64 kB / 0.7802 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.006264, allocations: 4 kB / 0.7802 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.00627, allocations: 3.938 kB / 0.7802 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.006287, allocations: 8.906 kB / 0.7803 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.006339, allocations: 11.98 kB / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.006342, allocations: 0 / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.006374, allocations: 17.22 kB / 0.7803 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.00638, allocations: 4 kB / 0.7803 GB, free: 0.832 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,soc.suspend,soc.discharged,$PRE.soc.discharged,soc.charged,$PRE.soc.charged,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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 6.623e-05/0.006447, allocations: 119 kB / 0.7804 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.006462, allocations: 11.98 kB / 0.7804 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.006483, allocations: 16.38 kB / 0.7804 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006487, allocations: 1.062 kB / 0.7804 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.006488, allocations: 0 / 0.7804 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.006498, allocations: 7.953 kB / 0.7804 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.006514, allocations: 8.484 kB / 0.7804 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/0.006535, allocations: 4.562 kB / 0.7804 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.006572, allocations: 16.44 kB / 0.7805 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001212/0.006693, allocations: 162.1 kB / 0.7806 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001656/0.006858, allocations: 278.7 kB / 0.7809 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.184e-05/0.0069, allocations: 36.78 kB / 0.7809 GB, free: 160 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001484/0.007049, allocations: 12.84 kB / 0.7809 GB, free: 144 kB / 0.7292 GB Notification: Performance of Backend: time 2.1e-07/0.007049, allocations: 0.7188 kB / 0.7809 GB, free: 144 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.007305, allocations: 115.9 kB / 0.781 GB, free: 20 kB / 0.7292 GB Notification: Performance of SimCode: time 0.000614/0.007919, allocations: 0.7038 MB / 0.7817 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of Templates: time 0.002989/0.01091, allocations: 1.391 MB / 0.7831 GB, free: 13.96 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.012393151409924]