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.001321/0.001321, allocations: 80.8 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.001427/0.001427, allocations: 161 kB / 24.16 MB, free: 336 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.9374/0.9374, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.813/1.813, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.333e-06/1.333e-06, allocations: 0 / 0.7752 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.431e-05, allocations: 6.312 kB / 0.7752 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002043/0.002057, allocations: 1.672 MB / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008745/0.002932, allocations: 0.4962 MB / 0.7773 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.003004, allocations: 1.031 kB / 0.7773 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.003036, allocations: 3.938 kB / 0.7773 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.003113, allocations: 19.27 kB / 0.7774 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.003321, allocations: 48.47 kB / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.003432, allocations: 69.31 kB / 0.7775 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.357e-05/0.003515, allocations: 15.97 kB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.00366, allocations: 51.88 kB / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.00372, allocations: 19.97 kB / 0.7776 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.003736, allocations: 11.75 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.328e-05/0.00379, allocations: 12 kB / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.00381, allocations: 19.91 kB / 0.7776 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.003839, allocations: 16 kB / 0.7776 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.003948, allocations: 63.72 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.003951, allocations: 0 / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003952, allocations: 0 / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.003956, allocations: 4 kB / 0.7777 GB, free: 2.832 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.0003365/0.004292, allocations: 268.7 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.004328, allocations: 9.844 kB / 0.7779 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.004441, allocations: 25.66 kB / 0.778 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004566, allocations: 117.7 kB / 0.7781 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.004582, allocations: 8.984 kB / 0.7781 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.004601, allocations: 13.2 kB / 0.7781 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.004705, allocations: 86.84 kB / 0.7782 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.004712, allocations: 1.5 kB / 0.7782 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.00472, allocations: 4.375 kB / 0.7782 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004726, allocations: 3.938 kB / 0.7782 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.464e-05/0.00476, allocations: 19.98 kB / 0.7782 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.005019, allocations: 189 kB / 0.7784 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.005147, allocations: 63.91 kB / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.005169, allocations: 16.86 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.005183, allocations: 4.156 kB / 0.7785 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.005296, allocations: 96.77 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.005298, allocations: 1.812 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001462/0.005444, allocations: 109.5 kB / 0.7787 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.005479, allocations: 55.41 kB / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.005533, allocations: 114.7 kB / 0.7788 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.005548, allocations: 33.7 kB / 0.7789 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.005576, allocations: 80.97 kB / 0.7789 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.005604, allocations: 33.31 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.00564, allocations: 37.69 kB / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.005709, allocations: 314.8 kB / 0.7793 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.005726, allocations: 11.98 kB / 0.7793 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.005751, allocations: 26.41 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.005797, allocations: 50.05 kB / 0.7794 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005799, allocations: 0.9688 kB / 0.7794 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.715e-05/0.005876, allocations: 77.59 kB / 0.7795 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.005887, allocations: 7.938 kB / 0.7795 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.005891, allocations: 1.125 kB / 0.7795 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.005902, allocations: 0 / 0.7795 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/0.005954, allocations: 12 kB / 0.7795 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.005958, allocations: 4.859 kB / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.005989, allocations: 11.92 kB / 0.7795 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.005995, allocations: 9.344 kB / 0.7795 GB, free: 0.793 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.346e-05/0.006059, allocations: 117.8 kB / 0.7796 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.00607, allocations: 9.109 kB / 0.7796 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.006092, allocations: 20.31 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.006096, allocations: 4 kB / 0.7797 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006097, allocations: 1.062 kB / 0.7797 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.006102, allocations: 3.984 kB / 0.7797 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.293e-05/0.006175, allocations: 89.83 kB / 0.7797 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006177, allocations: 0.5 kB / 0.7797 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.006214, allocations: 9.344 kB / 0.7798 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.006216, allocations: 48 / 0.7798 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.006225, allocations: 11.97 kB / 0.7798 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006226, allocations: 0 / 0.7798 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.006228, allocations: 4.594 kB / 0.7798 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.006369, allocations: 137 kB / 0.7799 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.006377, allocations: 8.703 kB / 0.7799 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.00639, allocations: 4 kB / 0.7799 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.006413, allocations: 4.641 kB / 0.7799 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.006448, allocations: 20.95 kB / 0.7799 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.006456, allocations: 11.98 kB / 0.78 GB, free: 316 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.285e-05/0.006469, allocations: 12.86 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006469, allocations: 1.125 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000107/0.006576, allocations: 19.98 kB / 0.78 GB, free: 280 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 8.148e-05/0.006657, allocations: 85.77 kB / 0.7801 GB, free: 184 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.94e-05/0.006747, allocations: 56.81 kB / 0.7801 GB, free: 124 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.00675, allocations: 4 kB / 0.7801 GB, free: 120 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.006791, allocations: 42.12 kB / 0.7802 GB, free: 76 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.91e-05/0.006891, allocations: 17.02 kB / 0.7802 GB, free: 60 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.007355, allocations: 232.7 kB / 0.7804 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.349e-05/0.007389, allocations: 63.28 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.487e-05/0.007423, allocations: 12.66 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.007479, allocations: 61.19 kB / 0.7805 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.007479, allocations: 0 / 0.7805 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of Templates: time 0.00269/0.01017, allocations: 1.226 MB / 0.7817 GB, free: 14.51 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 & (cd run_cvode && ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.847507554106414]