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.0009419/0.0009419, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.0009215/0.0009215, allocations: 169.3 kB / 24.25 MB, free: 208 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.9396/0.9396, allocations: 177.1 MB / 204.7 MB, free: 5.438 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.926/1.926, allocations: 389.6 MB / 0.6355 GB, free: 12.25 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.804e-06/1.804e-06, allocations: 3.938 kB / 0.7754 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.57e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003183/0.003209, allocations: 1.689 MB / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.004356, allocations: 0.6351 MB / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.004426, allocations: 0 / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.476e-05/0.004491, allocations: 3.938 kB / 0.7777 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.004604, allocations: 16.42 kB / 0.7777 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.004954, allocations: 57.64 kB / 0.7777 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.005076, allocations: 56.03 kB / 0.7778 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.005169, allocations: 15.98 kB / 0.7778 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.005326, allocations: 35.84 kB / 0.7778 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.005383, allocations: 23.91 kB / 0.7779 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.005403, allocations: 4 kB / 0.7779 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.005559, allocations: 55.92 kB / 0.7779 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.005618, allocations: 19.92 kB / 0.7779 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.005647, allocations: 18.69 kB / 0.7779 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.005829, allocations: 87.7 kB / 0.778 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005833, allocations: 0 / 0.778 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.383e-06/0.005834, allocations: 0 / 0.778 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.005839, allocations: 0 / 0.778 GB, free: 2.578 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.0004328/0.006271, allocations: 300.4 kB / 0.7783 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.006312, allocations: 13.34 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005206/0.006833, allocations: 176.3 kB / 0.7785 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.007025, allocations: 147.3 kB / 0.7786 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.0071, allocations: 72.62 kB / 0.7787 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.007117, allocations: 384 / 0.7787 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.007372, allocations: 148.6 kB / 0.7789 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.007381, allocations: 4 kB / 0.7789 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.007393, allocations: 4 kB / 0.7789 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.007399, allocations: 4.594 kB / 0.7789 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.007514, allocations: 79.92 kB / 0.7789 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.008076, allocations: 358.2 kB / 0.7793 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.008273, allocations: 123.2 kB / 0.7794 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.00833, allocations: 41.39 kB / 0.7794 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.008343, allocations: 1.281 kB / 0.7794 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.008367, allocations: 34.56 kB / 0.7795 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.054e-06/0.008369, allocations: 0 / 0.7795 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002554/0.008625, allocations: 134.4 kB / 0.7796 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.008656, allocations: 52.03 kB / 0.7796 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/0.008753, allocations: 148.6 kB / 0.7798 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.008768, allocations: 26.39 kB / 0.7798 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.008812, allocations: 96.11 kB / 0.7799 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.008831, allocations: 9.703 kB / 0.7799 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.008888, allocations: 25.69 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.008975, allocations: 326.8 kB / 0.7803 GB, free: 164 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.009049, allocations: 51.94 kB / 0.7803 GB, free: 112 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.009114, allocations: 49.55 kB / 0.7803 GB, free: 64 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.009257, allocations: 89.22 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.00926, allocations: 1.125 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.009444, allocations: 130.3 kB / 0.7806 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.00946, allocations: 4.938 kB / 0.7806 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.009465, allocations: 0 / 0.7806 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.009475, allocations: 4 kB / 0.7806 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.009631, allocations: 57.41 kB / 0.7806 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.009635, allocations: 3.984 kB / 0.7806 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.287e-05/0.009708, allocations: 36.97 kB / 0.7807 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/0.009782, allocations: 73.64 kB / 0.7807 GB, free: 15.67 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.951e-05/0.009862, allocations: 112.6 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.009895, allocations: 9.031 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.009917, allocations: 7.953 kB / 0.7809 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009919, allocations: 4 kB / 0.7809 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.00992, allocations: 1.031 kB / 0.7809 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.009925, allocations: 4 kB / 0.7809 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.01016, allocations: 141.7 kB / 0.781 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01016, allocations: 1.562 kB / 0.781 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.01029, allocations: 63.83 kB / 0.7811 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01029, allocations: 5.281 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.0103, allocations: 7.984 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01031, allocations: 0 / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01031, allocations: 0 / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.01053, allocations: 228.7 kB / 0.7813 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.01054, allocations: 9.109 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.01056, allocations: 0 / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.01067, allocations: 32.83 kB / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.01069, allocations: 3.938 kB / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-05/0.01076, allocations: 65.72 kB / 0.7814 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.0108, allocations: 38.69 kB / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0108, allocations: 0 / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002341/0.01104, allocations: 12.94 kB / 0.7814 GB, free: 14.9 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 0.000148/0.01118, allocations: 84.56 kB / 0.7815 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.01138, allocations: 119.4 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.01139, allocations: 4 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.272e-05/0.01147, allocations: 68.72 kB / 0.7817 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.01165, allocations: 19.92 kB / 0.7817 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.01223, allocations: 237.3 kB / 0.782 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.01228, allocations: 63.34 kB / 0.782 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002192/0.01249, allocations: 194.9 kB / 0.7822 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.0126, allocations: 71.34 kB / 0.7823 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.0126, allocations: 0 / 0.7823 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of Templates: time 0.003974/0.01657, allocations: 1.525 MB / 0.7838 GB, free: 12.55 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.929608963429928]