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.481/1.481, allocations: 249.5 MB / 257 MB, free: 6.902 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.001367/0.001367, allocations: 191.6 kB / 316.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009043/0.0009041, allocations: 89.23 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.462e-05/1.465e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2553, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8445/1.1, allocations: 131.5 MB / 1.014 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/1.1, allocations: 76.56 kB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00264/1.103, allocations: 1.111 MB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/1.103, allocations: 0 / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.103, allocations: 4 kB / 1.015 GB, free: 4.824 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.0004362/1.103, allocations: 374.7 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/1.103, allocations: 8.031 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.574e-05/1.103, allocations: 91.09 kB / 1.015 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/1.104, allocations: 281.2 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-05/1.104, allocations: 154.6 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/1.104, allocations: 158.6 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000108/1.104, allocations: 150.6 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.39e-05/1.104, allocations: 101 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/1.104, allocations: 75.28 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/1.104, allocations: 157.1 kB / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.261e-05/1.104, allocations: 150.6 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/1.105, allocations: 486.4 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/1.105, allocations: 174.7 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/1.105, allocations: 80.14 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/1.105, allocations: 79.28 kB / 1.017 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.822e-05/1.105, allocations: 109.8 kB / 1.017 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.105, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001186/1.105, allocations: 37.61 kB / 1.017 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.105, allocations: 58.08 kB / 1.017 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/1.106, allocations: 190.6 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/1.106, allocations: 25.7 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.106, allocations: 115.9 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-06/1.106, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/1.106, allocations: 4 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001998/1.106, allocations: 325.1 kB / 1.018 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/1.106, allocations: 39.39 kB / 1.018 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/1.106, allocations: 167.6 kB / 1.018 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/1.107, allocations: 115.8 kB / 1.018 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.107, allocations: 0 / 1.018 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000764/1.108, allocations: 262.5 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.108, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.108, allocations: 8 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.108, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/1.108, allocations: 51.34 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.108, allocations: 7.938 kB / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/1.108, allocations: 23.69 kB / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/1.108, allocations: 20.27 kB / 1.019 GB, free: 0.6602 MB / 0.6355 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.0001613/1.108, allocations: 187.4 kB / 1.019 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001016/1.108, allocations: 142.5 kB / 1.019 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/1.109, allocations: 116.7 kB / 1.019 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.831e-05/1.109, allocations: 121.5 kB / 1.019 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/1.109, allocations: 176.3 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001037/1.109, allocations: 188.5 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.333e-05/1.109, allocations: 184.2 kB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/1.109, allocations: 415.1 kB / 1.02 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/1.109, allocations: 108.9 kB / 1.02 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/1.109, allocations: 104.9 kB / 1.02 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.417e-05/1.109, allocations: 180.2 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/1.11, allocations: 188.2 kB / 1.021 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.505e-05/1.11, allocations: 180.3 kB / 1.021 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-05/1.11, allocations: 176.3 kB / 1.021 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/1.11, allocations: 311 kB / 1.021 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.11, allocations: 194 kB / 1.022 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.11, allocations: 188.2 kB / 1.022 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/1.11, allocations: 101 kB / 1.022 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/1.11, allocations: 177.2 kB / 1.022 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/1.11, allocations: 108.4 kB / 1.022 GB, free: 13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001207/1.111, allocations: 146 kB / 1.022 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.111, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003149/1.111, allocations: 39.92 kB / 1.022 GB, free: 12.84 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.0005241/1.111, allocations: 0.8198 MB / 1.023 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000269/1.112, allocations: 83.95 kB / 1.023 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.112, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/1.112, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/1.112, allocations: 0.5259 MB / 1.024 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/1.113, allocations: 273.8 kB / 1.024 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/1.113, allocations: 0.7133 MB / 1.025 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.372e-05/1.113, allocations: 16.62 kB / 1.025 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/1.113, allocations: 35.05 kB / 1.025 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of SimCode: time 2.014e-06/1.113, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/1.132, allocations: 1.922 MB / 1.027 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.132, allocations: 180.8 kB / 1.027 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.698, allocations: 0 / 1.027 GB, free: 8.191 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)