Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.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.SetPoints.Examples.Table,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_Table",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.478/1.478, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 176.5 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.341/2.341, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.001402/0.001402, allocations: 89.86 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004159, allocations: 9.656 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2991, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002008/0.3011, allocations: 1.374 MB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007081/0.3019, allocations: 423.4 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.3019, allocations: 0 / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.3024, allocations: 179.5 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.3027, allocations: 150 kB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.3031, allocations: 152.8 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.3033, allocations: 183.5 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3034, allocations: 37.53 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.3035, allocations: 71.67 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3037, allocations: 143.6 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.3037, allocations: 4 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.3038, allocations: 35.94 kB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.3039, allocations: 67.75 kB / 0.9036 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.791e-05/0.304, allocations: 113 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.3043, allocations: 259.2 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3043, allocations: 0 / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3043, allocations: 4 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3043, allocations: 0 / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006616/0.305, allocations: 0.5449 MB / 0.9045 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.305, allocations: 8.031 kB / 0.9045 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.305, allocations: 46.67 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.3051, allocations: 28.56 kB / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.3055, allocations: 366.4 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.3055, allocations: 4.375 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3055, allocations: 4.375 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3057, allocations: 81.53 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3057, allocations: 0 / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3057, allocations: 4 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3058, allocations: 0 / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.3059, allocations: 63.95 kB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.3064, allocations: 428.5 kB / 0.9055 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.3065, allocations: 54.56 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.942e-05/0.3066, allocations: 36.89 kB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.3067, allocations: 0 / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.3067, allocations: 34.56 kB / 0.9056 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3067, allocations: 0 / 0.9056 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003673/0.3071, allocations: 133.5 kB / 0.9058 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.3071, allocations: 59.41 kB / 0.9058 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.3075, allocations: 0.5093 MB / 0.9063 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.3076, allocations: 29.69 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.3076, allocations: 168 kB / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.3077, allocations: 7.812 kB / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.3077, allocations: 0 / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.3078, allocations: 346.8 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/0.3078, allocations: 27.97 kB / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.3079, allocations: 23.97 kB / 0.9069 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3081, allocations: 60.81 kB / 0.9069 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3081, allocations: 0 / 0.9069 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002155/0.3083, allocations: 113.2 kB / 0.907 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3083, allocations: 4 kB / 0.9071 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3084, allocations: 0 / 0.9071 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3084, allocations: 11.94 kB / 0.9071 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.3085, allocations: 15.98 kB / 0.9071 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3085, allocations: 0 / 0.9071 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.3086, allocations: 11.94 kB / 0.9071 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.3086, allocations: 0 / 0.9071 GB, free: 56.82 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 0.0001078/0.3087, allocations: 169.8 kB / 0.9073 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.3087, allocations: 27.62 kB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.309, allocations: 131.9 kB / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.309, allocations: 0 / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.309, allocations: 4 kB / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.309, allocations: 3.938 kB / 0.9074 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.3092, allocations: 257.5 kB / 0.9077 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3092, allocations: 4 kB / 0.9077 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.3093, allocations: 11.98 kB / 0.9077 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3093, allocations: 4 kB / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3093, allocations: 0 / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3093, allocations: 0 / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3093, allocations: 0 / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.3096, allocations: 211 kB / 0.9079 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.3097, allocations: 116.8 kB / 0.908 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.3097, allocations: 0 / 0.908 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.3098, allocations: 7.984 kB / 0.908 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3098, allocations: 7.938 kB / 0.908 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3099, allocations: 7.984 kB / 0.908 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002967/0.3102, allocations: 387.1 kB / 0.9084 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3102, allocations: 0 / 0.9084 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002289/0.3104, allocations: 27.91 kB / 0.9084 GB, free: 55.36 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.001109/0.3115, allocations: 0.9857 MB / 0.9094 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3117, allocations: 59.89 kB / 0.9094 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3118, allocations: 0 / 0.9094 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.3118, allocations: 27.98 kB / 0.9095 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3123, allocations: 49.47 kB / 0.9095 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.3148, allocations: 2.674 MB / 0.9121 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.315, allocations: 0.7713 MB / 0.9129 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.4e-05/0.3151, allocations: 33.94 kB / 0.9129 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3152, allocations: 83.41 kB / 0.913 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.3152, allocations: 3.938 kB / 0.913 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.3292, allocations: 4.512 MB / 0.9174 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.3294, allocations: 248.9 kB / 0.9176 GB, free: 46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.683, allocations: 4 kB / 0.9176 GB, free: 46 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1)