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.0009692/0.0009692, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002411, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007211/0.0007211, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000987/0.001708, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9229/0.9229, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08655/1.009, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.916/1.916, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4847/2.401, allocations: 127.1 MB / 0.7435 GB, free: 4.539 MB / 0.7136 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.313e-06/1.313e-06, allocations: 0 / 0.7448 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/1.088e-05, allocations: 4.672 kB / 0.7448 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001713/0.001724, allocations: 1.682 MB / 0.7465 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006752/0.002399, allocations: 0.6357 MB / 0.7471 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.002442, allocations: 0 / 0.7471 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.002475, allocations: 15.14 kB / 0.7471 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.002524, allocations: 11.64 kB / 0.7471 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.002731, allocations: 60.89 kB / 0.7472 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.00282, allocations: 46.27 kB / 0.7472 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.115e-05/0.002891, allocations: 11.98 kB / 0.7472 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.00301, allocations: 55.66 kB / 0.7473 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.003055, allocations: 23.58 kB / 0.7473 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.00307, allocations: 4 kB / 0.7473 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.003185, allocations: 48.64 kB / 0.7474 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.00323, allocations: 21.02 kB / 0.7474 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.003251, allocations: 12.47 kB / 0.7474 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.003382, allocations: 80.36 kB / 0.7475 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.003393, allocations: 0 / 0.7475 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.11e-07/0.003393, allocations: 1.5 kB / 0.7475 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.003407, allocations: 0 / 0.7475 GB, free: 0.5508 MB / 0.7136 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.0006481/0.004055, allocations: 320 kB / 0.7478 GB, free: 220 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.004082, allocations: 13 kB / 0.7478 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/0.004477, allocations: 253.6 kB / 0.748 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.004621, allocations: 146.9 kB / 0.7482 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.004681, allocations: 75.94 kB / 0.7482 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.004695, allocations: 2.219 kB / 0.7482 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.004869, allocations: 138.6 kB / 0.7484 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.004875, allocations: 4 kB / 0.7484 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.004884, allocations: 2.438 kB / 0.7484 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.004889, allocations: 0 / 0.7484 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.004966, allocations: 83.92 kB / 0.7485 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.005328, allocations: 361.8 kB / 0.7488 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.005456, allocations: 118.4 kB / 0.7489 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.005495, allocations: 42.17 kB / 0.749 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.005505, allocations: 0 / 0.749 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.005523, allocations: 30.56 kB / 0.749 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.005524, allocations: 1.25 kB / 0.749 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000179/0.005703, allocations: 129.5 kB / 0.7491 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.005727, allocations: 55.91 kB / 0.7492 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.005797, allocations: 149.7 kB / 0.7493 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.005808, allocations: 25.7 kB / 0.7493 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.005841, allocations: 97.92 kB / 0.7494 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.005855, allocations: 7.953 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.005895, allocations: 33.67 kB / 0.7495 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.005964, allocations: 322.8 kB / 0.7498 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.006012, allocations: 51.94 kB / 0.7498 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.006055, allocations: 54.64 kB / 0.7499 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.01e-05/0.006135, allocations: 88.75 kB / 0.75 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.006136, allocations: 0 / 0.75 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.006246, allocations: 128.7 kB / 0.7501 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.006257, allocations: 6.031 kB / 0.7501 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.00626, allocations: 0 / 0.7501 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.00627, allocations: 4 kB / 0.7501 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.006388, allocations: 71.81 kB / 0.7502 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.00639, allocations: 5.125 kB / 0.7502 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.006436, allocations: 28.95 kB / 0.7502 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.006482, allocations: 72.28 kB / 0.7503 GB, free: 13.53 MB / 0.7292 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 5.496e-05/0.006537, allocations: 121.4 kB / 0.7504 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.006563, allocations: 12.56 kB / 0.7504 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.727e-05/0.00658, allocations: 7.969 kB / 0.7504 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006582, allocations: 0.9375 kB / 0.7504 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006583, allocations: 0 / 0.7504 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.006585, allocations: 1.031 kB / 0.7504 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.00671, allocations: 141.8 kB / 0.7505 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006711, allocations: 0 / 0.7505 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/0.006798, allocations: 72.94 kB / 0.7506 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.006807, allocations: 12.44 kB / 0.7506 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.006808, allocations: 0 / 0.7506 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.006818, allocations: 13.3 kB / 0.7506 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.00682, allocations: 4 kB / 0.7506 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.006823, allocations: 3.938 kB / 0.7506 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.006962, allocations: 221 kB / 0.7508 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.006975, allocations: 4 kB / 0.7509 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.007038, allocations: 33.92 kB / 0.7509 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.007058, allocations: 4 kB / 0.7509 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.007101, allocations: 61.56 kB / 0.7509 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.007128, allocations: 42.81 kB / 0.751 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007128, allocations: 0 / 0.751 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001333/0.007261, allocations: 16 kB / 0.751 GB, free: 12.74 MB / 0.7292 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 9.004e-05/0.007351, allocations: 77.73 kB / 0.7511 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.007491, allocations: 122.2 kB / 0.7512 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.007496, allocations: 0 / 0.7512 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.007571, allocations: 74.97 kB / 0.7513 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.007699, allocations: 35.84 kB / 0.7513 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/0.008397, allocations: 244.8 kB / 0.7515 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.289e-05/0.00843, allocations: 64.44 kB / 0.7516 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000157/0.008587, allocations: 185.7 kB / 0.7518 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.008664, allocations: 79.33 kB / 0.7518 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.008664, allocations: 0 / 0.7518 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.002723/0.01139, allocations: 1.535 MB / 0.7533 GB, free: 10.36 MB / 0.7292 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.8731568874791265]