Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 73.3 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3066, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002763/0.3094, allocations: 1.633 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009189/0.3103, allocations: 0.6001 MB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.3104, allocations: 4 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.3104, allocations: 0 / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.445e-05/0.3105, allocations: 3.938 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.3108, allocations: 51.88 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.311, allocations: 43.86 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3111, allocations: 23.97 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.453e-05/0.3112, allocations: 19.94 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.3113, allocations: 27.84 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3113, allocations: 4 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.3114, allocations: 51.89 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.3115, allocations: 23.91 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.3115, allocations: 31.8 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3117, allocations: 92.03 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3117, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3117, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3117, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 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.0005849/0.3123, allocations: 395 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3124, allocations: 12.03 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000949/0.3133, allocations: 208.5 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.3135, allocations: 184.8 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/0.3136, allocations: 34.25 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3136, allocations: 3.938 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.314, allocations: 185.4 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.314, allocations: 3.938 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3141, allocations: 4 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3141, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.3147, allocations: 231.8 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.3155, allocations: 0.5193 MB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.3161, allocations: 238.3 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.3165, allocations: 120.8 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.3165, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.3165, allocations: 34.56 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.3165, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0009886/0.3175, allocations: 369.1 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3176, allocations: 51.53 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.3177, allocations: 184.5 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3177, allocations: 25.7 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.3178, allocations: 96.14 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3178, allocations: 3.906 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.3179, allocations: 25.69 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.318, allocations: 322.8 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.3183, allocations: 111.9 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.3186, allocations: 107.9 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.3192, allocations: 204.7 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3192, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006344/0.3198, allocations: 253.4 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3199, allocations: 8.031 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3199, allocations: 4 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3199, allocations: 7.875 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.3201, allocations: 43.91 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3201, allocations: 3.938 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3203, allocations: 35.94 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.3203, allocations: 7.984 kB / 1.074 GB, free: 3.965 MB / 0.8262 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 8.994e-05/0.3204, allocations: 113.8 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.3205, allocations: 11.89 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.3205, allocations: 7.875 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3205, allocations: 0 / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3205, allocations: 3.938 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3205, allocations: 4 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.3208, allocations: 249.6 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3208, allocations: 0 / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.321, allocations: 47.91 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.321, allocations: 0 / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3211, allocations: 4 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3211, allocations: 0 / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3211, allocations: 7.875 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.3218, allocations: 355.1 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.3218, allocations: 92.95 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3219, allocations: 0 / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.3221, allocations: 35.92 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.3221, allocations: 7.938 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3221, allocations: 3.984 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.74e-05/0.3222, allocations: 131.7 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3222, allocations: 0 / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002581/0.3225, allocations: 20 kB / 1.075 GB, free: 2.793 MB / 0.8262 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.0001546/0.3227, allocations: 103.2 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006417/0.3233, allocations: 231.8 kB / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3233, allocations: 0 / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.3236, allocations: 123.9 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.3239, allocations: 11.02 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.3245, allocations: 314.5 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3248, allocations: 0.6963 MB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.3249, allocations: 23.94 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.325, allocations: 15.42 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.325, allocations: 0 / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of Templates: time 0.003609/0.3286, allocations: 1.268 MB / 1.078 GB, free: 15.96 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1)