Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001837/0.001837, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.663/1.663, allocations: 251.6 MB / 0.5088 GB, free: 3.406 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.92 kB / 0.6216 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9388/0.9406, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.004811/0.9456, allocations: 1.28 MB / 0.7251 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000562/0.9462, allocations: 66.66 kB / 0.7251 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.9463, allocations: 0 / 0.7251 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.317e-05/0.9464, allocations: 4 kB / 0.7251 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.9467, allocations: 4 kB / 0.7251 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.9469, allocations: 15.92 kB / 0.7251 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.9471, allocations: 31.95 kB / 0.7252 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.537e-05/0.9472, allocations: 4 kB / 0.7252 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.9472, allocations: 4 kB / 0.7252 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.9473, allocations: 21.36 kB / 0.7252 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.9473, allocations: 0 / 0.7252 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.9475, allocations: 4 kB / 0.7252 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.9476, allocations: 56.42 kB / 0.7253 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.744e-05/0.9477, allocations: 39.69 kB / 0.7253 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.9479, allocations: 69.69 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.9479, allocations: 0 / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9479, allocations: 0 / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.9479, allocations: 0 / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006376/0.9486, allocations: 430.7 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.444e-05/0.9487, allocations: 8.031 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.9488, allocations: 88.06 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.949, allocations: 274.7 kB / 0.7261 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.101e-05/0.9491, allocations: 154.6 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.9492, allocations: 150.6 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.9494, allocations: 101 kB / 0.7265 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/0.9494, allocations: 79.22 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-05/0.9495, allocations: 154.6 kB / 0.7267 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.839e-05/0.9496, allocations: 154.6 kB / 0.7269 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.9497, allocations: 154.5 kB / 0.727 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.9502, allocations: 497.7 kB / 0.7275 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.9504, allocations: 169.1 kB / 0.7277 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.9504, allocations: 88.08 kB / 0.7277 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/0.9505, allocations: 79.28 kB / 0.7278 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.449e-05/0.9506, allocations: 105.8 kB / 0.7279 GB, free: 8.762 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.9506, allocations: 0 / 0.7279 GB, free: 8.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001192/0.9507, allocations: 37.52 kB / 0.728 GB, free: 8.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/0.9508, allocations: 126.7 kB / 0.7281 GB, free: 8.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.9512, allocations: 239 kB / 0.7283 GB, free: 8.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.9512, allocations: 29.64 kB / 0.7283 GB, free: 8.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.9513, allocations: 104.1 kB / 0.7284 GB, free: 8.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-06/0.9513, allocations: 3.984 kB / 0.7284 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.9514, allocations: 41.69 kB / 0.7285 GB, free: 8.148 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002412/0.9517, allocations: 326.8 kB / 0.7288 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.9518, allocations: 55.91 kB / 0.7288 GB, free: 7.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.389e-05/0.9519, allocations: 59.95 kB / 0.7289 GB, free: 7.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.9521, allocations: 137.4 kB / 0.729 GB, free: 7.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.9521, allocations: 0 / 0.729 GB, free: 7.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004781/0.9526, allocations: 179 kB / 0.7292 GB, free: 7.391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.9526, allocations: 4 kB / 0.7292 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.9526, allocations: 8 kB / 0.7292 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.9527, allocations: 0 / 0.7292 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.9527, allocations: 0 / 0.7292 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.9527, allocations: 0 / 0.7292 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.9527, allocations: 19.69 kB / 0.7292 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.9528, allocations: 7.938 kB / 0.7292 GB, free: 7.352 MB / 0.545 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 0.0001901/0.953, allocations: 209.1 kB / 0.7294 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.9531, allocations: 120.7 kB / 0.7296 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.061e-05/0.9531, allocations: 117.5 kB / 0.7297 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.775e-05/0.9532, allocations: 180.2 kB / 0.7298 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001104/0.9534, allocations: 180.3 kB / 0.73 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.421e-05/0.9535, allocations: 184.2 kB / 0.7302 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.9538, allocations: 437.1 kB / 0.7306 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.335e-05/0.9539, allocations: 105 kB / 0.7307 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.954, allocations: 104.9 kB / 0.7308 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.9541, allocations: 180.3 kB / 0.731 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.9542, allocations: 180.2 kB / 0.7311 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001068/0.9543, allocations: 188.2 kB / 0.7313 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001124/0.9544, allocations: 176.3 kB / 0.7315 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.9547, allocations: 315.6 kB / 0.7318 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.9548, allocations: 193.8 kB / 0.732 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.955, allocations: 184.2 kB / 0.7322 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.9551, allocations: 105 kB / 0.7323 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.9552, allocations: 180.5 kB / 0.7324 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/0.9553, allocations: 109 kB / 0.7325 GB, free: 3.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001776/0.9555, allocations: 164.5 kB / 0.7327 GB, free: 3.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9555, allocations: 0 / 0.7327 GB, free: 3.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003045/0.9558, allocations: 16 kB / 0.7327 GB, free: 3.574 MB / 0.545 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 (0): * Single equations (assignments): 0 * 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.0002915/0.9561, allocations: 178.5 kB / 0.7329 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.9563, allocations: 83.92 kB / 0.733 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9564, allocations: 0 / 0.733 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.9564, allocations: 3.938 kB / 0.733 GB, free: 3.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.957, allocations: 0.5263 MB / 0.7335 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006573/0.9576, allocations: 323.9 kB / 0.7338 GB, free: 2.422 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.9581, allocations: 0.7082 MB / 0.7345 GB, free: 1.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.9581, allocations: 7.984 kB / 0.7345 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.9582, allocations: 11.44 kB / 0.7345 GB, free: 1.672 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.9582, allocations: 0 / 0.7345 GB, free: 1.672 MB / 0.545 GB Notification: Performance of Templates: time 0.00399/0.9622, allocations: 0.7187 MB / 0.7352 GB, free: 0.9531 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)