Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_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.001088/0.001087, allocations: 108 kB / 15.61 MB, free: 152 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.001143/0.001142, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7325/0.7325, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 61 kB / 0.5019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1733, allocations: 80.2 MB / 0.5802 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.003802/0.1772, allocations: 1.647 MB / 0.5818 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1783, allocations: 0.5263 MB / 0.5823 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1784, allocations: 3.938 kB / 0.5823 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.1791, allocations: 181.7 kB / 0.5825 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.1796, allocations: 157.6 kB / 0.5826 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.18, allocations: 193.1 kB / 0.5828 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.1804, allocations: 199.5 kB / 0.583 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1805, allocations: 33.81 kB / 0.583 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1807, allocations: 79.73 kB / 0.5831 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.181, allocations: 163.5 kB / 0.5833 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.181, allocations: 12 kB / 0.5833 GB, free: 5.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1811, allocations: 43.97 kB / 0.5833 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1812, allocations: 75.75 kB / 0.5834 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1814, allocations: 95.28 kB / 0.5835 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.1817, allocations: 267 kB / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1818, allocations: 0 / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1818, allocations: 0 / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1818, allocations: 0 / 0.5837 GB, free: 5.004 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.000999/0.1828, allocations: 0.5835 MB / 0.5843 GB, free: 4.371 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1828, allocations: 12.03 kB / 0.5843 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.1829, allocations: 38.73 kB / 0.5844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.183, allocations: 28.56 kB / 0.5844 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.1835, allocations: 366.3 kB / 0.5847 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1836, allocations: 8.375 kB / 0.5847 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1836, allocations: 384 / 0.5847 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1838, allocations: 81.53 kB / 0.5848 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1838, allocations: 4 kB / 0.5848 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1839, allocations: 0 / 0.5848 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1839, allocations: 0 / 0.5848 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.1841, allocations: 55.94 kB / 0.5849 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006599/0.1847, allocations: 432.5 kB / 0.5853 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1849, allocations: 50.5 kB / 0.5853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.185, allocations: 28.89 kB / 0.5854 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1851, allocations: 0 / 0.5854 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1851, allocations: 34.59 kB / 0.5854 GB, free: 3.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1851, allocations: 8 kB / 0.5854 GB, free: 3.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004232/0.1855, allocations: 113.5 kB / 0.5855 GB, free: 3.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1856, allocations: 51.41 kB / 0.5856 GB, free: 2.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/0.1862, allocations: 0.5171 MB / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1862, allocations: 25.7 kB / 0.5861 GB, free: 2.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1864, allocations: 168 kB / 0.5863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1864, allocations: 7.844 kB / 0.5863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1864, allocations: 25.7 kB / 0.5863 GB, free: 2.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1866, allocations: 338.8 kB / 0.5866 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.335e-05/0.1867, allocations: 19.98 kB / 0.5866 GB, free: 1.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.1868, allocations: 23.97 kB / 0.5867 GB, free: 1.797 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1869, allocations: 48.75 kB / 0.5867 GB, free: 1.746 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.187, allocations: 4 kB / 0.5867 GB, free: 1.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002425/0.1872, allocations: 93.28 kB / 0.5868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1872, allocations: 10.34 kB / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1872, allocations: 0 / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1873, allocations: 0 / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.952e-05/0.1873, allocations: 11.98 kB / 0.5868 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1874, allocations: 0 / 0.5868 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.1875, allocations: 15.92 kB / 0.5868 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1875, allocations: 8 kB / 0.5868 GB, free: 1.602 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.0001521/0.1876, allocations: 171.1 kB / 0.587 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.1877, allocations: 31.56 kB / 0.587 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.188, allocations: 112.1 kB / 0.5871 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.188, allocations: 0 / 0.5871 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.188, allocations: 0 / 0.5871 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.188, allocations: 3.938 kB / 0.5871 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.1883, allocations: 261.5 kB / 0.5874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1883, allocations: 0 / 0.5874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.1884, allocations: 11.98 kB / 0.5874 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1884, allocations: 0 / 0.5874 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1884, allocations: 4 kB / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1884, allocations: 0 / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1884, allocations: 0 / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.1887, allocations: 203 kB / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.1888, allocations: 108.8 kB / 0.5877 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.1889, allocations: 0 / 0.5877 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.189, allocations: 7.984 kB / 0.5877 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.189, allocations: 7.875 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.189, allocations: 4 kB / 0.5877 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004294/0.1895, allocations: 387.1 kB / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1895, allocations: 0 / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1898, allocations: 27.89 kB / 0.5881 GB, free: 192 kB / 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.001383/0.1911, allocations: 0.977 MB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1914, allocations: 43.95 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1914, allocations: 0 / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.1915, allocations: 23.98 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.192, allocations: 55.75 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.1952, allocations: 2.598 MB / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1956, allocations: 0.771 MB / 0.5925 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.619e-05/0.1956, allocations: 41.92 kB / 0.5925 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1958, allocations: 87.41 kB / 0.5926 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.1958, allocations: 0 / 0.5926 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.221, allocations: 4.913 MB / 0.5974 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.607, allocations: 11.7 kB / 0.5974 GB, free: 6.781 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1)