Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002303/0.002303, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 69.05 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3343, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003374/0.3378, allocations: 1.216 MB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000343/0.3381, allocations: 47.83 kB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.3382, allocations: 7.938 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.188e-05/0.3383, allocations: 3.938 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.3385, allocations: 7.969 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.3387, allocations: 12 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3388, allocations: 19.91 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.479e-05/0.3389, allocations: 4 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.339, allocations: 7.938 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3391, allocations: 12.73 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3391, allocations: 0 / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3392, allocations: 4 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.3394, allocations: 52.38 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.272e-05/0.3394, allocations: 43.67 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.3396, allocations: 79.88 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3396, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.466e-06/0.3396, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.3397, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.6075 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.0006617/0.3403, allocations: 426.8 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/0.3404, allocations: 8.031 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.139e-05/0.3405, allocations: 106 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.3406, allocations: 88.03 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.3409, allocations: 279.3 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.483e-05/0.341, allocations: 154.5 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.3411, allocations: 150.6 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/0.3412, allocations: 101 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.3412, allocations: 79.22 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-05/0.3413, allocations: 150.6 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.3414, allocations: 162.6 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.525e-05/0.3415, allocations: 150.6 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.3419, allocations: 0.4899 MB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3421, allocations: 169.1 kB / 0.7874 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.3421, allocations: 88.08 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.3422, allocations: 75.28 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.3422, allocations: 105.8 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3423, allocations: 0 / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001126/0.3424, allocations: 33.61 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.3425, allocations: 126.7 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.3428, allocations: 235 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3428, allocations: 25.7 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.3429, allocations: 108 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-06/0.3429, allocations: 0 / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.343, allocations: 45.67 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3432, allocations: 326.8 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.553e-05/0.3433, allocations: 63.83 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.3434, allocations: 58.41 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.3436, allocations: 140.7 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3436, allocations: 0 / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004477/0.344, allocations: 180.7 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3441, allocations: 8 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.3441, allocations: 4 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3441, allocations: 0 / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.3441, allocations: 0 / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3441, allocations: 3.984 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.3442, allocations: 11.84 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.3442, allocations: 4 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.3444, allocations: 213.7 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.3445, allocations: 112.8 kB / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.3446, allocations: 117.5 kB / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-05/0.3447, allocations: 184.2 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-05/0.3448, allocations: 176.3 kB / 0.7897 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.713e-05/0.3449, allocations: 188.2 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.3452, allocations: 442.2 kB / 0.7903 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.866e-05/0.3453, allocations: 101 kB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.3453, allocations: 105 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.3455, allocations: 184.3 kB / 0.7907 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.665e-05/0.3455, allocations: 188.2 kB / 0.7908 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.723e-05/0.3456, allocations: 180.3 kB / 0.791 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.846e-05/0.3457, allocations: 176.3 kB / 0.7912 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.3459, allocations: 319.8 kB / 0.7915 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.346, allocations: 197.8 kB / 0.7917 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.3461, allocations: 180.3 kB / 0.7918 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3462, allocations: 105 kB / 0.7919 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.3463, allocations: 184.2 kB / 0.7921 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.3464, allocations: 101 kB / 0.7922 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001476/0.3465, allocations: 168.5 kB / 0.7924 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3466, allocations: 0 / 0.7924 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000279/0.3468, allocations: 16 kB / 0.7924 GB, free: 3.777 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006153/0.3475, allocations: 0.8242 MB / 0.7932 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.3476, allocations: 79.95 kB / 0.7933 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.3477, allocations: 0 / 0.7933 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.3477, allocations: 3.938 kB / 0.7933 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.3481, allocations: 466.4 kB / 0.7937 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3505, allocations: 2.12 MB / 0.7958 GB, free: 192 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3508, allocations: 0.7119 MB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.3509, allocations: 4 kB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.3509, allocations: 31.42 kB / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.3509, allocations: 0 / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.3753, allocations: 2.723 MB / 0.7992 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.609, allocations: 14.31 kB / 0.7992 GB, free: 12.77 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)