Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.Table.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.SetPoints.Examples.Table,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_Table",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.001539/0.001538, allocations: 109.4 kB / 15.69 MB, free: 128 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.001842/0.001842, allocations: 189.6 kB / 16.62 MB, free: 6.582 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.554/1.554, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.857/1.857, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001394/0.001394, allocations: 72.53 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2419, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002982/0.2449, allocations: 1.659 MB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007375/0.2457, allocations: 432.5 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.2458, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.2463, allocations: 184.4 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.2466, allocations: 163.6 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.247, allocations: 161.5 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00024/0.2472, allocations: 199.5 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.2474, allocations: 49.73 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2475, allocations: 87.66 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.2477, allocations: 159.5 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.2477, allocations: 12 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2479, allocations: 36 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.248, allocations: 75.75 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.2481, allocations: 95.28 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.2483, allocations: 259.1 kB / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2484, allocations: 0 / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2484, allocations: 0 / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2484, allocations: 4 kB / 0.7871 GB, free: 9.695 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007507/0.2491, allocations: 0.5874 MB / 0.7876 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2492, allocations: 15.97 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.2492, allocations: 34.75 kB / 0.7877 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.2493, allocations: 28.56 kB / 0.7877 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.2497, allocations: 374.3 kB / 0.7881 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.2497, allocations: 4.375 kB / 0.7881 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.2498, allocations: 4.375 kB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.25, allocations: 73.61 kB / 0.7882 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.25, allocations: 0 / 0.7882 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.25, allocations: 4 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.25, allocations: 3.984 kB / 0.7882 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.2502, allocations: 51.89 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.2507, allocations: 424.5 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.2509, allocations: 58.58 kB / 0.7887 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.789e-05/0.251, allocations: 28.84 kB / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.251, allocations: 0 / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.251, allocations: 30.56 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.251, allocations: 0 / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003745/0.2514, allocations: 125.2 kB / 0.7888 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.2515, allocations: 51.41 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.252, allocations: 0.5171 MB / 0.7894 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.252, allocations: 25.7 kB / 0.7894 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2521, allocations: 164 kB / 0.7896 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.2522, allocations: 15.83 kB / 0.7896 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.2522, allocations: 13.72 kB / 0.7896 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2523, allocations: 342.8 kB / 0.7899 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.2524, allocations: 19.98 kB / 0.79 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.662e-05/0.2525, allocations: 19.97 kB / 0.79 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.2527, allocations: 40.83 kB / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2527, allocations: 0 / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002204/0.2529, allocations: 101.6 kB / 0.7901 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2529, allocations: 4 kB / 0.7901 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.253, allocations: 4 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.253, allocations: 7.922 kB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.2531, allocations: 8 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.2531, allocations: 0 / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.2531, allocations: 11.92 kB / 0.7901 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.2532, allocations: 3.938 kB / 0.7902 GB, free: 6.305 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 (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.0001362/0.2533, allocations: 169.8 kB / 0.7903 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.2534, allocations: 31.61 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.2534, allocations: 38.41 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2534, allocations: 0 / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2534, allocations: 4 kB / 0.7904 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2535, allocations: 3.938 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.2537, allocations: 257.5 kB / 0.7906 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2537, allocations: 4 kB / 0.7906 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.2538, allocations: 15.98 kB / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2538, allocations: 4 kB / 0.7907 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.2538, allocations: 0 / 0.7907 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2538, allocations: 3.938 kB / 0.7907 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2538, allocations: 0 / 0.7907 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.2541, allocations: 199 kB / 0.7908 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.108e-05/0.2542, allocations: 108.8 kB / 0.791 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.2542, allocations: 4 kB / 0.791 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.2543, allocations: 7.984 kB / 0.791 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.2544, allocations: 7.938 kB / 0.791 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.2544, allocations: 0 / 0.791 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003724/0.2548, allocations: 387.1 kB / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2548, allocations: 0 / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000248/0.255, allocations: 24 kB / 0.7914 GB, free: 4.961 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 (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.001214/0.2562, allocations: 0.9788 MB / 0.7923 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.2565, allocations: 47.95 kB / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2565, allocations: 0 / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.576e-05/0.2566, allocations: 23.97 kB / 0.7924 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.257, allocations: 43.86 kB / 0.7924 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.2599, allocations: 2.596 MB / 0.795 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.2602, allocations: 0.771 MB / 0.7957 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.667e-05/0.2603, allocations: 41.92 kB / 0.7958 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.2605, allocations: 87.34 kB / 0.7958 GB, free: 388 kB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2605, allocations: 4 kB / 0.7958 GB, free: 384 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.283, allocations: 4.946 MB / 0.8007 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.193, allocations: 6.5 kB / 0.8007 GB, free: 11.51 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_8_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1)