Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001056/0.001056, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008842/0.008843, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 8.531 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3112, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001858/0.3131, allocations: 1.298 MB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3141, allocations: 0.5924 MB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.3142, allocations: 4 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.3142, allocations: 4 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.3143, allocations: 3.938 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.3146, allocations: 47.83 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.631e-05/0.3147, allocations: 47.84 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.3148, allocations: 12 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.3149, allocations: 23.91 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.315, allocations: 23.86 kB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.315, allocations: 4 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3151, allocations: 43.95 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.3152, allocations: 31.84 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.3153, allocations: 49.5 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.3154, allocations: 96.02 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3155, allocations: 0 / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3155, allocations: 0 / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.3155, allocations: 0 / 1.076 GB, free: 5.23 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.0005068/0.316, allocations: 375.2 kB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.316, allocations: 8.031 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009009/0.3169, allocations: 216.4 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.3171, allocations: 189.2 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.3172, allocations: 34.27 kB / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.3172, allocations: 7.938 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.3177, allocations: 177.5 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3177, allocations: 3.938 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3177, allocations: 0 / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3177, allocations: 0 / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006148/0.3183, allocations: 243.7 kB / 1.078 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.3192, allocations: 0.5115 MB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.3198, allocations: 246.3 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.3201, allocations: 128.8 kB / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.3202, allocations: 0 / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3202, allocations: 38.56 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3202, allocations: 4 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.001009/0.3212, allocations: 369.2 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.3212, allocations: 55.39 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.3214, allocations: 168.6 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.3214, allocations: 29.83 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.3215, allocations: 108.1 kB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3215, allocations: 3.906 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3216, allocations: 13.72 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3217, allocations: 318.8 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.322, allocations: 119.9 kB / 1.08 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.3223, allocations: 115.9 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.3228, allocations: 200.7 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3229, allocations: 0 / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006321/0.3235, allocations: 269.3 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3235, allocations: 8 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3235, allocations: 0 / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3236, allocations: 0 / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.3238, allocations: 47.86 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3238, allocations: 3.938 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.324, allocations: 39.95 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.324, allocations: 7.938 kB / 1.08 GB, free: 1.02 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 9.561e-05/0.3241, allocations: 117.8 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.3241, allocations: 7.906 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.3242, allocations: 11.88 kB / 1.08 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3242, allocations: 0 / 1.08 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3242, allocations: 7.938 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3242, allocations: 0 / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.3245, allocations: 245.6 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3245, allocations: 0 / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.3247, allocations: 43.91 kB / 1.081 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3247, allocations: 4 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3247, allocations: 3.984 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3247, allocations: 0 / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3247, allocations: 7.938 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/0.3254, allocations: 359.2 kB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.3255, allocations: 88.94 kB / 1.081 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.3255, allocations: 4 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.3257, allocations: 35.97 kB / 1.081 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.3257, allocations: 4.141 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3258, allocations: 7.984 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001054/0.3259, allocations: 131.6 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3259, allocations: 0 / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00027/0.3261, allocations: 20 kB / 1.081 GB, free: 15.84 MB / 0.8419 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.000152/0.3263, allocations: 95.25 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00063/0.327, allocations: 235.8 kB / 1.082 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.327, allocations: 4.062 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.3273, allocations: 127.8 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.3275, allocations: 4 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.3282, allocations: 325.9 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.3285, allocations: 0.7004 MB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.3286, allocations: 20 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.3287, allocations: 19.42 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3287, allocations: 0 / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.00366/0.3323, allocations: 1.219 MB / 1.084 GB, free: 13.05 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1)