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.0008931/0.0008931, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.0009016/0.0009016, allocations: 174.2 kB / 25.18 MB, free: 8.918 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.9067/0.9067, allocations: 177.2 MB / 205.6 MB, free: 5.418 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.876/1.876, allocations: 389.6 MB / 0.6364 GB, free: 12.25 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.683e-06/1.683e-06, allocations: 0 / 0.7755 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.512e-05, allocations: 7.438 kB / 0.7756 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.003226/0.003252, allocations: 1.674 MB / 0.7772 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000945/0.004197, allocations: 0.4993 MB / 0.7777 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.004269, allocations: 3.938 kB / 0.7777 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.004309, allocations: 3.938 kB / 0.7777 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.004389, allocations: 16.02 kB / 0.7777 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.004628, allocations: 37.48 kB / 0.7777 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.004777, allocations: 77.95 kB / 0.7778 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.004863, allocations: 12.66 kB / 0.7778 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.005047, allocations: 48.44 kB / 0.7779 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-05/0.005128, allocations: 28.42 kB / 0.7779 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.005148, allocations: 8 kB / 0.7779 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.797e-05/0.005216, allocations: 13.44 kB / 0.7779 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.005245, allocations: 19.91 kB / 0.7779 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.005283, allocations: 16.48 kB / 0.7779 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.005416, allocations: 55.81 kB / 0.778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.005419, allocations: 0.9688 kB / 0.778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005419, allocations: 0 / 0.778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005424, allocations: 0 / 0.778 GB, free: 3.547 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.0004111/0.005835, allocations: 278 kB / 0.7783 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.005871, allocations: 9.344 kB / 0.7783 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.006012, allocations: 17.7 kB / 0.7783 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.006176, allocations: 134.7 kB / 0.7784 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.0062, allocations: 8.375 kB / 0.7784 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.006224, allocations: 4.375 kB / 0.7784 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.006356, allocations: 83.64 kB / 0.7785 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006365, allocations: 192 / 0.7785 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.006374, allocations: 5.719 kB / 0.7785 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.006381, allocations: 3.938 kB / 0.7785 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.822e-05/0.00643, allocations: 19.92 kB / 0.7785 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.006765, allocations: 176.8 kB / 0.7787 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.006943, allocations: 67.56 kB / 0.7788 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.00698, allocations: 24.88 kB / 0.7788 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.006995, allocations: 1.531 kB / 0.7788 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.007168, allocations: 104.1 kB / 0.7789 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.715e-06/0.00717, allocations: 0 / 0.7789 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001964/0.007367, allocations: 99.19 kB / 0.779 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.007415, allocations: 59.33 kB / 0.7791 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.007493, allocations: 114.7 kB / 0.7792 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.007515, allocations: 29.7 kB / 0.7792 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.007557, allocations: 88.36 kB / 0.7793 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.007601, allocations: 36.38 kB / 0.7793 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.007647, allocations: 27.02 kB / 0.7793 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.007742, allocations: 322.8 kB / 0.7796 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.00777, allocations: 12 kB / 0.7797 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.82e-05/0.007808, allocations: 29.64 kB / 0.7797 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.014e-05/0.007879, allocations: 51.02 kB / 0.7797 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007881, allocations: 0 / 0.7797 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001198/0.008, allocations: 70.05 kB / 0.7798 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.008018, allocations: 12.53 kB / 0.7798 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.008024, allocations: 48 / 0.7798 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.008041, allocations: 5.328 kB / 0.7798 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.008116, allocations: 19.92 kB / 0.7798 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.00812, allocations: 3.984 kB / 0.7798 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.008167, allocations: 8.656 kB / 0.7798 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.008178, allocations: 3.984 kB / 0.7798 GB, free: 1.5 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.673e-05/0.008254, allocations: 115 kB / 0.78 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.008273, allocations: 11.98 kB / 0.78 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.008302, allocations: 21.44 kB / 0.78 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008304, allocations: 0 / 0.78 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.008307, allocations: 0 / 0.78 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.008312, allocations: 4.5 kB / 0.78 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.008415, allocations: 95.48 kB / 0.7801 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.008417, allocations: 0 / 0.7801 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.008476, allocations: 11.98 kB / 0.7801 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.00848, allocations: 0 / 0.7801 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.008497, allocations: 8 kB / 0.7801 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.008499, allocations: 1.5 kB / 0.7801 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.008502, allocations: 3.938 kB / 0.7801 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.0087, allocations: 129 kB / 0.7802 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.008715, allocations: 11.89 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.00874, allocations: 12.83 kB / 0.7803 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.008773, allocations: 0 / 0.7803 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.008818, allocations: 24.81 kB / 0.7803 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.00883, allocations: 7.984 kB / 0.7803 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.115e-05/0.008851, allocations: 13.39 kB / 0.7803 GB, free: 1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.008851, allocations: 0 / 0.7803 GB, free: 1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001787/0.00903, allocations: 16.69 kB / 0.7803 GB, free: 0.9844 MB / 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.0001233/0.009153, allocations: 95.59 kB / 0.7804 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.009275, allocations: 52.78 kB / 0.7805 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.009284, allocations: 0 / 0.7805 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.069e-05/0.009345, allocations: 40.83 kB / 0.7805 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.009473, allocations: 11.98 kB / 0.7805 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/0.01011, allocations: 270.3 kB / 0.7808 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.226e-05/0.01017, allocations: 71.33 kB / 0.7808 GB, free: 416 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.01025, allocations: 59.38 kB / 0.7809 GB, free: 356 kB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/0.01026, allocations: 0.5625 kB / 0.7809 GB, free: 356 kB / 0.7292 GB Notification: Performance of Templates: time 0.002503/0.01276, allocations: 1.179 MB / 0.782 GB, free: 15.2 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 > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.633065398782492]