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.001818/0.001818, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.00216/0.00216, allocations: 213 kB / 23.02 MB, free: 2.949 MB / 13.93 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 1.694/1.694, allocations: 230.6 MB / 256.8 MB, free: 9.633 MB / 202.7 MB " [Timeout remaining time 178] 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 3.401/3.401, allocations: 0.5045 GB / 0.8104 GB, free: 2.777 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.005048/0.005048, allocations: 67.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.998/1.003, allocations: 180 MB / 1.353 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003112/1.006, allocations: 1.604 MB / 1.354 GB, free: 24 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001257/1.007, allocations: 0.6002 MB / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/1.007, allocations: 0 / 1.355 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 5.15e-05/1.008, allocations: 7.922 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.975e-05/1.008, allocations: 11.88 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/1.008, allocations: 63.8 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/1.008, allocations: 43.86 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/1.008, allocations: 11.98 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/1.008, allocations: 31.84 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/1.008, allocations: 27.86 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/1.008, allocations: 4 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/1.009, allocations: 55.94 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/1.009, allocations: 23.92 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/1.009, allocations: 19.86 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/1.009, allocations: 106.3 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/1.009, allocations: 0 / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.333e-06/1.009, allocations: 0 / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.648e-06/1.009, allocations: 0 / 1.355 GB, free: 15.02 MB / 1.042 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.0005535/1.009, allocations: 321.9 kB / 1.356 GB, free: 14.68 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/1.009, allocations: 12.92 kB / 1.356 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/1.011, allocations: 212.5 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/1.011, allocations: 158.9 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/1.011, allocations: 55.97 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/1.011, allocations: 7.938 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/1.012, allocations: 169.5 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.012, allocations: 3.984 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.012, allocations: 3.938 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.012, allocations: 3.984 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000662/1.012, allocations: 239.7 kB / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/1.013, allocations: 459.2 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/1.014, allocations: 238.3 kB / 1.357 GB, free: 13.06 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/1.014, allocations: 120.7 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/1.014, allocations: 4 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.014, allocations: 34.5 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.014, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.001072/1.015, allocations: 369.3 kB / 1.358 GB, free: 12.53 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/1.015, allocations: 51.41 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/1.015, allocations: 164.6 kB / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/1.016, allocations: 29.83 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/1.016, allocations: 104 kB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/1.016, allocations: 7.953 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/1.016, allocations: 21.69 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.016, allocations: 318.8 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/1.016, allocations: 115.8 kB / 1.359 GB, free: 11.68 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/1.016, allocations: 115.9 kB / 1.359 GB, free: 11.57 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/1.017, allocations: 204.7 kB / 1.359 GB, free: 11.36 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.017, allocations: 0 / 1.359 GB, free: 11.36 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006692/1.018, allocations: 249.4 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.018, allocations: 8 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/1.018, allocations: 0 / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/1.018, allocations: 0 / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/1.018, allocations: 47.94 kB / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.018, allocations: 3.938 kB / 1.359 GB, free: 11.05 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/1.018, allocations: 39.94 kB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/1.018, allocations: 7.922 kB / 1.359 GB, free: 11.01 MB / 1.042 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 0.0001088/1.018, allocations: 118.4 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/1.018, allocations: 7.953 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/1.018, allocations: 15.95 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.018, allocations: 0 / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.018, allocations: 7.938 kB / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/1.018, allocations: 0 / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/1.019, allocations: 185.2 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.019, allocations: 0 / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/1.019, allocations: 47.91 kB / 1.36 GB, free: 10.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.019, allocations: 4 kB / 1.36 GB, free: 10.59 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.019, allocations: 0 / 1.36 GB, free: 10.59 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/1.019, allocations: 0 / 1.36 GB, free: 10.59 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.019, allocations: 0 / 1.36 GB, free: 10.59 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/1.02, allocations: 363.1 kB / 1.36 GB, free: 10.22 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/1.02, allocations: 7.953 kB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/1.02, allocations: 0 / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/1.02, allocations: 43.86 kB / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/1.02, allocations: 3.938 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/1.02, allocations: 8.016 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000121/1.02, allocations: 125.1 kB / 1.36 GB, free: 10.04 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/1.02, allocations: 0 / 1.36 GB, free: 10.04 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002402/1.02, allocations: 12 kB / 1.36 GB, free: 10.02 MB / 1.042 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.0001546/1.02, allocations: 99.19 kB / 1.36 GB, free: 9.918 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006954/1.021, allocations: 235.7 kB / 1.36 GB, free: 9.688 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.021, allocations: 4 kB / 1.36 GB, free: 9.684 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003269/1.021, allocations: 119.9 kB / 1.361 GB, free: 9.566 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/1.022, allocations: 7.938 kB / 1.361 GB, free: 9.559 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007133/1.022, allocations: 287.2 kB / 1.361 GB, free: 9.25 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.757e-05/1.022, allocations: 87.67 kB / 1.361 GB, free: 9.141 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 9.727e-05/1.023, allocations: 23.98 kB / 1.361 GB, free: 9.117 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/1.023, allocations: 19.42 kB / 1.361 GB, free: 9.098 MB / 1.042 GB Notification: Performance of SimCode: time 4.21e-07/1.023, allocations: 0 / 1.361 GB, free: 9.098 MB / 1.042 GB Notification: Performance of Templates: time 0.004436/1.027, allocations: 1.346 MB / 1.362 GB, free: 7.77 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.327852052636445]