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.0006934/0.0006934, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008984/0.001592, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007079/0.0007079, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000915/0.001623, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8965/0.8965, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1069/1.003, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.985/1.985, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4423/2.427, allocations: 127.1 MB / 0.7432 GB, free: 4.617 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.563e-06/1.563e-06, allocations: 0 / 0.7445 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.248e-05, allocations: 2.969 kB / 0.7445 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002474/0.002496, allocations: 1.683 MB / 0.7461 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002949/0.005445, allocations: 0.6408 MB / 0.7468 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.005497, allocations: 0 / 0.7468 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.005537, allocations: 7.938 kB / 0.7468 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.005601, allocations: 11.89 kB / 0.7468 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.005843, allocations: 59.25 kB / 0.7468 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.005941, allocations: 54.23 kB / 0.7469 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.406e-05/0.006015, allocations: 9.203 kB / 0.7469 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.00615, allocations: 51 kB / 0.747 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.006197, allocations: 24.23 kB / 0.747 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.006212, allocations: 4 kB / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.006353, allocations: 55.94 kB / 0.747 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.006399, allocations: 22.38 kB / 0.7471 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.006421, allocations: 11.94 kB / 0.7471 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.006561, allocations: 79.73 kB / 0.7471 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.006575, allocations: 3.938 kB / 0.7471 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006576, allocations: 0 / 0.7471 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.006592, allocations: 0 / 0.7471 GB, free: 0.6328 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.0004122/0.007004, allocations: 313.3 kB / 0.7474 GB, free: 312 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.007033, allocations: 19.95 kB / 0.7475 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.007416, allocations: 246 kB / 0.7477 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.007581, allocations: 150.1 kB / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.007635, allocations: 64.58 kB / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.007645, allocations: 384 / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.007829, allocations: 147.9 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.007836, allocations: 4 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.007845, allocations: 0.5 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.007851, allocations: 0.5938 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.007931, allocations: 85.36 kB / 0.7481 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.008319, allocations: 357.1 kB / 0.7485 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.008457, allocations: 123.3 kB / 0.7486 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.008499, allocations: 45.55 kB / 0.7486 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.008509, allocations: 0 / 0.7486 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.00853, allocations: 39.23 kB / 0.7487 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.008531, allocations: 0 / 0.7487 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001824/0.008714, allocations: 127.1 kB / 0.7488 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.008739, allocations: 51.41 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.008813, allocations: 140.9 kB / 0.749 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.008826, allocations: 31.42 kB / 0.749 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.00886, allocations: 96.05 kB / 0.7491 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.008876, allocations: 11.94 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.008924, allocations: 33.67 kB / 0.7491 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.008997, allocations: 327.6 kB / 0.7495 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.009047, allocations: 47.89 kB / 0.7495 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.009091, allocations: 53.19 kB / 0.7495 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.966e-05/0.009181, allocations: 87.36 kB / 0.7496 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.009183, allocations: 3.938 kB / 0.7496 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001163/0.009299, allocations: 121.6 kB / 0.7498 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.00931, allocations: 6.75 kB / 0.7498 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.009314, allocations: 0 / 0.7498 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.009323, allocations: 4 kB / 0.7498 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.009451, allocations: 71.81 kB / 0.7498 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.009454, allocations: 4 kB / 0.7498 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.009503, allocations: 34.42 kB / 0.7499 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.009552, allocations: 71.83 kB / 0.7499 GB, free: 13.61 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.983e-05/0.009612, allocations: 116.5 kB / 0.75 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.009632, allocations: 5.5 kB / 0.7501 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.009651, allocations: 11.97 kB / 0.7501 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.009654, allocations: 3.984 kB / 0.7501 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.009655, allocations: 0 / 0.7501 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.009657, allocations: 0.875 kB / 0.7501 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.009789, allocations: 137.8 kB / 0.7502 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00979, allocations: 0.875 kB / 0.7502 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.118e-05/0.009882, allocations: 77.56 kB / 0.7503 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.009892, allocations: 11.91 kB / 0.7503 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.009894, allocations: 0 / 0.7503 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.009907, allocations: 15.95 kB / 0.7503 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009908, allocations: 0.5 kB / 0.7503 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.009909, allocations: 0 / 0.7503 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.01007, allocations: 225 kB / 0.7505 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.01008, allocations: 4 kB / 0.7505 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.01014, allocations: 29.08 kB / 0.7505 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.01017, allocations: 8.75 kB / 0.7506 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.01021, allocations: 68.61 kB / 0.7506 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.703e-05/0.01024, allocations: 27.91 kB / 0.7506 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 0 / 0.7506 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000144/0.01038, allocations: 16.84 kB / 0.7507 GB, free: 12.84 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 0.0001087/0.01049, allocations: 85.83 kB / 0.7507 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.01063, allocations: 121.3 kB / 0.7509 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01064, allocations: 0 / 0.7509 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.01069, allocations: 70.09 kB / 0.7509 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.01082, allocations: 32.83 kB / 0.751 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.01156, allocations: 235.8 kB / 0.7512 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.0116, allocations: 64.62 kB / 0.7512 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.01175, allocations: 188.5 kB / 0.7514 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.01183, allocations: 80.73 kB / 0.7515 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.01183, allocations: 0 / 0.7515 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.002949/0.01478, allocations: 1.532 MB / 0.753 GB, free: 10.46 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.8869888400658965]