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.001105/0.001105, allocations: 80.81 kB / 21.54 MB, free: 2.945 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.001592/0.001592, allocations: 164.5 kB / 24.96 MB, free: 8.648 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.9129/0.9129, allocations: 177.1 MB / 205.4 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.883/1.883, allocations: 389.6 MB / 0.6362 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.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 1.262e-06/1.262e-06, allocations: 0 / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.356e-05, allocations: 9.344 kB / 0.776 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00225/0.002264, allocations: 1.688 MB / 0.7776 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.003046, allocations: 0.63 MB / 0.7783 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.003094, allocations: 4 kB / 0.7783 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/0.003138, allocations: 11.86 kB / 0.7783 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.003219, allocations: 10.94 kB / 0.7783 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.003508, allocations: 60.39 kB / 0.7783 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.003624, allocations: 53.86 kB / 0.7784 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.003712, allocations: 15.8 kB / 0.7784 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.003836, allocations: 35.91 kB / 0.7784 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.003882, allocations: 19.92 kB / 0.7785 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.003899, allocations: 0 / 0.7785 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.004032, allocations: 63.86 kB / 0.7785 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.00409, allocations: 23.92 kB / 0.7785 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.004118, allocations: 15.92 kB / 0.7786 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.00428, allocations: 87.7 kB / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004281, allocations: 0 / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004282, allocations: 0 / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.004287, allocations: 0.625 kB / 0.7786 GB, free: 2.652 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.0003501/0.004637, allocations: 301 kB / 0.7789 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.004665, allocations: 9.844 kB / 0.7789 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.00501, allocations: 180.1 kB / 0.7791 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.005145, allocations: 148.1 kB / 0.7792 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.005196, allocations: 67.95 kB / 0.7793 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.005206, allocations: 384 / 0.7793 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.005372, allocations: 147.9 kB / 0.7795 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005379, allocations: 0 / 0.7795 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.005388, allocations: 1.719 kB / 0.7795 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.005393, allocations: 7.938 kB / 0.7795 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.005467, allocations: 71.94 kB / 0.7795 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.005849, allocations: 366.1 kB / 0.7799 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.005975, allocations: 123 kB / 0.78 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.006015, allocations: 45.97 kB / 0.78 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.006029, allocations: 0 / 0.78 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.006048, allocations: 34.56 kB / 0.7801 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.006049, allocations: 1.281 kB / 0.7801 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.006223, allocations: 125.6 kB / 0.7802 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.006245, allocations: 52.12 kB / 0.7802 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.997e-05/0.006315, allocations: 156.5 kB / 0.7804 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.006326, allocations: 27.05 kB / 0.7804 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.006354, allocations: 88.12 kB / 0.7805 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.006367, allocations: 3.953 kB / 0.7805 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.006407, allocations: 37.67 kB / 0.7805 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.006475, allocations: 327.9 kB / 0.7809 GB, free: 244 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.00652, allocations: 43.95 kB / 0.7809 GB, free: 200 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.006561, allocations: 49 kB / 0.7809 GB, free: 152 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.006691, allocations: 97.88 kB / 0.781 GB, free: 52 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.006694, allocations: 1.469 kB / 0.781 GB, free: 52 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000147/0.006841, allocations: 125.5 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.006852, allocations: 4.531 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.006857, allocations: 0.875 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.006871, allocations: 3.984 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.006992, allocations: 65.62 kB / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006994, allocations: 0 / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.007051, allocations: 44.97 kB / 0.7813 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.007102, allocations: 61.22 kB / 0.7813 GB, free: 15.75 MB / 0.7448 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 6.193e-05/0.007164, allocations: 120.6 kB / 0.7814 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.007182, allocations: 4 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.007203, allocations: 9.344 kB / 0.7815 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.007205, allocations: 0 / 0.7815 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.007206, allocations: 0 / 0.7815 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.007212, allocations: 9.484 kB / 0.7815 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.007344, allocations: 141.7 kB / 0.7816 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007345, allocations: 0 / 0.7816 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/0.007419, allocations: 73.11 kB / 0.7817 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.007421, allocations: 0 / 0.7817 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.007431, allocations: 7.984 kB / 0.7817 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.007432, allocations: 0.625 kB / 0.7817 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007433, allocations: 0 / 0.7817 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.00758, allocations: 229.7 kB / 0.7819 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.007591, allocations: 7.953 kB / 0.7819 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.007601, allocations: 0 / 0.7819 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.267e-05/0.007664, allocations: 35.2 kB / 0.7819 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.007682, allocations: 4 kB / 0.7819 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.007725, allocations: 63.84 kB / 0.782 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.007752, allocations: 34.69 kB / 0.782 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007752, allocations: 0 / 0.782 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000126/0.007878, allocations: 16 kB / 0.7821 GB, free: 14.98 MB / 0.7448 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 7.921e-05/0.007957, allocations: 79.33 kB / 0.7821 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.008103, allocations: 124.7 kB / 0.7822 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.008105, allocations: 0 / 0.7822 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.584e-05/0.008161, allocations: 66.3 kB / 0.7823 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.008266, allocations: 19.91 kB / 0.7823 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.008656, allocations: 248.8 kB / 0.7826 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.008689, allocations: 59.34 kB / 0.7826 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.008836, allocations: 187 kB / 0.7828 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.008907, allocations: 71.33 kB / 0.7829 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.008907, allocations: 0 / 0.7829 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.002774/0.01168, allocations: 1.517 MB / 0.7844 GB, free: 12.64 MB / 0.7448 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 & ./Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8542403019964695]