Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",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.005701/0.005701, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001348/0.001348, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8535/0.8535, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 67.27 kB / 0.5857 GB, free: 21.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1698, allocations: 81.03 MB / 0.6648 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00461/0.1744, allocations: 2.6 MB / 0.6674 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1765, allocations: 0.8999 MB / 0.6683 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.1768, allocations: 8 kB / 0.6683 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.177, allocations: 71.27 kB / 0.6683 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1772, allocations: 63.41 kB / 0.6684 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.1778, allocations: 238.5 kB / 0.6686 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.1783, allocations: 455.7 kB / 0.6691 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.1787, allocations: 225.4 kB / 0.6693 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1789, allocations: 147.4 kB / 0.6694 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1791, allocations: 147.2 kB / 0.6696 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.1791, allocations: 48 kB / 0.6696 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.892e-05/0.1792, allocations: 52 kB / 0.6696 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-05/0.1793, allocations: 95.64 kB / 0.6697 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1795, allocations: 183.1 kB / 0.6699 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.1803, allocations: 0.6266 MB / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1803, allocations: 0 / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1803, allocations: 0 / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.1803, allocations: 0 / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001042/0.1813, allocations: 0.6582 MB / 0.6712 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1814, allocations: 9.109 kB / 0.6712 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.375e-05/0.1815, allocations: 62.67 kB / 0.6712 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.1816, allocations: 48.66 kB / 0.6713 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.1822, allocations: 395.5 kB / 0.6717 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.1822, allocations: 24.92 kB / 0.6717 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.449e-05/0.1823, allocations: 32.36 kB / 0.6717 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.1829, allocations: 321.5 kB / 0.672 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1829, allocations: 4 kB / 0.672 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.1829, allocations: 12 kB / 0.672 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1829, allocations: 8 kB / 0.672 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.1834, allocations: 230.1 kB / 0.6723 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.185, allocations: 1.167 MB / 0.6734 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.1856, allocations: 234.8 kB / 0.6736 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.1858, allocations: 96.83 kB / 0.6737 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1858, allocations: 0 / 0.6737 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.1859, allocations: 34.56 kB / 0.6738 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.1859, allocations: 0 / 0.6738 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.000718/0.1866, allocations: 307.5 kB / 0.674 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.1867, allocations: 77.11 kB / 0.6741 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.187, allocations: 332.5 kB / 0.6744 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1871, allocations: 29.7 kB / 0.6745 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1872, allocations: 196.2 kB / 0.6747 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.1873, allocations: 59.47 kB / 0.6747 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.1874, allocations: 45.7 kB / 0.6748 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1876, allocations: 342.8 kB / 0.6751 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1878, allocations: 88.83 kB / 0.6752 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.1881, allocations: 121.9 kB / 0.6753 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.1884, allocations: 188.2 kB / 0.6755 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1885, allocations: 0 / 0.6755 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005125/0.189, allocations: 257.3 kB / 0.6757 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.189, allocations: 8.062 kB / 0.6757 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.189, allocations: 0 / 0.6757 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.189, allocations: 4 kB / 0.6757 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.1892, allocations: 27.98 kB / 0.6757 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1892, allocations: 7.875 kB / 0.6758 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1894, allocations: 35.83 kB / 0.6758 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1894, allocations: 4 kB / 0.6758 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002579/0.1897, allocations: 192.1 kB / 0.676 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001682/0.1899, allocations: 111.3 kB / 0.6761 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002839/0.1901, allocations: 164.2 kB / 0.6762 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.71e-07/0.1902, allocations: 0 / 0.6762 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003854/0.1905, allocations: 231.2 kB / 0.6765 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.1906, allocations: 12.09 kB / 0.6765 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.1906, allocations: 0 / 0.6765 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-06/0.1906, allocations: 0 / 0.6765 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1907, allocations: 31.92 kB / 0.6765 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.1907, allocations: 0 / 0.6765 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.1908, allocations: 23.88 kB / 0.6765 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.1909, allocations: 4 kB / 0.6765 GB, free: 9.34 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001254/0.191, allocations: 188.2 kB / 0.6767 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.1911, allocations: 27.81 kB / 0.6767 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.1911, allocations: 39.28 kB / 0.6768 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1912, allocations: 4 kB / 0.6768 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1912, allocations: 7.875 kB / 0.6768 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1912, allocations: 0 / 0.6768 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.1916, allocations: 409.3 kB / 0.6772 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1917, allocations: 0 / 0.6772 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.1919, allocations: 27.98 kB / 0.6772 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1919, allocations: 4 kB / 0.6772 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1919, allocations: 3.984 kB / 0.6772 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1919, allocations: 0 / 0.6772 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1919, allocations: 7.938 kB / 0.6772 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.1926, allocations: 431.2 kB / 0.6776 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.1928, allocations: 136.9 kB / 0.6778 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.1928, allocations: 4 kB / 0.6778 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.193, allocations: 11.98 kB / 0.6778 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.193, allocations: 19.98 kB / 0.6778 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1931, allocations: 4 kB / 0.6778 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002592/0.1933, allocations: 235.1 kB / 0.678 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.054e-06/0.1933, allocations: 0 / 0.678 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004044/0.1938, allocations: 95.66 kB / 0.6781 GB, free: 7.633 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001018/0.1948, allocations: 0.9684 MB / 0.6791 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006302/0.1954, allocations: 281.8 kB / 0.6793 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1954, allocations: 320 / 0.6793 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.1956, allocations: 99.91 kB / 0.6794 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.1962, allocations: 89.78 kB / 0.6795 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.2004, allocations: 2.932 MB / 0.6824 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.2008, allocations: 0.7792 MB / 0.6831 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.201, allocations: 26.28 kB / 0.6832 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.2012, allocations: 95.41 kB / 0.6832 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of SimCode: time 9.11e-07/0.2012, allocations: 3.938 kB / 0.6832 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.2333, allocations: 6.69 MB / 0.6898 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.502, allocations: 2.344 kB / 0.6898 GB, free: 11.65 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)