Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 199.2 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 284.2 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8301/0.8301, allocations: 169.2 MB / 0.4977 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 96.98 kB / 0.5946 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1245, allocations: 86.97 MB / 0.6795 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002538/0.1271, allocations: 1.706 MB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007615/0.1279, allocations: 0.507 MB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.1279, allocations: 3.938 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.1283, allocations: 168.6 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.1286, allocations: 161.3 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1289, allocations: 176.7 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1292, allocations: 191.5 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.1293, allocations: 37.53 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.1293, allocations: 79.67 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.1295, allocations: 143.6 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.1295, allocations: 8 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.492e-05/0.1296, allocations: 35.98 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.1297, allocations: 71.75 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.1298, allocations: 95.2 kB / 0.6828 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.13, allocations: 259.1 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.13, allocations: 0 / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.13, allocations: 4 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1301, allocations: 0 / 0.6831 GB, free: 13.46 MB / 494.1 MB 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.0006364/0.1307, allocations: 0.5798 MB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.1307, allocations: 8.031 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.1308, allocations: 30.75 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.1308, allocations: 32.56 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.1312, allocations: 374.2 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1312, allocations: 8.375 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1312, allocations: 4.375 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1314, allocations: 73.61 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1314, allocations: 3.938 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.1314, allocations: 3.938 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1314, allocations: 3.984 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.1316, allocations: 59.89 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1321, allocations: 424.6 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1322, allocations: 50.58 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.238e-05/0.1323, allocations: 20.91 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1323, allocations: 4 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1324, allocations: 38.56 kB / 0.6847 GB, free: 11.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1324, allocations: 0 / 0.6847 GB, free: 11.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000338/0.1327, allocations: 113.3 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.1327, allocations: 55.34 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.1332, allocations: 0.5093 MB / 0.6854 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1332, allocations: 29.7 kB / 0.6854 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.1333, allocations: 168 kB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.1334, allocations: 15.73 kB / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.1334, allocations: 13.72 kB / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1335, allocations: 346.8 kB / 0.6859 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.1336, allocations: 11.98 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.1337, allocations: 24.16 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1338, allocations: 52.91 kB / 0.686 GB, free: 10.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1338, allocations: 0 / 0.686 GB, free: 10.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002063/0.134, allocations: 97.38 kB / 0.6861 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.1341, allocations: 7.938 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1341, allocations: 0 / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.1341, allocations: 3.984 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.1342, allocations: 8 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1342, allocations: 4 kB / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.1343, allocations: 11.92 kB / 0.6861 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1343, allocations: 0 / 0.6861 GB, free: 10.08 MB / 494.1 MB 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.0001138/0.1344, allocations: 170.5 kB / 0.6863 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.1344, allocations: 27.62 kB / 0.6863 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.1347, allocations: 108.1 kB / 0.6864 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1347, allocations: 4 kB / 0.6864 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1347, allocations: 0 / 0.6864 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1347, allocations: 7.938 kB / 0.6864 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.1349, allocations: 265.5 kB / 0.6867 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1349, allocations: 3.938 kB / 0.6867 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.135, allocations: 8 kB / 0.6867 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.135, allocations: 0 / 0.6867 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.135, allocations: 0 / 0.6867 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.135, allocations: 7.922 kB / 0.6867 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.135, allocations: 0 / 0.6867 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1353, allocations: 199.1 kB / 0.6869 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.1354, allocations: 108.7 kB / 0.687 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.1354, allocations: 3.984 kB / 0.687 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.1355, allocations: 4 kB / 0.687 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.1355, allocations: 11.92 kB / 0.687 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-06/0.1355, allocations: 4 kB / 0.687 GB, free: 9.062 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003433/0.1359, allocations: 387.1 kB / 0.6874 GB, free: 8.688 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1359, allocations: 0 / 0.6874 GB, free: 8.688 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1361, allocations: 27.94 kB / 0.6874 GB, free: 8.66 MB / 494.1 MB 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.001078/0.1372, allocations: 0.9774 MB / 0.6884 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1374, allocations: 43.95 kB / 0.6884 GB, free: 7.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1374, allocations: 0 / 0.6884 GB, free: 7.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.101e-05/0.1375, allocations: 27.92 kB / 0.6884 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1379, allocations: 45.47 kB / 0.6885 GB, free: 7.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.1406, allocations: 2.634 MB / 0.6911 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1409, allocations: 0.7674 MB / 0.6918 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.8e-05/0.141, allocations: 41.92 kB / 0.6919 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1411, allocations: 87.34 kB / 0.6919 GB, free: 4.043 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1411, allocations: 0 / 0.6919 GB, free: 4.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.975/2.116, allocations: 4.715 MB / 0.6965 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/2.116, allocations: 249.3 kB / 0.6968 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/3.685, allocations: 0 / 0.6968 GB, free: 15.19 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)