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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8745/0.8745, allocations: 143.3 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 181 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 447.7 MB, free: 4.719 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009693/0.0009694, allocations: 92.25 kB / 0.5187 GB, free: 1.078 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 271.5 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004149, allocations: 16.83 kB / 0.6929 GB, free: 59.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.53/0.6856, allocations: 111.1 MB / 0.8823 GB, free: 32.13 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.6859, allocations: 78.8 kB / 0.8824 GB, free: 32.13 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01234/0.6982, allocations: 4.847 MB / 0.8871 GB, free: 31.58 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6983, allocations: 0 / 0.8871 GB, free: 31.58 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.579e-05/0.6983, allocations: 6.344 kB / 0.8871 GB, free: 31.58 MB / 0.5417 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.0007223/0.699, allocations: 0.5778 MB / 0.8877 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6991, allocations: 9.219 kB / 0.8877 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.6991, allocations: 39.39 kB / 0.8877 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.6992, allocations: 27.81 kB / 0.8878 GB, free: 31.05 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.6997, allocations: 364.3 kB / 0.8881 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.6998, allocations: 8.859 kB / 0.8881 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.6998, allocations: 6.656 kB / 0.8881 GB, free: 30.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.7, allocations: 82.28 kB / 0.8882 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.7, allocations: 0 / 0.8882 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.7, allocations: 1.531 kB / 0.8882 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7, allocations: 1.344 kB / 0.8882 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.7002, allocations: 67.98 kB / 0.8883 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.7008, allocations: 441.2 kB / 0.8887 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.7009, allocations: 59.77 kB / 0.8887 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.701, allocations: 4.875 kB / 0.8888 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.701, allocations: 41.72 kB / 0.8888 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.701, allocations: 0 / 0.8888 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.000376/0.7014, allocations: 130.5 kB / 0.8889 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.7014, allocations: 52.02 kB / 0.889 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.7019, allocations: 470.5 kB / 0.8894 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.702, allocations: 27.17 kB / 0.8894 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.7021, allocations: 171.1 kB / 0.8896 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.7021, allocations: 9.328 kB / 0.8896 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.7021, allocations: 0 / 0.8896 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.7022, allocations: 345.8 kB / 0.8899 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.7023, allocations: 24.83 kB / 0.89 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.7024, allocations: 29.92 kB / 0.89 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.7025, allocations: 23.2 kB / 0.89 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7025, allocations: 0 / 0.89 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002315/0.7027, allocations: 113.3 kB / 0.8901 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7028, allocations: 4.172 kB / 0.8901 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7028, allocations: 1.312 kB / 0.8901 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.7028, allocations: 0 / 0.8901 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.7029, allocations: 15.17 kB / 0.8901 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.7029, allocations: 0 / 0.8901 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.703, allocations: 15.17 kB / 0.8902 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.703, allocations: 6.906 kB / 0.8902 GB, free: 29.68 MB / 0.5417 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.0001255/0.7031, allocations: 171 kB / 0.8903 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.7032, allocations: 35.12 kB / 0.8904 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.7035, allocations: 123.5 kB / 0.8905 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7035, allocations: 5.781 kB / 0.8905 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7035, allocations: 0 / 0.8905 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7035, allocations: 0.6562 kB / 0.8905 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.7038, allocations: 280.2 kB / 0.8908 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7038, allocations: 1.125 kB / 0.8908 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.038e-05/0.7039, allocations: 12.5 kB / 0.8908 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7039, allocations: 1.094 kB / 0.8908 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.7039, allocations: 1.062 kB / 0.8908 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.7039, allocations: 0.6562 kB / 0.8908 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7039, allocations: 7.938 kB / 0.8908 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.7042, allocations: 210 kB / 0.891 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.7043, allocations: 123.5 kB / 0.8911 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.7044, allocations: 4.422 kB / 0.8911 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.7045, allocations: 12.11 kB / 0.8911 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.7045, allocations: 4.234 kB / 0.8911 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.7045, allocations: 0.75 kB / 0.8911 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00036/0.7049, allocations: 379.3 kB / 0.8915 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7049, allocations: 0 / 0.8915 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002637/0.7052, allocations: 33.83 kB / 0.8915 GB, free: 28.94 MB / 0.5417 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.001097/0.7063, allocations: 1 MB / 0.8925 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.7065, allocations: 60.11 kB / 0.8925 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7065, allocations: 0 / 0.8925 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.7066, allocations: 25.44 kB / 0.8926 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.7069, allocations: 37.53 kB / 0.8926 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.7092, allocations: 1.712 MB / 0.8943 GB, free: 27.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.7104, allocations: 0.7815 MB / 0.895 GB, free: 42.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.7106, allocations: 41.39 kB / 0.8951 GB, free: 42.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.7107, allocations: 87.66 kB / 0.8952 GB, free: 42.88 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/0.7107, allocations: 0 / 0.8952 GB, free: 42.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.7291, allocations: 5.2 MB / 0.9002 GB, free: 42.43 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.7293, allocations: 227.8 kB / 0.9005 GB, free: 42.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.699, allocations: 0 / 0.9005 GB, free: 42.18 MB / 0.5573 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/linux/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)