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.493/1.493, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001153/0.001154, allocations: 179.5 kB / 326.5 MB, free: 2.25 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.943/1.943, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009529/0.0009528, allocations: 97.67 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.0002883, allocations: 6.812 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2159, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.001605/0.2176, allocations: 1.344 MB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006528/0.2183, allocations: 379.6 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.2184, allocations: 3.938 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.2188, allocations: 159 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.2191, allocations: 133.3 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.2194, allocations: 154.8 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.2195, allocations: 127.6 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.2196, allocations: 29.53 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.2197, allocations: 63.75 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.2199, allocations: 135.7 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.2199, allocations: 4 kB / 0.9026 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.22, allocations: 27.92 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.22, allocations: 67.75 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.2201, allocations: 57.58 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.2202, allocations: 207.8 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.2202, allocations: 0 / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2202, allocations: 0 / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.2203, allocations: 0 / 0.9029 GB, free: 60.97 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.0006264/0.2209, allocations: 0.5564 MB / 0.9035 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2209, allocations: 8.031 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.221, allocations: 38.56 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.221, allocations: 31.58 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.2214, allocations: 357.3 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.2214, allocations: 0 / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2214, allocations: 8 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.2216, allocations: 77.59 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2216, allocations: 0 / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2217, allocations: 8 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2217, allocations: 0 / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.2219, allocations: 59.95 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.2223, allocations: 420.6 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.2224, allocations: 58.55 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.2225, allocations: 4.062 kB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.2225, allocations: 34.59 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2225, allocations: 0 / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003649/0.2229, allocations: 141.5 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.2229, allocations: 55.39 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.2233, allocations: 0.5055 MB / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.2233, allocations: 25.7 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.2234, allocations: 171.9 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.2234, allocations: 7.906 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.2235, allocations: 7.938 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.2235, allocations: 346.8 kB / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.2236, allocations: 23.97 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.2237, allocations: 19.98 kB / 0.9058 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.2238, allocations: 31.92 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2238, allocations: 0 / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002024/0.224, allocations: 109.3 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.224, allocations: 10.81 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.224, allocations: 3.984 kB / 0.9059 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.224, allocations: 11.95 kB / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.149e-05/0.2241, allocations: 8 kB / 0.906 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2241, allocations: 0 / 0.906 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.282e-05/0.2242, allocations: 11.98 kB / 0.906 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2242, allocations: 0 / 0.906 GB, free: 57.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.2243, allocations: 169.8 kB / 0.9061 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.2244, allocations: 31.61 kB / 0.9062 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.2246, allocations: 120 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2247, allocations: 3.953 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2247, allocations: 0 / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.2247, allocations: 8 kB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.2249, allocations: 269.5 kB / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2249, allocations: 0 / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.2249, allocations: 8 kB / 0.9066 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2249, allocations: 0 / 0.9066 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.225, allocations: 7.984 kB / 0.9066 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.225, allocations: 0 / 0.9066 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.225, allocations: 3.953 kB / 0.9066 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.2252, allocations: 215.1 kB / 0.9068 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.2253, allocations: 112.7 kB / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.2253, allocations: 4 kB / 0.9069 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.2254, allocations: 11.98 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.2255, allocations: 4 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.2255, allocations: 3.953 kB / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002847/0.2258, allocations: 387.1 kB / 0.9073 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2258, allocations: 0 / 0.9073 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002373/0.226, allocations: 20 kB / 0.9073 GB, free: 56.18 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 (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.0009814/0.227, allocations: 0.9887 MB / 0.9083 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.2272, allocations: 63.83 kB / 0.9083 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2272, allocations: 0 / 0.9083 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.2273, allocations: 31.98 kB / 0.9083 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.2276, allocations: 37.47 kB / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.2298, allocations: 1.699 MB / 0.91 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.23, allocations: 0.7791 MB / 0.9108 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.688e-05/0.2301, allocations: 37.94 kB / 0.9108 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.2302, allocations: 83.41 kB / 0.9109 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.2302, allocations: 0 / 0.9109 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.2456, allocations: 4.963 MB / 0.9158 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.2458, allocations: 224.5 kB / 0.916 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.243, allocations: 0 / 0.916 GB, free: 47.39 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)