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.001598/0.001598, allocations: 80.81 kB / 21.55 MB, free: 2.934 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.001775/0.001775, allocations: 168.3 kB / 24.97 MB, free: 9.191 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.9721/0.9721, allocations: 177.1 MB / 205.4 MB, free: 5.461 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.99/1.99, allocations: 389.6 MB / 0.6362 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.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.693e-06/1.693e-06, allocations: 0 / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.388e-05, allocations: 2.312 kB / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003073/0.003097, allocations: 1.696 MB / 0.7776 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.00421, allocations: 0.634 MB / 0.7783 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.004264, allocations: 0 / 0.7783 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.004309, allocations: 3.938 kB / 0.7783 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.004394, allocations: 17.23 kB / 0.7783 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.00471, allocations: 56.69 kB / 0.7783 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.004833, allocations: 52.98 kB / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.004915, allocations: 15.97 kB / 0.7784 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.005044, allocations: 39.78 kB / 0.7784 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.005096, allocations: 23.5 kB / 0.7785 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.005115, allocations: 4 kB / 0.7785 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.005262, allocations: 55.94 kB / 0.7785 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.005316, allocations: 19.92 kB / 0.7785 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.005345, allocations: 19.92 kB / 0.7786 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.005519, allocations: 87.7 kB / 0.7786 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005521, allocations: 0 / 0.7786 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.81e-07/0.005522, allocations: 3.938 kB / 0.7786 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.005527, allocations: 0 / 0.7786 GB, free: 2.664 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.000364/0.005891, allocations: 299.9 kB / 0.7789 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.00593, allocations: 9.344 kB / 0.7789 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005162/0.006446, allocations: 177.8 kB / 0.7791 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.006617, allocations: 156.6 kB / 0.7793 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.706e-05/0.006684, allocations: 59.95 kB / 0.7793 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.006701, allocations: 12.36 kB / 0.7793 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.006934, allocations: 143.4 kB / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.006941, allocations: 0 / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.006953, allocations: 0.5625 kB / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.006959, allocations: 3.875 kB / 0.7795 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.007074, allocations: 75.94 kB / 0.7795 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.007594, allocations: 367.9 kB / 0.7799 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.007792, allocations: 118.4 kB / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.007854, allocations: 43.77 kB / 0.78 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.007869, allocations: 0 / 0.78 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.00789, allocations: 30.56 kB / 0.7801 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.007891, allocations: 0 / 0.7801 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000248/0.008139, allocations: 137.5 kB / 0.7802 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.008161, allocations: 51.41 kB / 0.7803 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.008261, allocations: 148.8 kB / 0.7804 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.008278, allocations: 26.64 kB / 0.7804 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.008318, allocations: 92.11 kB / 0.7805 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.008339, allocations: 8.516 kB / 0.7805 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.008398, allocations: 37.66 kB / 0.7806 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.008486, allocations: 327.3 kB / 0.7809 GB, free: 252 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.008558, allocations: 45.02 kB / 0.7809 GB, free: 208 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.008631, allocations: 56.38 kB / 0.781 GB, free: 152 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.008752, allocations: 86.23 kB / 0.781 GB, free: 64 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.008753, allocations: 0 / 0.781 GB, free: 64 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/0.008936, allocations: 126.9 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.008949, allocations: 5.719 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.008952, allocations: 0 / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.008963, allocations: 4 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.009116, allocations: 65.3 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.009118, allocations: 0 / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.009199, allocations: 36.77 kB / 0.7813 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.009274, allocations: 68.72 kB / 0.7813 GB, free: 15.76 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 7.384e-05/0.009348, allocations: 113.2 kB / 0.7814 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.009383, allocations: 8.484 kB / 0.7815 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.009404, allocations: 15.91 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.009407, allocations: 1.375 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009408, allocations: 0 / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.009421, allocations: 3.953 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.00944, allocations: 8 kB / 0.7815 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.009553, allocations: 29.23 kB / 0.7815 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.009579, allocations: 12.92 kB / 0.7815 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002259/0.009805, allocations: 209.7 kB / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001938/0.009999, allocations: 263.7 kB / 0.782 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.781e-05/0.01007, allocations: 40.83 kB / 0.782 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.01011, allocations: 39.47 kB / 0.7821 GB, free: 15 MB / 0.7448 GB Notification: Performance of Backend: time 4.11e-07/0.01011, allocations: 0 / 0.7821 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.01052, allocations: 154.1 kB / 0.7822 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0007168/0.01124, allocations: 0.7282 MB / 0.7829 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.005603/0.01684, allocations: 3.032 MB / 0.7859 GB, free: 11.18 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: 5.016076907515526]