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: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 196.3 kB / 16.64 MB, free: 6.449 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.661/1.661, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.98/1.98, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001489/0.001489, allocations: 68.34 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2916, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003108/0.2948, allocations: 1.221 MB / 0.7848 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.2952, allocations: 55.8 kB / 0.7849 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.2952, allocations: 0 / 0.7849 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.2953, allocations: 0 / 0.7849 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.2954, allocations: 11.94 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.2956, allocations: 7.984 kB / 0.7849 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.736e-05/0.2957, allocations: 19.86 kB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.2958, allocations: 0 / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.2958, allocations: 15.98 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.2959, allocations: 8.734 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.2959, allocations: 0 / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.296, allocations: 7.938 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.2961, allocations: 48.44 kB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.2961, allocations: 39.69 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.2963, allocations: 79.86 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2963, allocations: 0 / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2963, allocations: 0 / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2963, allocations: 8 kB / 0.7851 GB, free: 11.76 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.000472/0.2968, allocations: 426.8 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2968, allocations: 8.031 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.2969, allocations: 106 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/0.297, allocations: 91.97 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.2971, allocations: 267.3 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/0.2972, allocations: 158.5 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/0.2973, allocations: 154.6 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.944e-05/0.2974, allocations: 101 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.2974, allocations: 75.28 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/0.2975, allocations: 158.5 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/0.2975, allocations: 150.6 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.2976, allocations: 158.5 kB / 0.7869 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.2979, allocations: 0.4899 MB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.788e-05/0.298, allocations: 165.1 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.298, allocations: 80.14 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.2981, allocations: 83.28 kB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.2981, allocations: 105.8 kB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.2981, allocations: 0 / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.756e-05/0.2982, allocations: 41.53 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.2983, allocations: 134.6 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.2985, allocations: 219 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2985, allocations: 33.69 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.2986, allocations: 116 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.2986, allocations: 0 / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.2987, allocations: 37.7 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2988, allocations: 326.8 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.2989, allocations: 59.95 kB / 0.7887 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.299, allocations: 51.97 kB / 0.7888 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.2991, allocations: 140 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2992, allocations: 3.938 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003076/0.2995, allocations: 173.4 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2995, allocations: 8.062 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2995, allocations: 8 kB / 0.7891 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2995, allocations: 3.984 kB / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.2995, allocations: 0 / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2995, allocations: 3.938 kB / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.2996, allocations: 11.84 kB / 0.7891 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.2996, allocations: 7.984 kB / 0.7891 GB, free: 7.434 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.0001151/0.2997, allocations: 201 kB / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.2998, allocations: 124.7 kB / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.2999, allocations: 117.3 kB / 0.7895 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.368e-05/0.2999, allocations: 176.3 kB / 0.7897 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.738e-05/0.3, allocations: 184.2 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.926e-05/0.3001, allocations: 180.2 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.3004, allocations: 442.1 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.655e-05/0.3004, allocations: 105 kB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.3005, allocations: 109 kB / 0.7907 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.079e-05/0.3005, allocations: 184.2 kB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.3006, allocations: 176.3 kB / 0.791 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.076e-05/0.3007, allocations: 184.2 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.606e-05/0.3007, allocations: 180.3 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.3009, allocations: 323.8 kB / 0.7917 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.3009, allocations: 189.9 kB / 0.7918 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.301, allocations: 180.2 kB / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.3011, allocations: 105 kB / 0.7921 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.3012, allocations: 188.2 kB / 0.7923 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.3012, allocations: 112.9 kB / 0.7924 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001267/0.3014, allocations: 160.6 kB / 0.7926 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3014, allocations: 0 / 0.7926 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002603/0.3016, allocations: 16 kB / 0.7926 GB, free: 3.656 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.0004323/0.3021, allocations: 0.8242 MB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.3022, allocations: 79.89 kB / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3022, allocations: 0 / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.3022, allocations: 0 / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3026, allocations: 462.4 kB / 0.7939 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.3046, allocations: 2.132 MB / 0.796 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3049, allocations: 0.708 MB / 0.7967 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.3049, allocations: 7.984 kB / 0.7967 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.305, allocations: 31.42 kB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.305, allocations: 0 / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.324, allocations: 2.745 MB / 0.7994 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.375, allocations: 14.08 kB / 0.7994 GB, free: 12.63 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)