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.465/1.465, allocations: 249.3 MB / 261.8 MB, free: 5.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 172.8 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.1 MB / 0.572 GB, free: 10.69 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.000897/0.000897, allocations: 82.52 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.692e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2524, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8896/1.142, allocations: 131.2 MB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.142, allocations: 76.5 kB / 1.02 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00317/1.146, allocations: 1.123 MB / 1.021 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.306e-06/1.146, allocations: 4 kB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.34e-05/1.146, allocations: 7.938 kB / 1.021 GB, free: 2.461 MB / 0.6355 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.0004182/1.146, allocations: 379.3 kB / 1.022 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/1.146, allocations: 8.031 kB / 1.022 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.494e-05/1.146, allocations: 109.3 kB / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.629e-05/1.146, allocations: 91.09 kB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/1.147, allocations: 266 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.982e-05/1.147, allocations: 162.1 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/1.147, allocations: 162.1 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.148e-05/1.147, allocations: 101 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/1.147, allocations: 80.09 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/1.147, allocations: 150.6 kB / 1.023 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.636e-05/1.147, allocations: 150.6 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/1.147, allocations: 158.5 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/1.148, allocations: 0.4993 MB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/1.148, allocations: 165.1 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/1.148, allocations: 87.95 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/1.148, allocations: 79.28 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/1.148, allocations: 105.8 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.996e-06/1.148, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 0.0001066/1.148, allocations: 40.34 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/1.148, allocations: 126.7 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/1.148, allocations: 206.6 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/1.148, allocations: 37.45 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/1.149, allocations: 111.8 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/1.149, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/1.149, allocations: 3.938 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.149, allocations: 322.6 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/1.149, allocations: 47.53 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/1.149, allocations: 174.8 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/1.149, allocations: 75.52 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.149, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003804/1.15, allocations: 234.7 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.15, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.15, allocations: 8 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/1.15, allocations: 8.656 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/1.15, allocations: 51.72 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.15, allocations: 11.94 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.74e-05/1.15, allocations: 27.69 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/1.15, allocations: 15.25 kB / 1.025 GB, free: 14.12 MB / 0.6511 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.0001114/1.15, allocations: 191.9 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/1.15, allocations: 112.9 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.404e-05/1.15, allocations: 117.4 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.86e-05/1.15, allocations: 184.2 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.639e-05/1.15, allocations: 176.3 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.708e-05/1.151, allocations: 192.1 kB / 1.026 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/1.151, allocations: 434.3 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-05/1.151, allocations: 112.9 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/1.151, allocations: 105 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.938e-05/1.151, allocations: 184.2 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.561e-05/1.151, allocations: 176.3 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.103e-05/1.151, allocations: 183.8 kB / 1.027 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-05/1.151, allocations: 180.2 kB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/1.151, allocations: 323.4 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.152, allocations: 189.9 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/1.152, allocations: 184.3 kB / 1.028 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/1.152, allocations: 104.9 kB / 1.028 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/1.152, allocations: 184.2 kB / 1.028 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/1.152, allocations: 109.9 kB / 1.029 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001217/1.152, allocations: 159.4 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.152, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003289/1.152, allocations: 31.94 kB / 1.029 GB, free: 10.39 MB / 0.6511 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.0005389/1.153, allocations: 0.8155 MB / 1.03 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000182/1.153, allocations: 94.77 kB / 1.03 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.153, allocations: 0 / 1.03 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/1.153, allocations: 3.938 kB / 1.03 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/1.153, allocations: 0.5234 MB / 1.03 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/1.154, allocations: 274.3 kB / 1.03 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/1.154, allocations: 0.713 MB / 1.031 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.532e-05/1.154, allocations: 27.61 kB / 1.031 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/1.154, allocations: 32.86 kB / 1.031 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.154, allocations: 7.938 kB / 1.031 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/1.172, allocations: 2.307 MB / 1.033 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/1.172, allocations: 178.9 kB / 1.034 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.885, allocations: 0 / 1.034 GB, free: 5.445 MB / 0.6511 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)