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.0009639/0.0009641, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007908/0.007908, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.982/1.982, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.779/1.779, allocations: 252 MB / 0.5105 GB, free: 4.598 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.0008543/0.0008546, allocations: 12 kB / 0.6249 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7627, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001729/0.7645, allocations: 0.9449 MB / 0.7296 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000329/0.7648, allocations: 63.77 kB / 0.7297 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.7649, allocations: 0 / 0.7297 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.7649, allocations: 0 / 0.7297 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.7651, allocations: 18.77 kB / 0.7297 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.7653, allocations: 0 / 0.7297 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.61e-05/0.7654, allocations: 35.91 kB / 0.7297 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.7655, allocations: 0 / 0.7297 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.7655, allocations: 7.984 kB / 0.7298 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.103e-05/0.7656, allocations: 17.48 kB / 0.7298 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.7656, allocations: 4 kB / 0.7298 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.472e-05/0.7657, allocations: 8 kB / 0.7298 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.7658, allocations: 48.38 kB / 0.7298 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.7659, allocations: 65.45 kB / 0.7299 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.7661, allocations: 73.61 kB / 0.73 GB, free: 9.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7661, allocations: 0 / 0.73 GB, free: 9.938 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7661, allocations: 0 / 0.73 GB, free: 9.938 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.7661, allocations: 0 / 0.73 GB, free: 9.938 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.000464/0.7666, allocations: 418.8 kB / 0.7304 GB, free: 9.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.7666, allocations: 12.03 kB / 0.7304 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.299e-05/0.7667, allocations: 84.12 kB / 0.7305 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.7669, allocations: 266.7 kB / 0.7307 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.767, allocations: 154.5 kB / 0.7309 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.767, allocations: 150.6 kB / 0.731 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.084e-05/0.7671, allocations: 105 kB / 0.7311 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.7671, allocations: 83.27 kB / 0.7312 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.7672, allocations: 150.6 kB / 0.7313 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.7672, allocations: 150.6 kB / 0.7315 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/0.7673, allocations: 158.5 kB / 0.7316 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.7676, allocations: 0.4937 MB / 0.7321 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.016e-05/0.7677, allocations: 173.1 kB / 0.7323 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.7677, allocations: 84.14 kB / 0.7323 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.7678, allocations: 75.28 kB / 0.7324 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.7678, allocations: 105.8 kB / 0.7325 GB, free: 7.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.7678, allocations: 0 / 0.7325 GB, free: 7.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.516e-05/0.7679, allocations: 49.44 kB / 0.7326 GB, free: 7.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.768, allocations: 126.7 kB / 0.7327 GB, free: 6.953 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.7682, allocations: 235 kB / 0.7329 GB, free: 6.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.7683, allocations: 25.7 kB / 0.7329 GB, free: 6.684 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.7683, allocations: 100.1 kB / 0.733 GB, free: 6.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.7684, allocations: 0 / 0.733 GB, free: 6.582 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.7684, allocations: 33.7 kB / 0.7331 GB, free: 6.543 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.7685, allocations: 326.8 kB / 0.7334 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.7686, allocations: 55.97 kB / 0.7334 GB, free: 6.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/0.7687, allocations: 58.77 kB / 0.7335 GB, free: 6.105 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.7688, allocations: 132.8 kB / 0.7336 GB, free: 5.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7688, allocations: 3.984 kB / 0.7336 GB, free: 5.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003157/0.7692, allocations: 179.7 kB / 0.7338 GB, free: 5.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.7692, allocations: 5.719 kB / 0.7338 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7692, allocations: 4 kB / 0.7338 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.7692, allocations: 0 / 0.7338 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.7692, allocations: 0 / 0.7338 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7692, allocations: 0 / 0.7338 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.7693, allocations: 23.75 kB / 0.7338 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.7693, allocations: 7.938 kB / 0.7338 GB, free: 5.75 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.0001308/0.7695, allocations: 205.1 kB / 0.734 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.7695, allocations: 112.8 kB / 0.7341 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.7696, allocations: 121.5 kB / 0.7342 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.121e-05/0.7697, allocations: 176.3 kB / 0.7344 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.415e-05/0.7697, allocations: 192.2 kB / 0.7346 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-05/0.7698, allocations: 176.3 kB / 0.7348 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.7701, allocations: 437.1 kB / 0.7352 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.777e-05/0.7701, allocations: 108.9 kB / 0.7353 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.7702, allocations: 101 kB / 0.7354 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.705e-05/0.7703, allocations: 184.2 kB / 0.7356 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.058e-05/0.7704, allocations: 180.2 kB / 0.7357 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.677e-05/0.7705, allocations: 188.2 kB / 0.7359 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-05/0.7706, allocations: 180.2 kB / 0.7361 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.7708, allocations: 315.6 kB / 0.7364 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.7709, allocations: 201.9 kB / 0.7366 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.53e-05/0.7709, allocations: 180.2 kB / 0.7367 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.771, allocations: 104.9 kB / 0.7368 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.7711, allocations: 180.6 kB / 0.737 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.7712, allocations: 108.9 kB / 0.7371 GB, free: 2.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001361/0.7713, allocations: 164.5 kB / 0.7373 GB, free: 1.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7713, allocations: 4 kB / 0.7373 GB, free: 1.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002418/0.7716, allocations: 16 kB / 0.7373 GB, free: 1.965 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.0001911/0.7718, allocations: 181.3 kB / 0.7375 GB, free: 1.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.7719, allocations: 83.98 kB / 0.7375 GB, free: 1.695 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.7719, allocations: 0 / 0.7375 GB, free: 1.695 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.772, allocations: 0 / 0.7375 GB, free: 1.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.7725, allocations: 0.5302 MB / 0.7381 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.773, allocations: 317.4 kB / 0.7384 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.7734, allocations: 0.7121 MB / 0.7391 GB, free: 84 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.7734, allocations: 7.984 kB / 0.7391 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.7734, allocations: 11.44 kB / 0.7391 GB, free: 68 kB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.7734, allocations: 0 / 0.7391 GB, free: 68 kB / 0.545 GB Notification: Performance of Templates: time 0.003189/0.7766, allocations: 0.6992 MB / 0.7398 GB, free: 15.36 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: