Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001196/0.001197, allocations: 194.5 kB / 16.14 MB, free: 6.66 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.531/1.531, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.89/1.89, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.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.001486/0.001486, allocations: 72.45 kB / 0.6708 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3883, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003035/0.3915, allocations: 1.284 MB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004017/0.3919, allocations: 47.83 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.3919, allocations: 0 / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.582e-05/0.392, allocations: 4 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.3923, allocations: 19.97 kB / 0.784 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.3925, allocations: 7.938 kB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.96e-05/0.3926, allocations: 27.97 kB / 0.784 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.216e-05/0.3926, allocations: 4 kB / 0.784 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.3927, allocations: 11.92 kB / 0.784 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/0.3928, allocations: 17.42 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3928, allocations: 0 / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.3929, allocations: 8 kB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.393, allocations: 48.44 kB / 0.7841 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.3931, allocations: 39.69 kB / 0.7841 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.3932, allocations: 79.88 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3932, allocations: 0 / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3933, allocations: 0 / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3933, allocations: 0 / 0.7842 GB, free: 12.39 MB / 0.6075 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.0005886/0.3939, allocations: 418.8 kB / 0.7846 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.3939, allocations: 8.031 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.394, allocations: 88.03 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3943, allocations: 278.7 kB / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.3944, allocations: 158.6 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.3945, allocations: 150.6 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.05e-05/0.3945, allocations: 108.9 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.3946, allocations: 79.22 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.3947, allocations: 150.6 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.3947, allocations: 154.6 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.3948, allocations: 150.6 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3952, allocations: 0.4977 MB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.278e-05/0.3953, allocations: 165.1 kB / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.3954, allocations: 92.08 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.3954, allocations: 79.28 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.3955, allocations: 105.8 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.3955, allocations: 0 / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001003/0.3956, allocations: 33.61 kB / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.3957, allocations: 126.7 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.396, allocations: 227.1 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.396, allocations: 25.7 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3961, allocations: 108 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/0.3962, allocations: 0 / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.3962, allocations: 41.69 kB / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3964, allocations: 330.8 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-05/0.3965, allocations: 59.89 kB / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.884e-05/0.3966, allocations: 51.97 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3968, allocations: 139.6 kB / 0.7879 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3968, allocations: 4.031 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003975/0.3972, allocations: 173.4 kB / 0.7881 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3973, allocations: 7.938 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.3973, allocations: 4 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3973, allocations: 4 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-06/0.3973, allocations: 3.984 kB / 0.7881 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3973, allocations: 0 / 0.7881 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/0.3974, allocations: 15.78 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.3974, allocations: 7.938 kB / 0.7881 GB, free: 8.184 MB / 0.6075 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.000167/0.3976, allocations: 213.1 kB / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.3977, allocations: 112.8 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.71e-05/0.3977, allocations: 113.5 kB / 0.7885 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.782e-05/0.3978, allocations: 180.2 kB / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.734e-05/0.3979, allocations: 184.3 kB / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.608e-05/0.398, allocations: 185.3 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.3984, allocations: 437.1 kB / 0.7895 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-05/0.3984, allocations: 105 kB / 0.7896 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.3985, allocations: 104.9 kB / 0.7897 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.3986, allocations: 176.3 kB / 0.7898 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.3988, allocations: 188.2 kB / 0.79 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.712e-05/0.3989, allocations: 188.2 kB / 0.7902 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.825e-05/0.399, allocations: 180.3 kB / 0.7904 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.3991, allocations: 319.8 kB / 0.7907 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3992, allocations: 193.9 kB / 0.7909 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.3993, allocations: 184.3 kB / 0.791 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.3994, allocations: 101 kB / 0.7911 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.3995, allocations: 180.2 kB / 0.7913 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.3995, allocations: 105 kB / 0.7914 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001262/0.3997, allocations: 168.5 kB / 0.7916 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3997, allocations: 0 / 0.7916 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002903/0.4, allocations: 16 kB / 0.7916 GB, free: 4.41 MB / 0.6075 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.0002645/0.4003, allocations: 186.5 kB / 0.7917 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.4005, allocations: 79.91 kB / 0.7918 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4005, allocations: 0 / 0.7918 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.4005, allocations: 0 / 0.7918 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.401, allocations: 0.5185 MB / 0.7923 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.4016, allocations: 327.9 kB / 0.7926 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.4022, allocations: 0.7082 MB / 0.7933 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.4022, allocations: 7.984 kB / 0.7933 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.4023, allocations: 11.44 kB / 0.7934 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of SimCode: time 8.41e-07/0.4023, allocations: 0 / 0.7934 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of Templates: time 0.004054/0.4063, allocations: 0.7188 MB / 0.7941 GB, free: 1.789 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)