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.001337/0.001337, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001445/0.001445, allocations: 163.2 kB / 25.05 MB, free: 9.148 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.9513/0.9513, allocations: 177.1 MB / 205.5 MB, free: 5.469 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.938/1.938, allocations: 389.6 MB / 0.6363 GB, free: 12.26 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.402e-06/1.402e-06, allocations: 0 / 0.7761 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.536e-05, allocations: 7.562 kB / 0.7762 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.001948/0.001964, allocations: 1.673 MB / 0.7778 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006478/0.002611, allocations: 0.4953 MB / 0.7783 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.002667, allocations: 0 / 0.7783 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.002702, allocations: 3.938 kB / 0.7783 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.002769, allocations: 17.53 kB / 0.7783 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.002949, allocations: 44.48 kB / 0.7783 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.003061, allocations: 78.03 kB / 0.7784 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.032e-05/0.003131, allocations: 11.98 kB / 0.7784 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.003257, allocations: 49.33 kB / 0.7785 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.003315, allocations: 19.97 kB / 0.7785 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.003332, allocations: 11.94 kB / 0.7785 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-05/0.003381, allocations: 9.438 kB / 0.7785 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.003399, allocations: 23.91 kB / 0.7785 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.003429, allocations: 23.97 kB / 0.7786 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.953e-05/0.003529, allocations: 51.81 kB / 0.7786 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.00353, allocations: 4.656 kB / 0.7786 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003531, allocations: 0 / 0.7786 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.003534, allocations: 0.5 kB / 0.7786 GB, free: 2.777 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.0003269/0.00386, allocations: 274.4 kB / 0.7789 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.00389, allocations: 9.344 kB / 0.7789 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.241e-05/0.003983, allocations: 16.92 kB / 0.7789 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004107, allocations: 130.5 kB / 0.779 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.004123, allocations: 4.359 kB / 0.779 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.004143, allocations: 9.125 kB / 0.779 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.004254, allocations: 86.89 kB / 0.7791 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.004261, allocations: 2.875 kB / 0.7791 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.004269, allocations: 384 / 0.7791 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.004276, allocations: 3.938 kB / 0.7791 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.662e-05/0.004312, allocations: 23.92 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.004539, allocations: 184.2 kB / 0.7793 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.004663, allocations: 69.28 kB / 0.7794 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.004686, allocations: 16.86 kB / 0.7794 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.004697, allocations: 4 kB / 0.7794 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.004804, allocations: 99.31 kB / 0.7795 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.004806, allocations: 0 / 0.7795 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001335/0.004939, allocations: 95.88 kB / 0.7796 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.004975, allocations: 63.39 kB / 0.7797 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.978e-05/0.005025, allocations: 114.8 kB / 0.7798 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.005037, allocations: 29.7 kB / 0.7798 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.005068, allocations: 92.25 kB / 0.7799 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.005094, allocations: 31.78 kB / 0.7799 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.005125, allocations: 31.02 kB / 0.7799 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.866e-05/0.005193, allocations: 318.8 kB / 0.7802 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.005211, allocations: 16 kB / 0.7803 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.005234, allocations: 25.7 kB / 0.7803 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.331e-05/0.005278, allocations: 46.92 kB / 0.7803 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005279, allocations: 0 / 0.7803 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.212e-05/0.005351, allocations: 74.2 kB / 0.7804 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.005362, allocations: 8.656 kB / 0.7804 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005366, allocations: 0 / 0.7804 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005377, allocations: 9.734 kB / 0.7804 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.005422, allocations: 15.94 kB / 0.7804 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.005425, allocations: 0 / 0.7804 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.005452, allocations: 7.938 kB / 0.7804 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.005459, allocations: 7.984 kB / 0.7804 GB, free: 0.7383 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 5.404e-05/0.005513, allocations: 119.4 kB / 0.7806 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.005526, allocations: 15.98 kB / 0.7806 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.005543, allocations: 12.38 kB / 0.7806 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.005545, allocations: 0.5312 kB / 0.7806 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.005546, allocations: 1.125 kB / 0.7806 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005549, allocations: 4 kB / 0.7806 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.98e-05/0.005619, allocations: 85.83 kB / 0.7807 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.00562, allocations: 0.8125 kB / 0.7807 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.005652, allocations: 15.92 kB / 0.7807 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.005655, allocations: 4.578 kB / 0.7807 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.005662, allocations: 3.984 kB / 0.7807 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.005663, allocations: 0.9062 kB / 0.7807 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.005665, allocations: 7.922 kB / 0.7807 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.005787, allocations: 129.7 kB / 0.7808 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.005794, allocations: 8.594 kB / 0.7808 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.005808, allocations: 8 kB / 0.7808 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.005829, allocations: 8.594 kB / 0.7809 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.005865, allocations: 19.91 kB / 0.7809 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.00587, allocations: 4.922 kB / 0.7809 GB, free: 268 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.251e-05/0.005883, allocations: 21.17 kB / 0.7809 GB, free: 244 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005883, allocations: 0.6562 kB / 0.7809 GB, free: 244 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002466/0.006129, allocations: 19.94 kB / 0.7809 GB, free: 224 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (soc.SOC) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,soc.charged,soc.discharged,soc.suspend) * Number of discrete states: 2 (soc.discharged,soc.charged) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.59e-05/0.006195, allocations: 86.34 kB / 0.781 GB, free: 128 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.00628, allocations: 56.77 kB / 0.7811 GB, free: 68 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.006282, allocations: 0 / 0.7811 GB, free: 68 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.006325, allocations: 42 kB / 0.7811 GB, free: 24 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.463e-05/0.00641, allocations: 15.98 kB / 0.7811 GB, free: 8 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.006889, allocations: 245.3 kB / 0.7813 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.00692, allocations: 63.28 kB / 0.7814 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.006957, allocations: 11.17 kB / 0.7814 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.00701, allocations: 59.36 kB / 0.7815 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of SimCode: time 8.61e-07/0.00701, allocations: 0 / 0.7815 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.002508/0.009519, allocations: 1.219 MB / 0.7827 GB, free: 14.46 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: 4.784402549266815]