Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.0009145/0.0009145, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.004747/0.004747, allocations: 162 kB / 24.38 MB, free: 8.586 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.9294/0.9294, allocations: 177.1 MB / 204.8 MB, free: 5.055 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 2.008/2.008, allocations: 389.6 MB / 0.6356 GB, free: 12.21 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.QStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.436e-06/3.436e-06, allocations: 0 / 0.7756 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.71e-05/4.054e-05, allocations: 5.875 kB / 0.7756 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.004008/0.004048, allocations: 1.689 MB / 0.7772 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.005552, allocations: 0.6362 MB / 0.7779 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.005645, allocations: 4 kB / 0.7779 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.354e-05/0.005719, allocations: 3.938 kB / 0.7779 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.005857, allocations: 12.08 kB / 0.7779 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.006326, allocations: 60.77 kB / 0.7779 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.006487, allocations: 55.5 kB / 0.778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.006601, allocations: 13.77 kB / 0.778 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.006826, allocations: 43.83 kB / 0.778 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.006902, allocations: 15.92 kB / 0.7781 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.006925, allocations: 4 kB / 0.7781 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.007116, allocations: 56.53 kB / 0.7781 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.007197, allocations: 23.91 kB / 0.7781 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.007232, allocations: 13.11 kB / 0.7781 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.007469, allocations: 98.95 kB / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.007474, allocations: 0 / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.783e-06/0.007475, allocations: 0 / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.007483, allocations: 4 kB / 0.7782 GB, free: 2.438 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000567/0.00805, allocations: 296.4 kB / 0.7785 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.008101, allocations: 13.34 kB / 0.7785 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.008691, allocations: 172 kB / 0.7787 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.008956, allocations: 150.7 kB / 0.7789 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.742e-05/0.009053, allocations: 68.98 kB / 0.7789 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.009067, allocations: 384 / 0.7789 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.009366, allocations: 143.6 kB / 0.7791 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.009378, allocations: 0 / 0.7791 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.009394, allocations: 4.5 kB / 0.7791 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.009402, allocations: 4.531 kB / 0.7791 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.009532, allocations: 84.47 kB / 0.7791 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006537/0.01019, allocations: 361.4 kB / 0.7795 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.01041, allocations: 116.6 kB / 0.7796 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.01046, allocations: 36.89 kB / 0.7796 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.01048, allocations: 4 kB / 0.7796 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.01051, allocations: 35.25 kB / 0.7797 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.01051, allocations: 0 / 0.7797 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000278/0.01079, allocations: 135.1 kB / 0.7798 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.01083, allocations: 51.41 kB / 0.7798 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.01094, allocations: 144.6 kB / 0.78 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.01095, allocations: 26.52 kB / 0.78 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.011, allocations: 92.11 kB / 0.7801 GB, free: 420 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.01103, allocations: 8.828 kB / 0.7801 GB, free: 412 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.01109, allocations: 33.67 kB / 0.7801 GB, free: 372 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.0112, allocations: 330.7 kB / 0.7805 GB, free: 32 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.801e-05/0.0113, allocations: 49.3 kB / 0.7805 GB, free: 15.98 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.01137, allocations: 52.97 kB / 0.7806 GB, free: 15.93 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.01149, allocations: 90.23 kB / 0.7806 GB, free: 15.84 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.0115, allocations: 0 / 0.7806 GB, free: 15.84 MB / 0.7449 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.0117, allocations: 126.2 kB / 0.7808 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.01172, allocations: 4.875 kB / 0.7808 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-06/0.01172, allocations: 0 / 0.7808 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.01173, allocations: 0 / 0.7808 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.01191, allocations: 69.83 kB / 0.7808 GB, free: 15.64 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.01191, allocations: 0 / 0.7808 GB, free: 15.64 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.01199, allocations: 37.08 kB / 0.7809 GB, free: 15.61 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.761e-05/0.01207, allocations: 64.53 kB / 0.7809 GB, free: 15.55 MB / 0.7449 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 (2): * Single equations (assignments): 2 * 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.215e-05/0.01216, allocations: 125.7 kB / 0.781 GB, free: 15.41 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.0122, allocations: 7.984 kB / 0.7811 GB, free: 15.41 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.01222, allocations: 3.969 kB / 0.7811 GB, free: 15.41 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01222, allocations: 0.9062 kB / 0.7811 GB, free: 15.41 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01223, allocations: 4 kB / 0.7811 GB, free: 15.4 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01223, allocations: 0.7188 kB / 0.7811 GB, free: 15.4 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.01246, allocations: 141.7 kB / 0.7812 GB, free: 15.25 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.01247, allocations: 4.688 kB / 0.7812 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.01262, allocations: 56.56 kB / 0.7813 GB, free: 15.19 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01262, allocations: 1.125 kB / 0.7813 GB, free: 15.19 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01264, allocations: 15.91 kB / 0.7813 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01264, allocations: 0 / 0.7813 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.01265, allocations: 5.438 kB / 0.7813 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.01293, allocations: 220.9 kB / 0.7815 GB, free: 14.94 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.01295, allocations: 15.94 kB / 0.7815 GB, free: 14.92 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.01297, allocations: 0 / 0.7815 GB, free: 14.92 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.0131, allocations: 41.33 kB / 0.7815 GB, free: 14.88 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.01314, allocations: 3.984 kB / 0.7815 GB, free: 14.88 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.01321, allocations: 64.34 kB / 0.7816 GB, free: 14.82 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.01326, allocations: 40.36 kB / 0.7816 GB, free: 14.78 MB / 0.7449 GB Notification: Performance of sort global known variables: time 7e-08/0.01326, allocations: 0 / 0.7816 GB, free: 14.78 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.000256/0.01352, allocations: 12 kB / 0.7817 GB, free: 14.77 MB / 0.7449 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 (2): * Single equations (assignments): 2 * 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.0002059/0.01372, allocations: 86.16 kB / 0.7817 GB, free: 14.68 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.01395, allocations: 116.7 kB / 0.7819 GB, free: 14.56 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.01395, allocations: 3 kB / 0.7819 GB, free: 14.56 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.01404, allocations: 68.78 kB / 0.7819 GB, free: 14.49 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01425, allocations: 22.67 kB / 0.7819 GB, free: 14.47 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/0.01498, allocations: 245.5 kB / 0.7822 GB, free: 14.2 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.01503, allocations: 59.34 kB / 0.7822 GB, free: 14.12 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0002438/0.01528, allocations: 183.8 kB / 0.7824 GB, free: 13.95 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.01539, allocations: 76.17 kB / 0.7825 GB, free: 13.88 MB / 0.7449 GB Notification: Performance of SimCode: time 1.172e-06/0.01539, allocations: 0 / 0.7825 GB, free: 13.88 MB / 0.7449 GB Notification: Performance of Templates: time 0.004768/0.02016, allocations: 1.533 MB / 0.784 GB, free: 12.41 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & (cd run_cvode && ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.081158773042262]