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.001085/0.001085, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.005262/0.005262, allocations: 166.1 kB / 24.38 MB, free: 8.461 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.9125/0.9125, allocations: 177.2 MB / 204.8 MB, free: 5.375 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.994/1.994, allocations: 389.6 MB / 0.6356 GB, free: 12.22 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 2.956e-06/2.956e-06, allocations: 0 / 0.7756 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.15e-05, allocations: 3.609 kB / 0.7756 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.003891/0.003923, allocations: 1.676 MB / 0.7772 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.005125, allocations: 0.4957 MB / 0.7777 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.005213, allocations: 0.875 kB / 0.7777 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.005258, allocations: 5.094 kB / 0.7777 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.978e-05/0.005358, allocations: 14.23 kB / 0.7777 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.00565, allocations: 43.83 kB / 0.7778 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.005835, allocations: 77.52 kB / 0.7778 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.005945, allocations: 15.97 kB / 0.7779 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.006164, allocations: 48.7 kB / 0.7779 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.006262, allocations: 24.45 kB / 0.7779 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.006286, allocations: 4 kB / 0.7779 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-05/0.006363, allocations: 12.75 kB / 0.7779 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.006393, allocations: 19.86 kB / 0.778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.006438, allocations: 26.62 kB / 0.778 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.00659, allocations: 51.81 kB / 0.778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.006596, allocations: 4 kB / 0.778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.382e-06/0.006597, allocations: 0 / 0.778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.006602, allocations: 0 / 0.778 GB, free: 2.648 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.0004835/0.007085, allocations: 272.7 kB / 0.7783 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.007128, allocations: 16.09 kB / 0.7783 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.007285, allocations: 16.92 kB / 0.7783 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.007459, allocations: 129.6 kB / 0.7785 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.007482, allocations: 4.375 kB / 0.7785 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.007509, allocations: 4.375 kB / 0.7785 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.007657, allocations: 86.89 kB / 0.7785 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.007667, allocations: 2.594 kB / 0.7786 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.00768, allocations: 4.375 kB / 0.7786 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.00769, allocations: 3.938 kB / 0.7786 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.424e-05/0.007744, allocations: 19.97 kB / 0.7786 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.008118, allocations: 184.2 kB / 0.7788 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.008316, allocations: 71.27 kB / 0.7788 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.00835, allocations: 20.84 kB / 0.7788 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.008365, allocations: 0.6562 kB / 0.7788 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.008542, allocations: 109.6 kB / 0.7789 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.414e-06/0.008544, allocations: 0 / 0.7789 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0002091/0.008753, allocations: 97.59 kB / 0.779 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.008805, allocations: 55.41 kB / 0.7791 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.00889, allocations: 119.3 kB / 0.7792 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.008909, allocations: 25.7 kB / 0.7792 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.008955, allocations: 89.81 kB / 0.7793 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.008996, allocations: 31.72 kB / 0.7793 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.009049, allocations: 33.64 kB / 0.7794 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.009165, allocations: 322.8 kB / 0.7797 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.009196, allocations: 8.875 kB / 0.7797 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.444e-05/0.009241, allocations: 32.56 kB / 0.7797 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.141e-05/0.009312, allocations: 38.19 kB / 0.7798 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009314, allocations: 0.8125 kB / 0.7798 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001273/0.009442, allocations: 69.61 kB / 0.7798 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.009467, allocations: 9.688 kB / 0.7798 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.009473, allocations: 4 kB / 0.7798 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.009486, allocations: 0 / 0.7798 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.009572, allocations: 19.92 kB / 0.7799 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.009576, allocations: 4 kB / 0.7799 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.009629, allocations: 8.438 kB / 0.7799 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.009637, allocations: 1.094 kB / 0.7799 GB, free: 0.6172 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 9.711e-05/0.009734, allocations: 117.8 kB / 0.78 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.009758, allocations: 16.52 kB / 0.78 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.00979, allocations: 17.44 kB / 0.78 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.009793, allocations: 4 kB / 0.78 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.009796, allocations: 0 / 0.78 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.0098, allocations: 0.8125 kB / 0.78 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.009919, allocations: 93.81 kB / 0.7801 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.009922, allocations: 4.938 kB / 0.7801 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.009995, allocations: 15.92 kB / 0.7801 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.009997, allocations: 0 / 0.7801 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.01001, allocations: 0.5312 kB / 0.7801 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.01001, allocations: 4.656 kB / 0.7801 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01002, allocations: 3.938 kB / 0.7801 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.01023, allocations: 126.3 kB / 0.7803 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.01024, allocations: 7.953 kB / 0.7803 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01027, allocations: 7.984 kB / 0.7803 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.01031, allocations: 5.625 kB / 0.7803 GB, free: 168 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.01036, allocations: 23.84 kB / 0.7803 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01037, allocations: 4 kB / 0.7803 GB, free: 140 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.206e-05/0.0104, allocations: 16.83 kB / 0.7803 GB, free: 120 kB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.0104, allocations: 1.094 kB / 0.7803 GB, free: 120 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000196/0.01059, allocations: 20 kB / 0.7803 GB, free: 100 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.0001783/0.01077, allocations: 99.23 kB / 0.7804 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.0109, allocations: 53.44 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.01091, allocations: 1.406 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.125e-05/0.01098, allocations: 37 kB / 0.7805 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.01116, allocations: 17.39 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.01185, allocations: 240.1 kB / 0.7808 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.136e-05/0.0119, allocations: 67.28 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.966e-05/0.01195, allocations: 11.11 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.01203, allocations: 67.36 kB / 0.7809 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/0.01204, allocations: 0 / 0.7809 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.004093/0.01613, allocations: 1.223 MB / 0.7821 GB, free: 14.32 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: 5.189725482836366]