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.001226/0.001226, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.0009358/0.0009358, allocations: 166.9 kB / 25.04 MB, free: 9.152 MB / 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.8973/0.8973, allocations: 177.1 MB / 205.5 MB, free: 5.441 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.888/1.888, allocations: 389.6 MB / 0.6363 GB, free: 12.27 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.763e-06/1.763e-06, allocations: 0 / 0.7761 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.576e-05, allocations: 3.594 kB / 0.7762 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001938/0.001953, allocations: 1.698 MB / 0.7778 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007898/0.002743, allocations: 0.6292 MB / 0.7784 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.002793, allocations: 0.625 kB / 0.7784 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.653e-05/0.002839, allocations: 4.812 kB / 0.7784 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.055e-05/0.00292, allocations: 16 kB / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.003188, allocations: 60.89 kB / 0.7785 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.278e-05/0.00328, allocations: 51.67 kB / 0.7786 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.713e-05/0.003347, allocations: 20.56 kB / 0.7786 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.003451, allocations: 33.36 kB / 0.7786 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.003489, allocations: 23.91 kB / 0.7786 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.003503, allocations: 4 kB / 0.7786 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.003613, allocations: 55.92 kB / 0.7787 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.003654, allocations: 20.89 kB / 0.7787 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.003672, allocations: 12 kB / 0.7787 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.003801, allocations: 103.6 kB / 0.7788 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-06/0.003802, allocations: 0.5938 kB / 0.7788 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003803, allocations: 0.5938 kB / 0.7788 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.003805, allocations: 0 / 0.7788 GB, free: 2.594 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.0003135/0.004119, allocations: 297.2 kB / 0.7791 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.004147, allocations: 9.969 kB / 0.7791 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.00449, allocations: 176.1 kB / 0.7793 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.004626, allocations: 152.2 kB / 0.7794 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.004679, allocations: 63.94 kB / 0.7795 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.004689, allocations: 4.375 kB / 0.7795 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.00485, allocations: 139.7 kB / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.004856, allocations: 0.5 kB / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.004866, allocations: 7.984 kB / 0.7796 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.004871, allocations: 0.75 kB / 0.7796 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.479e-05/0.004946, allocations: 81.47 kB / 0.7797 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.005317, allocations: 360.8 kB / 0.7801 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.005454, allocations: 115.7 kB / 0.7802 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.005494, allocations: 40.89 kB / 0.7802 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.005505, allocations: 9.734 kB / 0.7802 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.005522, allocations: 34.5 kB / 0.7802 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.005523, allocations: 0 / 0.7802 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001731/0.005696, allocations: 130.8 kB / 0.7804 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.005722, allocations: 55.41 kB / 0.7804 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.005792, allocations: 144.6 kB / 0.7806 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.005804, allocations: 26.36 kB / 0.7806 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.005835, allocations: 96.11 kB / 0.7807 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.00585, allocations: 9.078 kB / 0.7807 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.005887, allocations: 29.67 kB / 0.7807 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003235/0.00621, allocations: 326.8 kB / 0.781 GB, free: 196 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.00628, allocations: 56.66 kB / 0.7811 GB, free: 140 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.00633, allocations: 48.45 kB / 0.7811 GB, free: 92 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.225e-05/0.006413, allocations: 90.47 kB / 0.7812 GB, free: 0 / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.006414, allocations: 0 / 0.7812 GB, free: 0 / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001235/0.006537, allocations: 123 kB / 0.7813 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.006547, allocations: 4 kB / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.006551, allocations: 4.938 kB / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.006558, allocations: 0 / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.006661, allocations: 64.61 kB / 0.7814 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.006663, allocations: 0.875 kB / 0.7814 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.006712, allocations: 36.42 kB / 0.7814 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.006759, allocations: 74.81 kB / 0.7815 GB, free: 15.7 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.428e-05/0.006813, allocations: 116.6 kB / 0.7816 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.006833, allocations: 4 kB / 0.7816 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.613e-05/0.006849, allocations: 15.95 kB / 0.7816 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.006851, allocations: 0 / 0.7816 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.006852, allocations: 3.031 kB / 0.7816 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.006854, allocations: 0 / 0.7816 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.006979, allocations: 141.7 kB / 0.7818 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.00698, allocations: 0 / 0.7818 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.00705, allocations: 67.83 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.00705, allocations: 0 / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.00706, allocations: 13.48 kB / 0.7819 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007061, allocations: 0 / 0.7819 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.007063, allocations: 3.984 kB / 0.7819 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.007199, allocations: 220.3 kB / 0.7821 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.007208, allocations: 7.953 kB / 0.7821 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.007218, allocations: 1.094 kB / 0.7821 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.007292, allocations: 33.17 kB / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.007311, allocations: 0 / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.007353, allocations: 72.86 kB / 0.7822 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.007379, allocations: 34.7 kB / 0.7822 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007379, allocations: 1.312 kB / 0.7822 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001298/0.007508, allocations: 12 kB / 0.7822 GB, free: 14.93 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 7.661e-05/0.007585, allocations: 87.12 kB / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.007725, allocations: 122.2 kB / 0.7824 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.007728, allocations: 4 kB / 0.7824 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.007781, allocations: 61.44 kB / 0.7825 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.007887, allocations: 21.61 kB / 0.7825 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.008258, allocations: 241.2 kB / 0.7827 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.149e-05/0.00829, allocations: 67.33 kB / 0.7828 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.008433, allocations: 184.2 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.008506, allocations: 71.34 kB / 0.783 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.008507, allocations: 1.531 kB / 0.783 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.0026/0.01111, allocations: 1.536 MB / 0.7845 GB, free: 12.57 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.762002187781036]