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.447/1.447, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001232/0.001231, allocations: 176.3 kB / 326.5 MB, free: 2.27 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.055/2.055, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.000958/0.0009579, allocations: 96.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003618, allocations: 9.406 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.242, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.4163, allocations: 131.3 MB / 1.028 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.4166, allocations: 75.94 kB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003018/0.4197, allocations: 1.111 MB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.881e-06/0.4197, allocations: 0 / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.4197, allocations: 7.938 kB / 1.03 GB, free: 11.23 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.000408/0.4201, allocations: 422.8 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4202, allocations: 8.031 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.4203, allocations: 105.8 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.211e-05/0.4203, allocations: 91.19 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.4205, allocations: 258.1 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.4206, allocations: 158.5 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.4207, allocations: 158.6 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.046e-05/0.4208, allocations: 105 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.4208, allocations: 79.28 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.4209, allocations: 150.6 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/0.421, allocations: 154.6 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.229e-05/0.421, allocations: 150.6 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.4214, allocations: 0.5094 MB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.14e-05/0.4215, allocations: 169.8 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.4216, allocations: 79.28 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/0.4217, allocations: 105.8 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 3.437e-06/0.4217, allocations: 4 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.000105/0.4218, allocations: 45.45 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.4219, allocations: 128.3 kB / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.4221, allocations: 206.1 kB / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4221, allocations: 29.7 kB / 1.032 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.4222, allocations: 116 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.4222, allocations: 0 / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.4223, allocations: 4 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4224, allocations: 330.8 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.4225, allocations: 44.33 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.4227, allocations: 178.6 kB / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.4228, allocations: 67.89 kB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4228, allocations: 3.953 kB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003899/0.4232, allocations: 237 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4232, allocations: 12.59 kB / 1.033 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4233, allocations: 4 kB / 1.033 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4233, allocations: 11.94 kB / 1.033 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.4235, allocations: 51.89 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4235, allocations: 4 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.765e-05/0.4236, allocations: 27.75 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.4236, allocations: 12 kB / 1.034 GB, free: 6.789 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.0001489/0.4238, allocations: 217 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.4239, allocations: 124.7 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.4239, allocations: 117.5 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.776e-05/0.424, allocations: 176.3 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.597e-05/0.4241, allocations: 184.2 kB / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-05/0.4241, allocations: 184.3 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.4244, allocations: 437.1 kB / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-05/0.4245, allocations: 109 kB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.4245, allocations: 104.9 kB / 1.035 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-05/0.4246, allocations: 180.2 kB / 1.035 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-05/0.4247, allocations: 176.3 kB / 1.035 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.947e-05/0.4248, allocations: 188.2 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-05/0.4248, allocations: 180.3 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.425, allocations: 311.7 kB / 1.036 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/0.4251, allocations: 189.9 kB / 1.036 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.4252, allocations: 192.2 kB / 1.036 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/0.4253, allocations: 101.8 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.4253, allocations: 184.2 kB / 1.037 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.4254, allocations: 105 kB / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001341/0.4255, allocations: 156.6 kB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4255, allocations: 0 / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003326/0.4259, allocations: 28 kB / 1.037 GB, free: 3 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.000462/0.4263, allocations: 0.8281 MB / 1.038 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.4266, allocations: 87.75 kB / 1.038 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4266, allocations: 1.312 kB / 1.038 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.4266, allocations: 4 kB / 1.038 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.4269, allocations: 0.5263 MB / 1.038 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.4291, allocations: 3.648 MB / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.4295, allocations: 0.716 MB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.4295, allocations: 23.83 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.4296, allocations: 31.42 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of SimCode: time 5.22e-06/0.4296, allocations: 3.938 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.4429, allocations: 2.294 MB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.4432, allocations: 198.8 kB / 1.045 GB, free: 10.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.139, allocations: 8.062 kB / 1.045 GB, free: 10.56 MB / 0.698 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)