Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.595/2.595, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 176.9 kB / 360.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001138, allocations: 97.47 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.626e-05/2.622e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.855/0.8551, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/1.098, allocations: 136.7 MB / 1.097 GB, free: 3.797 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/1.099, allocations: 71.95 kB / 1.097 GB, free: 3.727 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004322/1.103, allocations: 1.118 MB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/1.103, allocations: 0.5312 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.103, allocations: 0.5625 kB / 1.098 GB, free: 2.641 MB / 0.698 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.0004437/1.104, allocations: 383.1 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/1.104, allocations: 12.69 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.375e-05/1.104, allocations: 92.94 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/1.104, allocations: 266.1 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/1.104, allocations: 151.3 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/1.104, allocations: 155.4 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.056e-05/1.104, allocations: 151.7 kB / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.322e-05/1.104, allocations: 105.7 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/1.104, allocations: 78.72 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/1.105, allocations: 151.6 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.441e-05/1.105, allocations: 151.3 kB / 1.1 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/1.105, allocations: 490.6 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.076e-05/1.105, allocations: 175.8 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/1.105, allocations: 81.02 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/1.105, allocations: 78.75 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.236e-05/1.105, allocations: 109.8 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/1.105, allocations: 0 / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001084/1.105, allocations: 41.45 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/1.106, allocations: 55.41 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/1.106, allocations: 194 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/1.106, allocations: 27.05 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/1.106, allocations: 108.1 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.106, allocations: 0 / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/1.106, allocations: 1.375 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.106, allocations: 330.8 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/1.106, allocations: 44.34 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/1.107, allocations: 163.1 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/1.107, allocations: 111.8 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.107, allocations: 4 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001204/1.109, allocations: 256.9 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/1.109, allocations: 14.17 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.109, allocations: 4.656 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/1.109, allocations: 8 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/1.109, allocations: 43.92 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/1.109, allocations: 15.88 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/1.109, allocations: 23.67 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/1.109, allocations: 16 kB / 1.102 GB, free: 14.38 MB / 0.7136 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 () * 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.0001266/1.109, allocations: 188 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001057/1.109, allocations: 147.8 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/1.11, allocations: 116 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/1.11, allocations: 122.2 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.286e-05/1.11, allocations: 176.3 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.426e-05/1.11, allocations: 180.5 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.309e-05/1.11, allocations: 184.2 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/1.11, allocations: 413.8 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.869e-05/1.11, allocations: 108.9 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/1.11, allocations: 104.9 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.533e-05/1.11, allocations: 180.3 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-05/1.111, allocations: 184.2 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-05/1.111, allocations: 182.3 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.477e-05/1.111, allocations: 177.9 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/1.111, allocations: 319.6 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.111, allocations: 189.9 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/1.111, allocations: 184.2 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/1.111, allocations: 105 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/1.111, allocations: 184.3 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/1.111, allocations: 109.8 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001981/1.112, allocations: 152.6 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.112, allocations: 0 / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004632/1.112, allocations: 27.94 kB / 1.105 GB, free: 10.52 MB / 0.7136 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 () * 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.0005324/1.113, allocations: 0.8204 MB / 1.106 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002607/1.113, allocations: 79.77 kB / 1.106 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.113, allocations: 0 / 1.106 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/1.113, allocations: 1.312 kB / 1.106 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/1.113, allocations: 0.528 MB / 1.107 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007139/1.114, allocations: 279.6 kB / 1.107 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/1.114, allocations: 0.7126 MB / 1.108 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.38e-05/1.115, allocations: 15.47 kB / 1.108 GB, free: 8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/1.115, allocations: 35.42 kB / 1.108 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of SimCode: time 1.282e-06/1.115, allocations: 4 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03967/1.154, allocations: 1.914 MB / 1.11 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003284/1.155, allocations: 155.1 kB / 1.11 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.501, allocations: 0 / 1.11 GB, free: 5.918 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)