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.0009883/0.0009883, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009601/0.0009601, allocations: 165 kB / 24.25 MB, free: 208 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 0.9151/0.9151, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.965/1.965, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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.543e-06/1.543e-06, allocations: 0 / 0.7754 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.672e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.003278/0.003305, allocations: 1.671 MB / 0.777 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000931/0.004236, allocations: 0.4979 MB / 0.7775 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.004307, allocations: 3.938 kB / 0.7775 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/0.004351, allocations: 3.938 kB / 0.7775 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.004433, allocations: 10.89 kB / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.004687, allocations: 44.81 kB / 0.7776 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.004841, allocations: 75 kB / 0.7776 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.004933, allocations: 15.97 kB / 0.7776 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.005121, allocations: 47.94 kB / 0.7777 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.785e-05/0.005199, allocations: 31.22 kB / 0.7777 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.005218, allocations: 4 kB / 0.7777 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.178e-05/0.00528, allocations: 8 kB / 0.7777 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.005304, allocations: 19.97 kB / 0.7778 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.005341, allocations: 23.92 kB / 0.7778 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.005474, allocations: 55.8 kB / 0.7778 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005478, allocations: 0 / 0.7778 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005479, allocations: 0 / 0.7778 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005483, allocations: 0 / 0.7778 GB, free: 2.785 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.0004318/0.005915, allocations: 277.4 kB / 0.7781 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.005964, allocations: 14.03 kB / 0.7781 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.006105, allocations: 16.92 kB / 0.7781 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.00626, allocations: 122.2 kB / 0.7782 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.006281, allocations: 9 kB / 0.7782 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.006304, allocations: 5.156 kB / 0.7783 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.006449, allocations: 90.83 kB / 0.7783 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.006457, allocations: 0.6875 kB / 0.7783 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.006467, allocations: 384 / 0.7783 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.006475, allocations: 8.969 kB / 0.7784 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.00652, allocations: 19.92 kB / 0.7784 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.006868, allocations: 185.1 kB / 0.7785 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.007053, allocations: 67.73 kB / 0.7786 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.007085, allocations: 17.09 kB / 0.7786 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.007098, allocations: 7.938 kB / 0.7786 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.007254, allocations: 101 kB / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.007256, allocations: 0 / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001908/0.007447, allocations: 106.8 kB / 0.7788 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.007491, allocations: 55.34 kB / 0.7789 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.007566, allocations: 126.7 kB / 0.779 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.007584, allocations: 25.7 kB / 0.779 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.007619, allocations: 85.12 kB / 0.7791 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.007655, allocations: 31.78 kB / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.007701, allocations: 31.3 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.007795, allocations: 322.8 kB / 0.7795 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.007821, allocations: 8 kB / 0.7795 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.007864, allocations: 25.7 kB / 0.7795 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.007934, allocations: 50.27 kB / 0.7796 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007936, allocations: 0 / 0.7796 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001169/0.008053, allocations: 70.92 kB / 0.7796 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.00807, allocations: 7.938 kB / 0.7796 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.008076, allocations: 4 kB / 0.7796 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.008086, allocations: 1.562 kB / 0.7796 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.00816, allocations: 19.92 kB / 0.7797 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.008167, allocations: 7.984 kB / 0.7797 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.00821, allocations: 3.938 kB / 0.7797 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.008217, allocations: 5.344 kB / 0.7797 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 7.692e-05/0.008294, allocations: 117.8 kB / 0.7798 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.008316, allocations: 16.64 kB / 0.7798 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.008342, allocations: 12.38 kB / 0.7798 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.008346, allocations: 5.125 kB / 0.7798 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.008348, allocations: 0 / 0.7798 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008352, allocations: 0 / 0.7798 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.008452, allocations: 90.89 kB / 0.7799 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.008454, allocations: 0 / 0.7799 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.008519, allocations: 15.92 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.008522, allocations: 0.5 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.008532, allocations: 1.781 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.008534, allocations: 0 / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.008536, allocations: 7.938 kB / 0.7799 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.008738, allocations: 133 kB / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.008752, allocations: 7.953 kB / 0.7801 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.008773, allocations: 9.484 kB / 0.7801 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.008813, allocations: 4 kB / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.008861, allocations: 23.84 kB / 0.7801 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.00887, allocations: 4 kB / 0.7801 GB, free: 268 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.822e-05/0.008888, allocations: 13.84 kB / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008888, allocations: 0 / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001794/0.009067, allocations: 20.81 kB / 0.7801 GB, free: 232 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.0001224/0.00919, allocations: 90.86 kB / 0.7802 GB, free: 132 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.009314, allocations: 57.92 kB / 0.7803 GB, free: 72 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.009318, allocations: 4 kB / 0.7803 GB, free: 68 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.167e-05/0.009379, allocations: 40.25 kB / 0.7803 GB, free: 28 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.009507, allocations: 15.98 kB / 0.7803 GB, free: 12 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006349/0.01014, allocations: 241.8 kB / 0.7806 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.027e-05/0.01018, allocations: 70.12 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.01023, allocations: 4.734 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.0103, allocations: 67.36 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.0103, allocations: 0.7188 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.00384/0.01414, allocations: 1.225 MB / 0.7819 GB, free: 14.45 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.964011512696743]