Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001326/0.001326, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5547/0.5547, allocations: 95.58 MB / 365.9 MB, free: 10.41 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.0005623, allocations: 20 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2987, allocations: 70.34 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.001429/0.3002, allocations: 1.328 MB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005102/0.3007, allocations: 375.6 kB / 0.5067 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.3007, allocations: 0 / 0.5067 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.3011, allocations: 157.6 kB / 0.5068 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.3014, allocations: 146.5 kB / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.3017, allocations: 139.4 kB / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.3018, allocations: 135.6 kB / 0.5072 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3019, allocations: 29.53 kB / 0.5072 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.302, allocations: 71.73 kB / 0.5073 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3022, allocations: 127.7 kB / 0.5074 GB, free: 14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3022, allocations: 4 kB / 0.5074 GB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.047e-05/0.3023, allocations: 23.94 kB / 0.5075 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.3023, allocations: 67.8 kB / 0.5075 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.3024, allocations: 61.56 kB / 0.5076 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.3025, allocations: 205.5 kB / 0.5078 GB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.3026, allocations: 3.938 kB / 0.5078 GB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3026, allocations: 3.938 kB / 0.5078 GB, free: 13.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.3026, allocations: 0 / 0.5078 GB, free: 13.64 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005739/0.3031, allocations: 0.5487 MB / 0.5083 GB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.3032, allocations: 15.97 kB / 0.5083 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.3032, allocations: 31.62 kB / 0.5084 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.3036, allocations: 349.4 kB / 0.5087 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.3036, allocations: 11.95 kB / 0.5087 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3037, allocations: 4 kB / 0.5087 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3038, allocations: 85.59 kB / 0.5088 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3038, allocations: 0 / 0.5088 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3039, allocations: 0 / 0.5088 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3039, allocations: 0 / 0.5088 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.3041, allocations: 67.89 kB / 0.5089 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.3045, allocations: 428.5 kB / 0.5093 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.3046, allocations: 62.55 kB / 0.5093 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3046, allocations: 0 / 0.5093 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.3047, allocations: 34.59 kB / 0.5094 GB, free: 11.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3047, allocations: 4.062 kB / 0.5094 GB, free: 11.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003503/0.305, allocations: 137.3 kB / 0.5095 GB, free: 11.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3051, allocations: 51.41 kB / 0.5095 GB, free: 11.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.3055, allocations: 0.5094 MB / 0.51 GB, free: 11.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.3055, allocations: 25.7 kB / 0.5101 GB, free: 11.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.3056, allocations: 164 kB / 0.5102 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.3056, allocations: 15.91 kB / 0.5102 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.3056, allocations: 0 / 0.5102 GB, free: 10.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.3057, allocations: 346.8 kB / 0.5106 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.3058, allocations: 23.98 kB / 0.5106 GB, free: 10.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.3059, allocations: 19.98 kB / 0.5106 GB, free: 10.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.577e-05/0.306, allocations: 35.91 kB / 0.5106 GB, free: 10.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.306, allocations: 0 / 0.5106 GB, free: 10.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001958/0.3062, allocations: 109.3 kB / 0.5107 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3062, allocations: 8 kB / 0.5108 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3062, allocations: 0 / 0.5108 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3062, allocations: 0 / 0.5108 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.3063, allocations: 15.98 kB / 0.5108 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3063, allocations: 0 / 0.5108 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.3064, allocations: 4 kB / 0.5108 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.3064, allocations: 7.984 kB / 0.5108 GB, free: 10.35 MB / 382.1 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.3065, allocations: 177.8 kB / 0.5109 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.3066, allocations: 27.62 kB / 0.511 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.3068, allocations: 124.3 kB / 0.5111 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3068, allocations: 0 / 0.5111 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3068, allocations: 0 / 0.5111 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.3069, allocations: 8.031 kB / 0.5111 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.307, allocations: 261.5 kB / 0.5113 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.307, allocations: 0 / 0.5113 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.3071, allocations: 15.98 kB / 0.5114 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3071, allocations: 0 / 0.5114 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.3071, allocations: 7.938 kB / 0.5114 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3071, allocations: 0 / 0.5114 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3071, allocations: 0 / 0.5114 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.3074, allocations: 211 kB / 0.5116 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.3074, allocations: 120.7 kB / 0.5117 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.3075, allocations: 7.938 kB / 0.5117 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3076, allocations: 15.98 kB / 0.5117 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.3076, allocations: 4 kB / 0.5117 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3076, allocations: 4 kB / 0.5117 GB, free: 9.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.3079, allocations: 383.1 kB / 0.5121 GB, free: 8.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3079, allocations: 0 / 0.5121 GB, free: 8.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.3082, allocations: 24 kB / 0.5121 GB, free: 8.879 MB / 382.1 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000648/0.3088, allocations: 342.7 kB / 0.5124 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.309, allocations: 51.95 kB / 0.5125 GB, free: 8.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.309, allocations: 4 kB / 0.5125 GB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.3091, allocations: 27.92 kB / 0.5125 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.3094, allocations: 45.47 kB / 0.5126 GB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.31, allocations: 0.5037 MB / 0.513 GB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.3101, allocations: 0.7713 MB / 0.5138 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.3102, allocations: 37.94 kB / 0.5138 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.3103, allocations: 23.44 kB / 0.5139 GB, free: 7.152 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3103, allocations: 0 / 0.5139 GB, free: 7.152 MB / 382.1 MB Notification: Performance of Templates: time 0.004163/0.3145, allocations: 2.077 MB / 0.5159 GB, free: 5.086 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) Environment - environmentSimulation: