Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.0009076/0.0009076, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009171/0.0009171, allocations: 165 kB / 24.17 MB, free: 328 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.8949/0.8949, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.864/1.864, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.LMTDStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.7752 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.821e-05, allocations: 5.125 kB / 0.7752 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002535/0.002563, allocations: 1.647 MB / 0.7768 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.003937, allocations: 0.8155 MB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.003999, allocations: 0 / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.004034, allocations: 7.922 kB / 0.7776 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.937e-05/0.004113, allocations: 17.28 kB / 0.7776 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.00448, allocations: 104.9 kB / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.004588, allocations: 55.72 kB / 0.7778 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.375e-05/0.004662, allocations: 12.52 kB / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.004786, allocations: 40.41 kB / 0.7778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.00484, allocations: 21.42 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.004855, allocations: 4 kB / 0.7779 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.005011, allocations: 71.92 kB / 0.7779 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.005027, allocations: 15.92 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.00505, allocations: 12.77 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.005211, allocations: 107.6 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005213, allocations: 1.156 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005214, allocations: 4 kB / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.005218, allocations: 0 / 0.7781 GB, free: 2.422 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002971/0.005515, allocations: 277.4 kB / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.005548, allocations: 13.28 kB / 0.7784 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.00583, allocations: 42.16 kB / 0.7784 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005976, allocations: 131.2 kB / 0.7785 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.005983, allocations: 4.312 kB / 0.7785 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.005993, allocations: 4.375 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.006129, allocations: 76.39 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.006135, allocations: 192 / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.006143, allocations: 5.125 kB / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.006149, allocations: 3.938 kB / 0.7786 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.006192, allocations: 21.56 kB / 0.7786 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.006437, allocations: 180.2 kB / 0.7788 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.006523, allocations: 39.28 kB / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.006551, allocations: 22.25 kB / 0.7789 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.006565, allocations: 0 / 0.7789 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.006584, allocations: 30.56 kB / 0.7789 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.006585, allocations: 1.438 kB / 0.7789 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000144/0.006729, allocations: 61.55 kB / 0.7789 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.006754, allocations: 55.97 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.006822, allocations: 132.4 kB / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.006833, allocations: 27.05 kB / 0.7792 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.006867, allocations: 88.12 kB / 0.7792 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.006886, allocations: 11.84 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.006923, allocations: 22.36 kB / 0.7793 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.006999, allocations: 318.8 kB / 0.7796 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.007023, allocations: 9.125 kB / 0.7796 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.007044, allocations: 7.984 kB / 0.7796 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.669e-05/0.00709, allocations: 30.17 kB / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.007092, allocations: 3.938 kB / 0.7796 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.945e-05/0.007172, allocations: 54.17 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.007183, allocations: 7.5 kB / 0.7797 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007188, allocations: 3.938 kB / 0.7797 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.007198, allocations: 0 / 0.7797 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.007276, allocations: 15.97 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-06/0.007278, allocations: 0.5312 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.007312, allocations: 4.688 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.007319, allocations: 0 / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.617e-05/0.007376, allocations: 121.1 kB / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.007396, allocations: 0 / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.007427, allocations: 11.94 kB / 0.7798 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.007428, allocations: 3.938 kB / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.00743, allocations: 0 / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.007432, allocations: 0 / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.007548, allocations: 89.86 kB / 0.7799 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007549, allocations: 7.031 kB / 0.7799 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.007595, allocations: 15.91 kB / 0.7799 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007597, allocations: 0 / 0.7799 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.007604, allocations: 4 kB / 0.7799 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007605, allocations: 0 / 0.7799 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.007607, allocations: 3.938 kB / 0.7799 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.007707, allocations: 139.5 kB / 0.7801 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-06/0.007716, allocations: 9.453 kB / 0.7801 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.007727, allocations: 0 / 0.7801 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.007792, allocations: 11.98 kB / 0.7801 GB, free: 180 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.007815, allocations: 3.938 kB / 0.7801 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.007824, allocations: 9.109 kB / 0.7801 GB, free: 168 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.753e-05/0.007841, allocations: 16.84 kB / 0.7801 GB, free: 148 kB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007842, allocations: 0 / 0.7801 GB, free: 148 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002031/0.008045, allocations: 32.95 kB / 0.7802 GB, free: 116 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001285/0.008173, allocations: 109.5 kB / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.008274, allocations: 32.88 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.008276, allocations: 0 / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.008308, allocations: 21.86 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.008454, allocations: 7.938 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.008907, allocations: 174.5 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.646e-05/0.008944, allocations: 59.34 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.019e-05/0.009004, allocations: 16.95 kB / 0.7806 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.009064, allocations: 59.36 kB / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.009064, allocations: 0 / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.00301/0.01207, allocations: 1.213 MB / 0.7818 GB, free: 14.45 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & (cd run_cvode && ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.723509433679283]