Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.134/2.134, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 197.5 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009403, allocations: 95.77 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 53.92 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.294, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002579/0.2966, allocations: 1.639 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009041/0.2976, allocations: 0.5862 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.2976, allocations: 3.938 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 6.16e-05/0.2977, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.2978, allocations: 7.938 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.2981, allocations: 47.89 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.2981, allocations: 43.84 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.2982, allocations: 20 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.2983, allocations: 23.84 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.2984, allocations: 27.91 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.2985, allocations: 4 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.2986, allocations: 47.89 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.2987, allocations: 15.98 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.2987, allocations: 31.78 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.2989, allocations: 93.81 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2989, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2989, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.2989, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 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.0005344/0.2995, allocations: 399 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2995, allocations: 11.98 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008024/0.3003, allocations: 208.5 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3005, allocations: 185.6 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.3005, allocations: 38.25 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.3006, allocations: 7.938 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.3009, allocations: 173.5 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.301, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.301, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.301, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.3015, allocations: 243.7 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.3022, allocations: 0.5 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.3028, allocations: 242.3 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.303, allocations: 120.7 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.3031, allocations: 4 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.3031, allocations: 38.44 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3031, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0008681/0.304, allocations: 369.2 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.304, allocations: 51.41 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3041, allocations: 176 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3041, allocations: 25.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.3042, allocations: 104.1 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.3042, allocations: 7.844 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.3043, allocations: 21.7 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.3043, allocations: 318.8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.3046, allocations: 123.9 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3048, allocations: 111.9 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.3053, allocations: 196.6 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3053, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005274/0.3058, allocations: 253.3 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3059, allocations: 13.28 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3059, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3059, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.3061, allocations: 43.91 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3061, allocations: 7.922 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.3063, allocations: 39.94 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3063, allocations: 3.984 kB / 1.225 GB, free: 110.4 MB / 0.823 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 7.115e-05/0.3064, allocations: 119.6 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.3064, allocations: 7.906 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.3064, allocations: 15.8 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3065, allocations: 4 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3065, allocations: 3.938 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3065, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.3067, allocations: 245.6 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3067, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.3069, allocations: 43.92 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3069, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3069, allocations: 3.984 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3069, allocations: 3.938 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3069, allocations: 3.938 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/0.3079, allocations: 1.052 MB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.3079, allocations: 88.95 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.3079, allocations: 0 / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3081, allocations: 35.97 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.3081, allocations: 3.984 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3082, allocations: 4 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.531e-05/0.3082, allocations: 128.8 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3082, allocations: 3.938 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003333/0.3086, allocations: 20 kB / 1.226 GB, free: 108.5 MB / 0.823 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.0001593/0.3087, allocations: 103.2 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005557/0.3093, allocations: 239.7 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3093, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.3096, allocations: 119.9 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3098, allocations: 11.92 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.3104, allocations: 403.9 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.3106, allocations: 0.7004 MB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.547e-05/0.3107, allocations: 24 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.3107, allocations: 19.36 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3107, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of Templates: time 0.003032/0.3138, allocations: 1.261 MB / 1.229 GB, free: 105.6 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1)