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.001141/0.001141, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001062/0.001062, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 1.021/1.021, allocations: 177.2 MB / 204.6 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 2.074/2.074, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.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.372e-06/1.372e-06, allocations: 0 / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.823e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.005969/0.005997, allocations: 1.681 MB / 0.7769 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003885/0.009882, allocations: 0.4951 MB / 0.7773 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.009954, allocations: 0 / 0.7773 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.009986, allocations: 3.938 kB / 0.7773 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.104e-05/0.01007, allocations: 13.27 kB / 0.7774 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.01031, allocations: 49.25 kB / 0.7774 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.01045, allocations: 71.12 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.01054, allocations: 13.38 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.01071, allocations: 51.89 kB / 0.7775 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.01103, allocations: 27.89 kB / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.01105, allocations: 8.531 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.848e-05/0.01111, allocations: 8.906 kB / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.01114, allocations: 19.97 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.01117, allocations: 19.94 kB / 0.7776 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.01129, allocations: 57.36 kB / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.01129, allocations: 0 / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01129, allocations: 0 / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.0113, allocations: 4 kB / 0.7777 GB, free: 2.867 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.0003807/0.01168, allocations: 273.2 kB / 0.7779 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.01171, allocations: 10.09 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.01185, allocations: 22.41 kB / 0.778 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.01199, allocations: 121.7 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.01202, allocations: 16.3 kB / 0.7781 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.01204, allocations: 8.359 kB / 0.7781 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.01216, allocations: 88.5 kB / 0.7782 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.01217, allocations: 192 / 0.7782 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.01218, allocations: 384 / 0.7782 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01218, allocations: 3.938 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.127e-05/0.01223, allocations: 16.58 kB / 0.7782 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.01254, allocations: 197.5 kB / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.01269, allocations: 58.56 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00305/0.01574, allocations: 18.27 kB / 0.7785 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.01575, allocations: 0 / 0.7785 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.01592, allocations: 104 kB / 0.7786 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.01592, allocations: 1.344 kB / 0.7786 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001785/0.0161, allocations: 105.5 kB / 0.7787 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.01614, allocations: 55.41 kB / 0.7787 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.0162, allocations: 110.7 kB / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.01622, allocations: 34.36 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.01626, allocations: 89.47 kB / 0.779 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.01629, allocations: 27.8 kB / 0.779 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.01634, allocations: 29.7 kB / 0.779 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.01642, allocations: 315.9 kB / 0.7793 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.01645, allocations: 15.92 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.01648, allocations: 28.58 kB / 0.7793 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.537e-05/0.01655, allocations: 50.17 kB / 0.7794 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01655, allocations: 0.8125 kB / 0.7794 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001144/0.01667, allocations: 81.91 kB / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01668, allocations: 12.44 kB / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01669, allocations: 0 / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.0167, allocations: 0.5312 kB / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.01677, allocations: 12.69 kB / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.01678, allocations: 11.91 kB / 0.7795 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.01682, allocations: 13.69 kB / 0.7795 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.01683, allocations: 0 / 0.7795 GB, free: 0.8203 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 7.447e-05/0.01691, allocations: 117.8 kB / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.01692, allocations: 11.23 kB / 0.7796 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.01695, allocations: 20.38 kB / 0.7797 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01695, allocations: 0 / 0.7797 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01696, allocations: 0 / 0.7797 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01696, allocations: 3.984 kB / 0.7797 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.746e-05/0.01706, allocations: 85.83 kB / 0.7798 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01706, allocations: 0 / 0.7798 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.01712, allocations: 8 kB / 0.7798 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01712, allocations: 48 / 0.7798 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.01714, allocations: 22.94 kB / 0.7798 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01714, allocations: 0 / 0.7798 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01714, allocations: 3.938 kB / 0.7798 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.01732, allocations: 129 kB / 0.7799 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.01734, allocations: 11.94 kB / 0.7799 GB, free: 388 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.01736, allocations: 8 kB / 0.7799 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.01739, allocations: 3.984 kB / 0.7799 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.01744, allocations: 19.91 kB / 0.78 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.01745, allocations: 5.5 kB / 0.78 GB, free: 352 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.053e-05/0.01747, allocations: 16.84 kB / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01747, allocations: 0 / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001722/0.01764, allocations: 20 kB / 0.78 GB, free: 312 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 0.0001141/0.01776, allocations: 85.48 kB / 0.7801 GB, free: 216 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.01787, allocations: 57.8 kB / 0.7801 GB, free: 156 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.01787, allocations: 0 / 0.7801 GB, free: 156 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.077e-05/0.01793, allocations: 44.77 kB / 0.7802 GB, free: 108 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.01806, allocations: 13.14 kB / 0.7802 GB, free: 96 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.02169, allocations: 236.2 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.569e-05/0.02173, allocations: 63.28 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.372e-05/0.02177, allocations: 10.75 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.02184, allocations: 63.38 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/0.02184, allocations: 1.562 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.006313/0.02815, allocations: 1.216 MB / 0.7817 GB, free: 14.55 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.281826435122639]