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: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 252 MB / 267 MB, free: 10.98 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.001041/0.001042, allocations: 183.3 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.0007585/0.0007584, allocations: 99.91 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 9.062 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001131/0.2019, allocations: 0.9426 MB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001846/0.2021, allocations: 61.03 kB / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.2021, allocations: 0 / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.2021, allocations: 0 / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.2023, allocations: 3.984 kB / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.2024, allocations: 7.938 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.2025, allocations: 27.95 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.2025, allocations: 0 / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/0.2026, allocations: 7.938 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.2027, allocations: 23.98 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2027, allocations: 0 / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.2027, allocations: 4 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.2028, allocations: 59.86 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.2028, allocations: 37.64 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.375e-05/0.2029, allocations: 44.19 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2029, allocations: 0 / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.203, allocations: 0 / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.203, allocations: 0 / 0.9015 GB, free: 62.97 MB / 0.6042 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.0003374/0.2033, allocations: 410.7 kB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.2034, allocations: 12.03 kB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.2034, allocations: 113.8 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.2035, allocations: 87.09 kB / 0.9021 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2036, allocations: 258.2 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.2036, allocations: 150.6 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.2037, allocations: 158.5 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.198e-05/0.2037, allocations: 105 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.2037, allocations: 75.28 kB / 0.9028 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.2038, allocations: 158.5 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.2038, allocations: 150.6 kB / 0.9031 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.2038, allocations: 158.5 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.2041, allocations: 0.4899 MB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.369e-05/0.2041, allocations: 173.1 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.2041, allocations: 80.14 kB / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.2041, allocations: 75.28 kB / 0.904 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2042, allocations: 109.8 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.2042, allocations: 7.938 kB / 0.9041 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.17e-05/0.2043, allocations: 37.52 kB / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.2043, allocations: 130.7 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.2045, allocations: 227 kB / 0.9045 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.2045, allocations: 25.7 kB / 0.9045 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.526e-05/0.2046, allocations: 108.2 kB / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.2046, allocations: 0 / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.2046, allocations: 0 / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.2046, allocations: 338.8 kB / 0.905 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.439e-05/0.2047, allocations: 52.16 kB / 0.905 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.2048, allocations: 59.7 kB / 0.9051 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.076e-05/0.2048, allocations: 64.72 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2048, allocations: 0 / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002537/0.2051, allocations: 167.9 kB / 0.9053 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2051, allocations: 8 kB / 0.9053 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2051, allocations: 7.984 kB / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2052, allocations: 0 / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.2052, allocations: 0 / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2052, allocations: 4.062 kB / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.037e-05/0.2053, allocations: 19.69 kB / 0.9053 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.2053, allocations: 7.984 kB / 0.9053 GB, free: 58.78 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.264e-05/0.2054, allocations: 205 kB / 0.9055 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.2054, allocations: 112.8 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.2055, allocations: 117.5 kB / 0.9058 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.2055, allocations: 184.2 kB / 0.9059 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.423e-05/0.2055, allocations: 184.2 kB / 0.9061 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/0.2056, allocations: 176.3 kB / 0.9063 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.2057, allocations: 437.2 kB / 0.9067 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/0.2057, allocations: 112.8 kB / 0.9068 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.2057, allocations: 101 kB / 0.9069 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-05/0.2058, allocations: 188.2 kB / 0.9071 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.2058, allocations: 180.3 kB / 0.9073 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.188e-05/0.2058, allocations: 180.2 kB / 0.9074 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-05/0.2059, allocations: 180.3 kB / 0.9076 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.829e-05/0.2059, allocations: 327.6 kB / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.206, allocations: 190 kB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.206, allocations: 184.5 kB / 0.9083 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.2061, allocations: 104.9 kB / 0.9084 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.2061, allocations: 180.3 kB / 0.9085 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2061, allocations: 113 kB / 0.9086 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.262e-05/0.2062, allocations: 164.6 kB / 0.9088 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2062, allocations: 0 / 0.9088 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002197/0.2065, allocations: 16 kB / 0.9088 GB, free: 55 MB / 0.6042 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.0002404/0.2067, allocations: 0.8281 MB / 0.9096 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.2068, allocations: 79.84 kB / 0.9097 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2068, allocations: 4 kB / 0.9097 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.2068, allocations: 0 / 0.9097 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.2071, allocations: 0.5224 MB / 0.9102 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.2081, allocations: 1.051 MB / 0.9112 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2082, allocations: 0.7121 MB / 0.9119 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.2082, allocations: 7.938 kB / 0.9119 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.2083, allocations: 31.42 kB / 0.912 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2083, allocations: 0 / 0.912 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0115/0.2198, allocations: 2.499 MB / 0.9144 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.2199, allocations: 213.7 kB / 0.9146 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/1.875, allocations: 0 / 0.9146 GB, free: 49.09 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)