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.001433/0.001433, 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.001737/0.001738, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.702/1.702, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.887/1.887, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001594/0.001594, allocations: 74.98 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.318, allocations: 114.6 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003305/0.3213, allocations: 1.651 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000774/0.3221, allocations: 436.4 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.3222, allocations: 4 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.3228, allocations: 179.9 kB / 0.7857 GB, free: 11.13 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.0003971/0.3232, allocations: 160.7 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.3236, allocations: 166.7 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.3238, allocations: 191.6 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.324, allocations: 49.69 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3241, allocations: 83.67 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.3243, allocations: 155.6 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.3243, allocations: 12 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3245, allocations: 39.98 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3246, allocations: 79.69 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.447e-05/0.3247, allocations: 99.27 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.325, allocations: 255.1 kB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.325, allocations: 0 / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.325, allocations: 4 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.325, allocations: 3.938 kB / 0.7869 GB, free: 9.863 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.0008011/0.3258, allocations: 0.5797 MB / 0.7875 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3259, allocations: 8.031 kB / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.3259, allocations: 50.67 kB / 0.7875 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.326, allocations: 28.56 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.3264, allocations: 366.4 kB / 0.7879 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-06/0.3265, allocations: 384 / 0.7879 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.3265, allocations: 12.38 kB / 0.7879 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3267, allocations: 69.59 kB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3267, allocations: 0 / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3267, allocations: 4 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3267, allocations: 7.938 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.3269, allocations: 47.95 kB / 0.7881 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.3275, allocations: 432.6 kB / 0.7885 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.3276, allocations: 50.5 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.3277, allocations: 28.89 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3278, allocations: 0 / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3278, allocations: 34.56 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3278, allocations: 0 / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003884/0.3282, allocations: 121.3 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.3283, allocations: 51.41 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.3288, allocations: 0.5171 MB / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.3289, allocations: 29.64 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.329, allocations: 164 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.329, allocations: 15.84 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3291, allocations: 9.719 kB / 0.7895 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3292, allocations: 346.8 kB / 0.7898 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.919e-05/0.3293, allocations: 15.98 kB / 0.7898 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.3294, allocations: 24.02 kB / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3296, allocations: 44.81 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3296, allocations: 4 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002256/0.3298, allocations: 101.2 kB / 0.79 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3298, allocations: 4 kB / 0.79 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3298, allocations: 0 / 0.79 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3299, allocations: 0 / 0.79 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/0.33, allocations: 11.98 kB / 0.79 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.33, allocations: 7.938 kB / 0.79 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.3301, allocations: 11.92 kB / 0.79 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.3301, allocations: 4 kB / 0.79 GB, free: 6.469 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.0001419/0.3302, allocations: 165.8 kB / 0.7902 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.3303, allocations: 31.62 kB / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.3303, allocations: 30.42 kB / 0.7902 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3303, allocations: 0 / 0.7902 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3304, allocations: 0 / 0.7902 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3304, allocations: 3.938 kB / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.3306, allocations: 273.5 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3306, allocations: 0 / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.3307, allocations: 4 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3307, allocations: 7.984 kB / 0.7905 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3307, allocations: 4 kB / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3307, allocations: 0 / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3308, allocations: 0 / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.331, allocations: 203 kB / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.3311, allocations: 108.8 kB / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3312, allocations: 0 / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3313, allocations: 4 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3313, allocations: 11.92 kB / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.3313, allocations: 3.938 kB / 0.7908 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004294/0.3318, allocations: 387.1 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3318, allocations: 0 / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002642/0.3321, allocations: 28 kB / 0.7912 GB, free: 5.129 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.001304/0.3334, allocations: 0.9776 MB / 0.7922 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.3336, allocations: 43.95 kB / 0.7922 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3336, allocations: 0 / 0.7922 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.3337, allocations: 19.98 kB / 0.7922 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3342, allocations: 50.09 kB / 0.7923 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.3372, allocations: 2.602 MB / 0.7948 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3376, allocations: 0.771 MB / 0.7956 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.16e-05/0.3377, allocations: 41.88 kB / 0.7956 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3378, allocations: 83.41 kB / 0.7957 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of SimCode: time 1.743e-06/0.3378, allocations: 4 kB / 0.7957 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.3623, allocations: 4.933 MB / 0.8005 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.513, allocations: 10.31 kB / 0.8005 GB, free: 11.68 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)