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.001057/0.001057, allocations: 79.69 kB / 21.74 MB, free: 2.508 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.001278/0.001278, allocations: 169.8 kB / 25.18 MB, free: 9.105 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.9083/0.9083, allocations: 177.2 MB / 205.6 MB, free: 4.355 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.881/1.881, allocations: 389.6 MB / 0.6364 GB, free: 13.25 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 2.014e-06/2.014e-06, allocations: 0 / 0.7756 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.757e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00329/0.003317, allocations: 1.681 MB / 0.7772 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.004427, allocations: 0.6349 MB / 0.7778 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.004482, allocations: 4 kB / 0.7778 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.185e-05/0.004534, allocations: 7.922 kB / 0.7779 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/0.004619, allocations: 11.88 kB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.004926, allocations: 59.72 kB / 0.7779 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.13e-05/0.005017, allocations: 47.86 kB / 0.778 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.845e-05/0.005096, allocations: 15.97 kB / 0.778 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.005212, allocations: 39.83 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.005254, allocations: 19.92 kB / 0.778 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.005271, allocations: 8 kB / 0.778 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.005386, allocations: 55.88 kB / 0.7781 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.00544, allocations: 27.91 kB / 0.7781 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.005471, allocations: 15.98 kB / 0.7781 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.005608, allocations: 91.64 kB / 0.7782 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.005612, allocations: 0 / 0.7782 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005612, allocations: 0 / 0.7782 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.005616, allocations: 0 / 0.7782 GB, free: 11.78 MB / 0.7448 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.0003598/0.005976, allocations: 296.4 kB / 0.7785 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.006005, allocations: 12.03 kB / 0.7785 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.006357, allocations: 172.6 kB / 0.7787 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.006501, allocations: 146.2 kB / 0.7788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.006558, allocations: 75.89 kB / 0.7789 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.006569, allocations: 384 / 0.7789 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.006742, allocations: 142.6 kB / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.006747, allocations: 4 kB / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.006756, allocations: 3.984 kB / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.00676, allocations: 0 / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.006836, allocations: 83.94 kB / 0.7791 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.007229, allocations: 363.9 kB / 0.7795 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.00736, allocations: 122.4 kB / 0.7796 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.007398, allocations: 40.89 kB / 0.7796 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.007408, allocations: 0 / 0.7796 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.007426, allocations: 30.56 kB / 0.7797 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.007427, allocations: 0 / 0.7797 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001866/0.007614, allocations: 137.5 kB / 0.7798 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.007641, allocations: 55.41 kB / 0.7798 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.007716, allocations: 146.7 kB / 0.78 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.007727, allocations: 25.7 kB / 0.78 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.007763, allocations: 99.92 kB / 0.7801 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.00778, allocations: 7.953 kB / 0.7801 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.00782, allocations: 33.67 kB / 0.7801 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.007894, allocations: 330.7 kB / 0.7805 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.007945, allocations: 48.08 kB / 0.7805 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.007993, allocations: 55.88 kB / 0.7806 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.327e-05/0.008076, allocations: 84.77 kB / 0.7806 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.008079, allocations: 4 kB / 0.7806 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001168/0.008196, allocations: 125.5 kB / 0.7808 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.008207, allocations: 8.094 kB / 0.7808 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.008211, allocations: 0 / 0.7808 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/0.008218, allocations: 4 kB / 0.7808 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.008327, allocations: 63.83 kB / 0.7808 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.008329, allocations: 0 / 0.7808 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.008378, allocations: 31.95 kB / 0.7809 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.008428, allocations: 71.84 kB / 0.7809 GB, free: 8.844 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 6.097e-05/0.008489, allocations: 116.6 kB / 0.781 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.008509, allocations: 7.984 kB / 0.781 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.008526, allocations: 7.969 kB / 0.7811 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.008528, allocations: 4 kB / 0.7811 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.008529, allocations: 0 / 0.7811 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.008532, allocations: 0 / 0.7811 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.008665, allocations: 141.8 kB / 0.7812 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.008666, allocations: 0 / 0.7812 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.008741, allocations: 59.91 kB / 0.7813 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.008744, allocations: 7.984 kB / 0.7813 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.008754, allocations: 7.984 kB / 0.7813 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.008755, allocations: 0 / 0.7813 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.008756, allocations: 0 / 0.7813 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.008918, allocations: 219.3 kB / 0.7815 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.00893, allocations: 11.94 kB / 0.7815 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.008943, allocations: 32 / 0.7815 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.009007, allocations: 39.89 kB / 0.7815 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.009029, allocations: 8 kB / 0.7815 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.00907, allocations: 63.91 kB / 0.7816 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.009096, allocations: 32.77 kB / 0.7816 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009096, allocations: 0 / 0.7816 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001352/0.009231, allocations: 19.92 kB / 0.7816 GB, free: 8.066 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 0.0001079/0.009339, allocations: 88.36 kB / 0.7817 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.009479, allocations: 112.7 kB / 0.7818 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.009484, allocations: 0 / 0.7818 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-05/0.009543, allocations: 72.72 kB / 0.7819 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.009663, allocations: 19.91 kB / 0.7819 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.01013, allocations: 267.6 kB / 0.7822 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.875e-05/0.01018, allocations: 87.03 kB / 0.7823 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.01028, allocations: 83.33 kB / 0.7823 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01028, allocations: 0 / 0.7823 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of Templates: time 0.002172/0.01245, allocations: 1.761 MB / 0.7841 GB, free: 5.516 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 > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.702023000456393]