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.001347/0.001347, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9407/0.9407, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 56.06 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.177, allocations: 80.93 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002899/0.1799, allocations: 1.64 MB / 0.5861 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.1808, allocations: 0.5147 MB / 0.5866 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.1809, allocations: 0 / 0.5866 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.1814, allocations: 185.2 kB / 0.5867 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.1817, allocations: 158.8 kB / 0.5869 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.1821, allocations: 198.4 kB / 0.5871 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1824, allocations: 199.5 kB / 0.5873 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1825, allocations: 33.81 kB / 0.5873 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.773e-05/0.1826, allocations: 79.73 kB / 0.5874 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1828, allocations: 155.6 kB / 0.5875 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.1828, allocations: 12 kB / 0.5875 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.1829, allocations: 51.92 kB / 0.5876 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.759e-05/0.183, allocations: 75.75 kB / 0.5877 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.386e-05/0.1831, allocations: 95.27 kB / 0.5878 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1834, allocations: 263 kB / 0.588 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1834, allocations: 4 kB / 0.588 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1834, allocations: 0 / 0.588 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1834, allocations: 0 / 0.588 GB, free: 0.8359 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.0007725/0.1842, allocations: 0.5836 MB / 0.5886 GB, free: 208 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1842, allocations: 8.031 kB / 0.5886 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.1843, allocations: 30.75 kB / 0.5886 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.1843, allocations: 44.55 kB / 0.5887 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.1848, allocations: 366.3 kB / 0.589 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1848, allocations: 4.375 kB / 0.589 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.1848, allocations: 384 / 0.589 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.185, allocations: 81.53 kB / 0.5891 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.185, allocations: 4 kB / 0.5891 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.185, allocations: 0 / 0.5891 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.185, allocations: 0 / 0.5891 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.1852, allocations: 55.95 kB / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.1857, allocations: 428.5 kB / 0.5896 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1859, allocations: 50.55 kB / 0.5896 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.186, allocations: 24.91 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.186, allocations: 7.922 kB / 0.5896 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1861, allocations: 34.56 kB / 0.5897 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1861, allocations: 0 / 0.5897 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003843/0.1865, allocations: 117.3 kB / 0.5898 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1865, allocations: 55.41 kB / 0.5898 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.187, allocations: 0.5093 MB / 0.5903 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1871, allocations: 25.7 kB / 0.5904 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1872, allocations: 172 kB / 0.5905 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1872, allocations: 7.844 kB / 0.5905 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.1872, allocations: 25.72 kB / 0.5906 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1874, allocations: 342.8 kB / 0.5909 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.1875, allocations: 15.98 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.1875, allocations: 19.98 kB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.1877, allocations: 44.81 kB / 0.591 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1877, allocations: 3.938 kB / 0.591 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002236/0.1879, allocations: 105.6 kB / 0.5911 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.188, allocations: 8 kB / 0.5911 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.188, allocations: 0 / 0.5911 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.188, allocations: 0 / 0.5911 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.1881, allocations: 11.98 kB / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1881, allocations: 0 / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.1882, allocations: 7.938 kB / 0.5911 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1882, allocations: 3.984 kB / 0.5911 GB, free: 13.45 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.0001349/0.1883, allocations: 169.8 kB / 0.5913 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.1884, allocations: 35.56 kB / 0.5913 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.1887, allocations: 116 kB / 0.5914 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1887, allocations: 0 / 0.5914 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1887, allocations: 0 / 0.5914 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1887, allocations: 3.938 kB / 0.5914 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.1889, allocations: 261.5 kB / 0.5917 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.189, allocations: 4 kB / 0.5917 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.189, allocations: 11.98 kB / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.189, allocations: 0 / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.189, allocations: 0 / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.189, allocations: 0 / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.189, allocations: 4 kB / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.1893, allocations: 207 kB / 0.5919 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/0.1894, allocations: 104.8 kB / 0.592 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1894, allocations: 0 / 0.592 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1896, allocations: 11.98 kB / 0.592 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1896, allocations: 7.938 kB / 0.592 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1896, allocations: 0 / 0.592 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003666/0.19, allocations: 391 kB / 0.5924 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.19, allocations: 0 / 0.5924 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002489/0.1902, allocations: 24 kB / 0.5924 GB, free: 12.03 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.00126/0.1915, allocations: 0.9769 MB / 0.5933 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.1918, allocations: 51.88 kB / 0.5934 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1918, allocations: 0 / 0.5934 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-05/0.1919, allocations: 23.97 kB / 0.5934 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.1924, allocations: 50.58 kB / 0.5935 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.1956, allocations: 2.602 MB / 0.596 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.1961, allocations: 0.7788 MB / 0.5968 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.1962, allocations: 33.92 kB / 0.5968 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1963, allocations: 83.41 kB / 0.5969 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1963, allocations: 4 kB / 0.5969 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.2179, allocations: 4.924 MB / 0.6017 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.501, allocations: 0.9375 kB / 0.6017 GB, free: 2.594 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1)