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.0007899/0.0007897, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004983/0.004983, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001744, allocations: 279 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9482/0.9482, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.0005058, allocations: 13.23 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1767, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.001902/0.1787, allocations: 1.357 MB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009091/0.1796, allocations: 0.5108 MB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.1797, allocations: 0 / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005533/0.1802, allocations: 159 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.1806, allocations: 158.2 kB / 0.6873 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.181, allocations: 174.4 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.1813, allocations: 191.5 kB / 0.6877 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1814, allocations: 34.95 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.851e-05/0.1816, allocations: 75.61 kB / 0.6878 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.1818, allocations: 149.9 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1818, allocations: 8 kB / 0.688 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1819, allocations: 28 kB / 0.688 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.4e-05/0.182, allocations: 75.73 kB / 0.6881 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1821, allocations: 113 kB / 0.6882 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.1824, allocations: 245.2 kB / 0.6884 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1824, allocations: 0 / 0.6884 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1824, allocations: 0 / 0.6884 GB, free: 11.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1824, allocations: 0 / 0.6884 GB, free: 11.74 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.0007221/0.1832, allocations: 0.557 MB / 0.6889 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1832, allocations: 8.031 kB / 0.6889 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.1833, allocations: 42.73 kB / 0.689 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.1833, allocations: 28.56 kB / 0.689 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.1838, allocations: 366.4 kB / 0.6894 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1838, allocations: 5.25 kB / 0.6894 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1838, allocations: 4.375 kB / 0.6894 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.184, allocations: 87.47 kB / 0.6895 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.184, allocations: 3.984 kB / 0.6895 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1841, allocations: 0.8125 kB / 0.6895 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1841, allocations: 0 / 0.6895 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.1843, allocations: 68.5 kB / 0.6895 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.1848, allocations: 424.5 kB / 0.6899 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.185, allocations: 54.56 kB / 0.69 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1851, allocations: 32.89 kB / 0.69 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.1852, allocations: 0 / 0.69 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1852, allocations: 38.59 kB / 0.6901 GB, free: 9.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1852, allocations: 0 / 0.6901 GB, free: 9.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000416/0.1856, allocations: 133.3 kB / 0.6902 GB, free: 9.746 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.1857, allocations: 55.41 kB / 0.6902 GB, free: 9.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.1863, allocations: 0.5171 MB / 0.6907 GB, free: 9.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1863, allocations: 25.7 kB / 0.6908 GB, free: 9.121 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1865, allocations: 164 kB / 0.6909 GB, free: 8.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1865, allocations: 11.84 kB / 0.6909 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1866, allocations: 13.72 kB / 0.6909 GB, free: 8.926 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1867, allocations: 342.8 kB / 0.6913 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1868, allocations: 31.92 kB / 0.6913 GB, free: 8.551 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.1869, allocations: 23.92 kB / 0.6913 GB, free: 8.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.1871, allocations: 60.81 kB / 0.6914 GB, free: 8.465 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1871, allocations: 0 / 0.6914 GB, free: 8.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002416/0.1874, allocations: 105.3 kB / 0.6915 GB, free: 8.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1874, allocations: 8 kB / 0.6915 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1874, allocations: 0 / 0.6915 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1874, allocations: 4 kB / 0.6915 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.1875, allocations: 11.98 kB / 0.6915 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1875, allocations: 4 kB / 0.6915 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.1876, allocations: 11.92 kB / 0.6915 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1876, allocations: 0 / 0.6915 GB, free: 8.316 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.0001424/0.1878, allocations: 174.4 kB / 0.6917 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.1878, allocations: 31.62 kB / 0.6917 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.1881, allocations: 120.1 kB / 0.6918 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1881, allocations: 0 / 0.6918 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1882, allocations: 0 / 0.6918 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1882, allocations: 4.312 kB / 0.6918 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1884, allocations: 265.5 kB / 0.6921 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1884, allocations: 0 / 0.6921 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.1885, allocations: 15.98 kB / 0.6921 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1885, allocations: 0 / 0.6921 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1885, allocations: 4 kB / 0.6921 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1885, allocations: 0 / 0.6921 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1885, allocations: 0 / 0.6921 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.1888, allocations: 215 kB / 0.6923 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.189, allocations: 116.8 kB / 0.6924 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.189, allocations: 4 kB / 0.6924 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1891, allocations: 8 kB / 0.6924 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1891, allocations: 11.92 kB / 0.6924 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1892, allocations: 4 kB / 0.6924 GB, free: 7.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003812/0.1895, allocations: 383.1 kB / 0.6928 GB, free: 6.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1895, allocations: 3.938 kB / 0.6928 GB, free: 6.883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1898, allocations: 31.84 kB / 0.6928 GB, free: 6.852 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.001298/0.1911, allocations: 0.981 MB / 0.6938 GB, free: 5.977 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1914, allocations: 55.95 kB / 0.6939 GB, free: 5.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1914, allocations: 3.938 kB / 0.6939 GB, free: 5.918 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.78e-05/0.1915, allocations: 31.98 kB / 0.6939 GB, free: 5.887 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.1919, allocations: 43.7 kB / 0.6939 GB, free: 5.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.1952, allocations: 2.667 MB / 0.6965 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1956, allocations: 0.7674 MB / 0.6973 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.856e-05/0.1957, allocations: 42.09 kB / 0.6973 GB, free: 2.262 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1959, allocations: 91.34 kB / 0.6974 GB, free: 2.172 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1959, allocations: 0 / 0.6974 GB, free: 2.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.2106, allocations: 4.505 MB / 0.7018 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.2108, allocations: 248.2 kB / 0.7021 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/1.944, allocations: 3.938 kB / 0.7021 GB, free: 13.54 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)