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.0007499/0.0007498, allocations: 89.97 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.00555/0.00555, allocations: 171.8 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.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9266/0.9266, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 11.98 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 82.3 MB / 0.5881 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.001772/0.1719, allocations: 1.351 MB / 0.5894 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008207/0.1727, allocations: 0.4992 MB / 0.5899 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.1728, allocations: 7.938 kB / 0.5899 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.1732, allocations: 173.4 kB / 0.59 GB, free: 484 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1735, allocations: 148.3 kB / 0.5902 GB, free: 336 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1739, allocations: 183 kB / 0.5904 GB, free: 156 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.1741, allocations: 191.6 kB / 0.5905 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1742, allocations: 25.84 kB / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.69e-05/0.1743, allocations: 67.66 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1745, allocations: 147.5 kB / 0.5908 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1745, allocations: 8 kB / 0.5908 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.1746, allocations: 24 kB / 0.5908 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.1747, allocations: 83.73 kB / 0.5909 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.1748, allocations: 109 kB / 0.591 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.175, allocations: 259 kB / 0.5912 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.175, allocations: 0 / 0.5912 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1751, allocations: 0 / 0.5912 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1751, allocations: 0 / 0.5912 GB, free: 15.24 MB / 0.4981 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.00064/0.1757, allocations: 0.5527 MB / 0.5918 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1757, allocations: 8.031 kB / 0.5918 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.1758, allocations: 38.73 kB / 0.5918 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.1758, allocations: 32.56 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.1762, allocations: 370.2 kB / 0.5922 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.1763, allocations: 8.375 kB / 0.5922 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1763, allocations: 4.375 kB / 0.5922 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1765, allocations: 85.53 kB / 0.5923 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-06/0.1765, allocations: 0 / 0.5923 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.1765, allocations: 0 / 0.5923 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-06/0.1765, allocations: 4 kB / 0.5923 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.1767, allocations: 63.94 kB / 0.5924 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.1772, allocations: 428.6 kB / 0.5928 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1773, allocations: 46.56 kB / 0.5928 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.1774, allocations: 36.89 kB / 0.5928 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1775, allocations: 4.094 kB / 0.5929 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.1775, allocations: 38.5 kB / 0.5929 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1775, allocations: 0 / 0.5929 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003579/0.1779, allocations: 133.2 kB / 0.593 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.1779, allocations: 55.41 kB / 0.5931 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.1785, allocations: 0.5132 MB / 0.5936 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1785, allocations: 25.7 kB / 0.5936 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1786, allocations: 176 kB / 0.5938 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.1786, allocations: 7.844 kB / 0.5938 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.1787, allocations: 9.719 kB / 0.5938 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1788, allocations: 346.8 kB / 0.5941 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.1789, allocations: 23.98 kB / 0.5941 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.179, allocations: 27.92 kB / 0.5942 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1792, allocations: 52.81 kB / 0.5942 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1792, allocations: 0 / 0.5942 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002412/0.1794, allocations: 113.3 kB / 0.5943 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1794, allocations: 6.188 kB / 0.5943 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-06/0.1794, allocations: 0 / 0.5943 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.1795, allocations: 4 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.1795, allocations: 11.98 kB / 0.5943 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.1796, allocations: 0 / 0.5943 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.959e-05/0.1797, allocations: 19.92 kB / 0.5944 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.1797, allocations: 0 / 0.5944 GB, free: 11.81 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.1798, allocations: 174.2 kB / 0.5945 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.1799, allocations: 31.62 kB / 0.5946 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.1802, allocations: 124 kB / 0.5947 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1802, allocations: 4 kB / 0.5947 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1802, allocations: 0 / 0.5947 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1802, allocations: 3.938 kB / 0.5947 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.1805, allocations: 261.5 kB / 0.5949 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1805, allocations: 0 / 0.5949 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.1806, allocations: 11.98 kB / 0.5949 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1806, allocations: 8 kB / 0.5949 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1806, allocations: 0 / 0.5949 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1806, allocations: 0 / 0.5949 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1806, allocations: 0 / 0.5949 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.1809, allocations: 211 kB / 0.5951 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.396e-05/0.181, allocations: 120.7 kB / 0.5953 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1811, allocations: 4 kB / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1812, allocations: 8 kB / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1812, allocations: 11.92 kB / 0.5953 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1812, allocations: 0 / 0.5953 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004192/0.1817, allocations: 383.1 kB / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1817, allocations: 0 / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002507/0.1819, allocations: 28 kB / 0.5957 GB, free: 10.36 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 (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.001177/0.1831, allocations: 0.9896 MB / 0.5966 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.1833, allocations: 55.95 kB / 0.5967 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1833, allocations: 0 / 0.5967 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.1834, allocations: 23.98 kB / 0.5967 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.1839, allocations: 49.39 kB / 0.5968 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.187, allocations: 2.667 MB / 0.5994 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1873, allocations: 0.783 MB / 0.6001 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.914e-05/0.1874, allocations: 33.94 kB / 0.6002 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1875, allocations: 83.41 kB / 0.6002 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.1875, allocations: 0 / 0.6002 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.2018, allocations: 4.491 MB / 0.6046 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.202, allocations: 235.9 kB / 0.6049 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.373, allocations: 0 / 0.6049 GB, free: 1.055 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/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)