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.001312/0.001312, allocations: 106.4 kB / 16.27 MB, free: 5.977 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.001412/0.001413, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.458/1.458, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.99/1.99, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001445/0.001446, allocations: 75.02 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3075, allocations: 114.6 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002839/0.3104, allocations: 1.201 MB / 0.7852 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002836/0.3107, allocations: 55.81 kB / 0.7853 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.3108, allocations: 0 / 0.7853 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.3108, allocations: 0 / 0.7853 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.311, allocations: 11.92 kB / 0.7853 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.3112, allocations: 12 kB / 0.7853 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.451e-05/0.3113, allocations: 19.91 kB / 0.7853 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.957e-05/0.3113, allocations: 4 kB / 0.7853 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.239e-05/0.3114, allocations: 7.938 kB / 0.7853 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.3115, allocations: 12.73 kB / 0.7853 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.3115, allocations: 0 / 0.7853 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.3116, allocations: 11.98 kB / 0.7853 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.051e-05/0.3117, allocations: 48.44 kB / 0.7854 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.3117, allocations: 43.69 kB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.3119, allocations: 67.88 kB / 0.7855 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3119, allocations: 0 / 0.7855 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3119, allocations: 3.938 kB / 0.7855 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.371e-06/0.3119, allocations: 0 / 0.7855 GB, free: 2.344 MB / 0.6544 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.0004934/0.3124, allocations: 426.8 kB / 0.7859 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3124, allocations: 16.03 kB / 0.7859 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.3125, allocations: 92.03 kB / 0.786 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3127, allocations: 275.9 kB / 0.7863 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.3128, allocations: 154.7 kB / 0.7864 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.3129, allocations: 150.6 kB / 0.7865 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.605e-05/0.3129, allocations: 105 kB / 0.7866 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.313, allocations: 79.28 kB / 0.7867 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.313, allocations: 150.6 kB / 0.7869 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.3131, allocations: 150.6 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.3131, allocations: 158.5 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5833/0.8965, allocations: 493.8 kB / 0.7876 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.479e-05/0.8966, allocations: 172.5 kB / 0.7878 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.8967, allocations: 84.33 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.8967, allocations: 75.28 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.8967, allocations: 107.8 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 3.877e-06/0.8968, allocations: 1.344 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001348/0.8969, allocations: 37.58 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.8969, allocations: 127.3 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.8972, allocations: 222.8 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.8972, allocations: 31.45 kB / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.8973, allocations: 109.9 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.8973, allocations: 0 / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.8973, allocations: 39.53 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.8974, allocations: 334 kB / 0.7889 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.8975, allocations: 56.92 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.8976, allocations: 56.11 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.8978, allocations: 139 kB / 0.7892 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8978, allocations: 0 / 0.7892 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002972/0.8981, allocations: 177.5 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.8981, allocations: 5.547 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8981, allocations: 2.75 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.8982, allocations: 3.375 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.8982, allocations: 0 / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.8982, allocations: 0 / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.8982, allocations: 24.02 kB / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.8983, allocations: 5.406 kB / 0.7894 GB, free: 47.7 MB / 0.6544 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 9.065e-05/0.8984, allocations: 199.8 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.8984, allocations: 115 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.8984, allocations: 117.3 kB / 0.7898 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/0.8985, allocations: 188.8 kB / 0.79 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/0.8985, allocations: 181.6 kB / 0.7901 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.881e-05/0.8986, allocations: 183.2 kB / 0.7903 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.8988, allocations: 431.9 kB / 0.7907 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/0.8988, allocations: 111.2 kB / 0.7908 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.8988, allocations: 112.7 kB / 0.7909 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.695e-05/0.8989, allocations: 177.3 kB / 0.7911 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.8989, allocations: 183.3 kB / 0.7913 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-05/0.899, allocations: 185 kB / 0.7915 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.245e-05/0.899, allocations: 179.9 kB / 0.7916 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.342e-05/0.8991, allocations: 319.9 kB / 0.7919 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.8992, allocations: 195.8 kB / 0.7921 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.8992, allocations: 178.5 kB / 0.7923 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.8993, allocations: 106.5 kB / 0.7924 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.8994, allocations: 181.4 kB / 0.7926 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.8994, allocations: 107.8 kB / 0.7927 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001145/0.8995, allocations: 163.2 kB / 0.7928 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.693e-06/0.8995, allocations: 0 / 0.7928 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002789/0.8998, allocations: 19.72 kB / 0.7928 GB, free: 44.2 MB / 0.6544 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.0001635/0.9, allocations: 174.4 kB / 0.793 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.9002, allocations: 79.47 kB / 0.7931 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9002, allocations: 0 / 0.7931 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.9002, allocations: 1 kB / 0.7931 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.9005, allocations: 461.9 kB / 0.7935 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.901, allocations: 329.1 kB / 0.7938 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.9011, allocations: 0.7091 MB / 0.7945 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.9012, allocations: 10.06 kB / 0.7945 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of SimCode: time 1.743e-06/0.9012, allocations: 0 / 0.7945 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.002843/0.904, allocations: 1.133 MB / 0.7956 GB, free: 42.56 MB / 0.6544 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)