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.0009562/0.0009562, allocations: 80.8 kB / 20.75 MB, free: 3.746 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.0009753/0.0009753, allocations: 161 kB / 24.17 MB, free: 336 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.9687/0.9687, allocations: 177.1 MB / 204.6 MB, free: 5.504 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.976/1.976, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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.252e-06/1.252e-06, allocations: 0 / 0.7752 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.475e-05, allocations: 7.328 kB / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002024/0.002039, allocations: 1.692 MB / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.003128, allocations: 0.628 MB / 0.7775 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.003176, allocations: 4.594 kB / 0.7775 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.003218, allocations: 7.922 kB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.003297, allocations: 8.578 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.003562, allocations: 65.2 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.003655, allocations: 53.53 kB / 0.7776 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.068e-05/0.003726, allocations: 11.98 kB / 0.7776 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/0.003826, allocations: 40.45 kB / 0.7777 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.003866, allocations: 20.67 kB / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.003885, allocations: 4 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.003997, allocations: 53.16 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.00404, allocations: 19.92 kB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.004062, allocations: 15.92 kB / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.004193, allocations: 95.64 kB / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-06/0.004194, allocations: 0.9375 kB / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004195, allocations: 0 / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004199, allocations: 4.906 kB / 0.7779 GB, free: 2.652 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.0003188/0.004518, allocations: 300.4 kB / 0.7782 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.004552, allocations: 14.03 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.004917, allocations: 168.4 kB / 0.7783 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.005072, allocations: 154.1 kB / 0.7785 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.005126, allocations: 63.95 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.005135, allocations: 384 / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.005309, allocations: 150.5 kB / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.005315, allocations: 0 / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.005324, allocations: 0 / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.005328, allocations: 4 kB / 0.7787 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.298e-05/0.00541, allocations: 91.12 kB / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.005788, allocations: 360 kB / 0.7791 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.005931, allocations: 122.5 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.005972, allocations: 41.42 kB / 0.7793 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.005982, allocations: 4.562 kB / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.006, allocations: 38.48 kB / 0.7793 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.006001, allocations: 0.7812 kB / 0.7793 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001766/0.006178, allocations: 126.7 kB / 0.7794 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.006199, allocations: 51.41 kB / 0.7795 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.006272, allocations: 142 kB / 0.7796 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.006284, allocations: 29.7 kB / 0.7797 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.006317, allocations: 92.11 kB / 0.7797 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.006332, allocations: 7.938 kB / 0.7797 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.006375, allocations: 38.64 kB / 0.7798 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.006448, allocations: 326.8 kB / 0.7801 GB, free: 240 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.006496, allocations: 48.95 kB / 0.7801 GB, free: 192 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.006541, allocations: 47.94 kB / 0.7802 GB, free: 144 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.006626, allocations: 90.48 kB / 0.7803 GB, free: 52 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.006627, allocations: 0 / 0.7803 GB, free: 52 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001316/0.006759, allocations: 130.9 kB / 0.7804 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.006773, allocations: 5.75 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.006776, allocations: 0 / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.006784, allocations: 0 / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.00689, allocations: 65.42 kB / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/0.006892, allocations: 0 / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.006941, allocations: 35.89 kB / 0.7805 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.006993, allocations: 69.53 kB / 0.7806 GB, free: 15.75 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 5.813e-05/0.007051, allocations: 117.4 kB / 0.7807 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.007074, allocations: 11.97 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.542e-05/0.00709, allocations: 8.906 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.007091, allocations: 0 / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.007093, allocations: 4 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.007095, allocations: 4.875 kB / 0.7807 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.007226, allocations: 141.7 kB / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.007227, allocations: 5.062 kB / 0.7808 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.007302, allocations: 59.83 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.007303, allocations: 1.094 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.007314, allocations: 11.98 kB / 0.7809 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007315, allocations: 0.7812 kB / 0.7809 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007316, allocations: 0 / 0.7809 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.007463, allocations: 224.5 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.007476, allocations: 16.83 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.007487, allocations: 0 / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.007554, allocations: 32.67 kB / 0.7812 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.007572, allocations: 0.6875 kB / 0.7812 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.007619, allocations: 65.53 kB / 0.7812 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.232e-05/0.007651, allocations: 38.7 kB / 0.7813 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007651, allocations: 0 / 0.7813 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000149/0.0078, allocations: 13.44 kB / 0.7813 GB, free: 14.98 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 8.672e-05/0.007887, allocations: 80.41 kB / 0.7814 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.008027, allocations: 126.2 kB / 0.7815 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.00803, allocations: 0 / 0.7815 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.076e-05/0.00809, allocations: 66.28 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.008221, allocations: 23.91 kB / 0.7816 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.008669, allocations: 237 kB / 0.7818 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.008705, allocations: 59.34 kB / 0.7819 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.008861, allocations: 186.6 kB / 0.782 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.008938, allocations: 75.33 kB / 0.7821 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of SimCode: time 4.5e-07/0.008938, allocations: 0 / 0.7821 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.002924/0.01186, allocations: 1.519 MB / 0.7836 GB, free: 12.64 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.047493266873062]