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.678/2.678, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001539/0.001539, allocations: 183.2 kB / 370.8 MB, free: 10.86 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.081/2.081, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001145, allocations: 94.44 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005078, allocations: 12.64 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2176, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9068/1.124, allocations: 137.4 MB / 1.112 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.125, allocations: 76.17 kB / 1.113 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004456/1.129, allocations: 1.115 MB / 1.114 GB, free: 31.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.129, allocations: 0 / 1.114 GB, free: 31.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.129, allocations: 3.875 kB / 1.114 GB, free: 31.46 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.0004931/1.13, allocations: 409.3 kB / 1.114 GB, free: 31.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.13, allocations: 11.83 kB / 1.114 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/1.13, allocations: 107.2 kB / 1.114 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/1.13, allocations: 94.78 kB / 1.114 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/1.13, allocations: 263.8 kB / 1.114 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.653e-05/1.13, allocations: 157.5 kB / 1.115 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/1.13, allocations: 161.6 kB / 1.115 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.07e-05/1.131, allocations: 101 kB / 1.115 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/1.131, allocations: 79.28 kB / 1.115 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.991e-05/1.131, allocations: 150.6 kB / 1.115 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/1.131, allocations: 151.9 kB / 1.115 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.069e-05/1.131, allocations: 154.4 kB / 1.115 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/1.131, allocations: 0.5103 MB / 1.116 GB, free: 29.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/1.131, allocations: 171.8 kB / 1.116 GB, free: 28.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/1.132, allocations: 79.27 kB / 1.116 GB, free: 28.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/1.132, allocations: 108.3 kB / 1.116 GB, free: 28.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.464e-06/1.132, allocations: 0 / 1.116 GB, free: 28.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001136/1.132, allocations: 42.72 kB / 1.116 GB, free: 28.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/1.132, allocations: 126.7 kB / 1.116 GB, free: 28.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/1.132, allocations: 211.5 kB / 1.117 GB, free: 28.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.132, allocations: 29.08 kB / 1.117 GB, free: 28.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/1.132, allocations: 115.8 kB / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/1.132, allocations: 2.188 kB / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/1.132, allocations: 6.844 kB / 1.117 GB, free: 28.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.132, allocations: 326.1 kB / 1.117 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/1.133, allocations: 42.75 kB / 1.117 GB, free: 28.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/1.133, allocations: 176.6 kB / 1.117 GB, free: 27.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/1.133, allocations: 71.84 kB / 1.117 GB, free: 27.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.133, allocations: 7.766 kB / 1.117 GB, free: 27.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006179/1.134, allocations: 236 kB / 1.118 GB, free: 27.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.134, allocations: 7.656 kB / 1.118 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.134, allocations: 3.656 kB / 1.118 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/1.134, allocations: 7.75 kB / 1.118 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/1.134, allocations: 42.19 kB / 1.118 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/1.134, allocations: 9.234 kB / 1.118 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/1.134, allocations: 22.28 kB / 1.118 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/1.134, allocations: 15.09 kB / 1.118 GB, free: 27.8 MB / 0.698 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.0002117/1.134, allocations: 215.3 kB / 1.118 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/1.135, allocations: 120.6 kB / 1.118 GB, free: 27.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/1.135, allocations: 116.2 kB / 1.118 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-05/1.135, allocations: 176.3 kB / 1.118 GB, free: 27.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.428e-05/1.135, allocations: 191 kB / 1.118 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-05/1.135, allocations: 180 kB / 1.119 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/1.135, allocations: 444.4 kB / 1.119 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.984e-05/1.135, allocations: 101 kB / 1.119 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/1.135, allocations: 110.1 kB / 1.119 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-05/1.136, allocations: 180.3 kB / 1.119 GB, free: 25.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.999e-05/1.136, allocations: 184.4 kB / 1.12 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.877e-05/1.136, allocations: 181.7 kB / 1.12 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-05/1.136, allocations: 176.3 kB / 1.12 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/1.136, allocations: 322.2 kB / 1.12 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/1.136, allocations: 185.9 kB / 1.12 GB, free: 24.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.136, allocations: 188.3 kB / 1.121 GB, free: 24.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/1.136, allocations: 106.2 kB / 1.121 GB, free: 24.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/1.137, allocations: 184.1 kB / 1.121 GB, free: 24.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/1.137, allocations: 102.1 kB / 1.121 GB, free: 24.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002218/1.137, allocations: 160.3 kB / 1.121 GB, free: 24.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.137, allocations: 0 / 1.121 GB, free: 24.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004338/1.137, allocations: 25.81 kB / 1.121 GB, free: 24.23 MB / 0.698 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.0005612/1.138, allocations: 0.8235 MB / 1.122 GB, free: 23.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003078/1.138, allocations: 97.81 kB / 1.122 GB, free: 23.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.138, allocations: 0 / 1.122 GB, free: 23.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-06/1.138, allocations: 1.453 kB / 1.122 GB, free: 23.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/1.139, allocations: 0.5384 MB / 1.123 GB, free: 22.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/1.141, allocations: 3.635 MB / 1.126 GB, free: 19.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/1.141, allocations: 0.7119 MB / 1.127 GB, free: 18.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.603e-05/1.141, allocations: 15.47 kB / 1.127 GB, free: 18.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/1.141, allocations: 40.38 kB / 1.127 GB, free: 18.55 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/1.142, allocations: 0 / 1.127 GB, free: 18.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/1.163, allocations: 2.3 MB / 1.129 GB, free: 18.31 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/1.164, allocations: 191.7 kB / 1.129 GB, free: 18.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.545, allocations: 0 / 1.129 GB, free: 18.07 MB / 0.698 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)