Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_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.0009539/0.0009537, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.000968/0.0009681, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.123/1.123, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 8.875 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1788, allocations: 82.31 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.001868/0.1807, allocations: 1.332 MB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007783/0.1815, allocations: 463.5 kB / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.1815, allocations: 0 / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.182, allocations: 162.2 kB / 0.5892 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.1823, allocations: 146.4 kB / 0.5893 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1827, allocations: 168.4 kB / 0.5895 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.1829, allocations: 127.7 kB / 0.5896 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.183, allocations: 29.52 kB / 0.5896 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.946e-05/0.1831, allocations: 71.73 kB / 0.5897 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.1833, allocations: 135.6 kB / 0.5898 GB, free: 456 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.1833, allocations: 4 kB / 0.5898 GB, free: 452 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.99e-05/0.1834, allocations: 19.94 kB / 0.5898 GB, free: 432 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.657e-05/0.1835, allocations: 71.8 kB / 0.5899 GB, free: 360 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.1835, allocations: 53.58 kB / 0.59 GB, free: 300 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.1838, allocations: 207.8 kB / 0.5902 GB, free: 92 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1838, allocations: 0 / 0.5902 GB, free: 92 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1838, allocations: 0 / 0.5902 GB, free: 92 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1838, allocations: 3.938 kB / 0.5902 GB, free: 88 kB / 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.000761/0.1846, allocations: 0.5525 MB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1846, allocations: 8.562 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.1847, allocations: 34.56 kB / 0.5907 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.1847, allocations: 31.62 kB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.1852, allocations: 357.3 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1852, allocations: 8 kB / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1852, allocations: 7.938 kB / 0.5911 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.1854, allocations: 73.67 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1855, allocations: 0 / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1855, allocations: 3.984 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1855, allocations: 4 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.1857, allocations: 63.95 kB / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.1863, allocations: 424.5 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1864, allocations: 58.55 kB / 0.5917 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1865, allocations: 4.031 kB / 0.5917 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1865, allocations: 42.56 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1865, allocations: 0 / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004023/0.1869, allocations: 133.3 kB / 0.5919 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.187, allocations: 51.41 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005576/0.1875, allocations: 0.5132 MB / 0.5925 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1876, allocations: 25.7 kB / 0.5925 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1877, allocations: 176 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1877, allocations: 7.891 kB / 0.5927 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.1877, allocations: 0 / 0.5927 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1879, allocations: 338.8 kB / 0.593 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.188, allocations: 27.97 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.1881, allocations: 27.92 kB / 0.593 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.285e-05/0.1881, allocations: 23.98 kB / 0.5931 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1882, allocations: 0 / 0.5931 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002356/0.1884, allocations: 113.6 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1884, allocations: 4 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1884, allocations: 0 / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1884, allocations: 0 / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.1885, allocations: 15.98 kB / 0.5932 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1886, allocations: 3.953 kB / 0.5932 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.1886, allocations: 11.92 kB / 0.5932 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1886, allocations: 4 kB / 0.5932 GB, free: 12.76 MB / 0.4981 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.0001424/0.1888, allocations: 169.8 kB / 0.5934 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.1888, allocations: 31.61 kB / 0.5934 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.1891, allocations: 124 kB / 0.5935 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1891, allocations: 0 / 0.5935 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1892, allocations: 8 kB / 0.5935 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1892, allocations: 3.953 kB / 0.5935 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.1894, allocations: 257.5 kB / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1894, allocations: 4 kB / 0.5938 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.1895, allocations: 15.98 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1895, allocations: 0 / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1895, allocations: 0 / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1895, allocations: 0 / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1895, allocations: 4 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.1898, allocations: 219 kB / 0.594 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.19, allocations: 108.8 kB / 0.5941 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.19, allocations: 0 / 0.5941 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1901, allocations: 16 kB / 0.5941 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1902, allocations: 3.984 kB / 0.5941 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1902, allocations: 4 kB / 0.5941 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003787/0.1906, allocations: 383.1 kB / 0.5945 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1906, allocations: 0 / 0.5945 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000252/0.1908, allocations: 27.91 kB / 0.5945 GB, free: 11.3 MB / 0.4981 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.001289/0.1921, allocations: 0.9855 MB / 0.5955 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1923, allocations: 51.95 kB / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.1923, allocations: 4 kB / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.049e-05/0.1924, allocations: 28.08 kB / 0.5956 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1928, allocations: 41.61 kB / 0.5956 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1952, allocations: 1.69 MB / 0.5973 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1956, allocations: 0.7791 MB / 0.598 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.835e-05/0.1957, allocations: 41.92 kB / 0.5981 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.1958, allocations: 83.41 kB / 0.5981 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1958, allocations: 0 / 0.5981 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.2218, allocations: 4.958 MB / 0.603 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.222, allocations: 213.2 kB / 0.6032 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.22, allocations: 0 / 0.6032 GB, free: 2.57 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1) Environment - environmentSimulation: