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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.302/1.302, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 188.3 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 0.5785 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008344/0.0008344, allocations: 96 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004064, allocations: 16.67 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2189, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.3793, allocations: 131.3 MB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.3797, allocations: 79.95 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002853/0.3826, allocations: 1.122 MB / 1.031 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3826, allocations: 0 / 1.031 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3826, allocations: 4 kB / 1.031 GB, free: 11.06 MB / 0.6823 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.0003938/0.383, allocations: 411 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3831, allocations: 12.03 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.3832, allocations: 89.17 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3833, allocations: 263.4 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/0.3834, allocations: 162.9 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.3835, allocations: 162.9 kB / 1.032 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.362e-05/0.3836, allocations: 105.5 kB / 1.032 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/0.3836, allocations: 83.22 kB / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.3837, allocations: 150.6 kB / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/0.3838, allocations: 150.6 kB / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/0.3838, allocations: 150.6 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.3842, allocations: 0.4978 MB / 1.033 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.175e-05/0.3843, allocations: 178.6 kB / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.3844, allocations: 80.14 kB / 1.033 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.3844, allocations: 75.28 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.3845, allocations: 109.8 kB / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3845, allocations: 0 / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001056/0.3846, allocations: 53.44 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.3846, allocations: 134.6 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.3849, allocations: 223.1 kB / 1.034 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3849, allocations: 29.7 kB / 1.034 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.385, allocations: 112 kB / 1.034 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.385, allocations: 0 / 1.034 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.385, allocations: 8 kB / 1.034 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3852, allocations: 322.8 kB / 1.034 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.3852, allocations: 47.95 kB / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.3854, allocations: 177.9 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.3857, allocations: 209.7 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3857, allocations: 4 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004071/0.3861, allocations: 237.6 kB / 1.035 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3861, allocations: 11.94 kB / 1.035 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.3862, allocations: 8.031 kB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3862, allocations: 8 kB / 1.035 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.3863, allocations: 43.91 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.3864, allocations: 7.938 kB / 1.035 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.951e-05/0.3865, allocations: 23.75 kB / 1.035 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3865, allocations: 15.98 kB / 1.035 GB, free: 6.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.0001445/0.3866, allocations: 216.9 kB / 1.035 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.3867, allocations: 112.9 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.3868, allocations: 117.5 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-05/0.3869, allocations: 180.2 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.567e-05/0.3869, allocations: 180.3 kB / 1.036 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.417e-05/0.387, allocations: 184.2 kB / 1.036 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.3873, allocations: 437.1 kB / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-05/0.3874, allocations: 112.9 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.3874, allocations: 101 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.592e-05/0.3875, allocations: 180.2 kB / 1.037 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.065e-05/0.3876, allocations: 184.2 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001096/0.3877, allocations: 180.3 kB / 1.037 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.157e-05/0.3878, allocations: 184.2 kB / 1.037 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.3879, allocations: 323.6 kB / 1.037 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.388, allocations: 197.8 kB / 1.038 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.612e-05/0.3881, allocations: 176.3 kB / 1.038 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3882, allocations: 108.9 kB / 1.038 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.3883, allocations: 180.3 kB / 1.038 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.3884, allocations: 109 kB / 1.038 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001354/0.3885, allocations: 152.6 kB / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3885, allocations: 0 / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000369/0.3889, allocations: 28 kB / 1.038 GB, free: 2.645 MB / 0.6823 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 (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.0001745/0.3891, allocations: 182.5 kB / 1.038 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.3893, allocations: 99.69 kB / 1.039 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3893, allocations: 0 / 1.039 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.3893, allocations: 0 / 1.039 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3897, allocations: 0.5262 MB / 1.039 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.3902, allocations: 317.3 kB / 1.039 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.3905, allocations: 0.7082 MB / 1.04 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.3905, allocations: 19.83 kB / 1.04 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.3906, allocations: 11.44 kB / 1.04 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3906, allocations: 0 / 1.04 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of Templates: time 0.002999/0.3936, allocations: 0.8158 MB / 1.041 GB, free: 15.91 MB / 0.698 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)