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.001627/0.001627, 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.00195/0.00195, allocations: 195 kB / 16.53 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9294/0.9294, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 60.5 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1671, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00441/0.1715, allocations: 2.607 MB / 0.587 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1731, allocations: 0.9002 MB / 0.5879 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.1735, allocations: 7.938 kB / 0.5879 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.1737, allocations: 67.38 kB / 0.588 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1739, allocations: 63.41 kB / 0.588 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.1745, allocations: 235.6 kB / 0.5883 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.1749, allocations: 455.7 kB / 0.5887 GB, free: 132 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.1752, allocations: 229.1 kB / 0.5889 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1754, allocations: 143.3 kB / 0.589 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1755, allocations: 151.2 kB / 0.5892 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.1756, allocations: 48 kB / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-05/0.1756, allocations: 52 kB / 0.5893 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.1757, allocations: 91.7 kB / 0.5894 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1759, allocations: 191 kB / 0.5895 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.1764, allocations: 0.6001 MB / 0.5901 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1764, allocations: 0 / 0.5901 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1764, allocations: 0 / 0.5901 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.1764, allocations: 0 / 0.5901 GB, free: 14.64 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008609/0.1773, allocations: 0.6467 MB / 0.5908 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1773, allocations: 12.03 kB / 0.5908 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.1774, allocations: 62.72 kB / 0.5908 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.1775, allocations: 48.31 kB / 0.5909 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.1779, allocations: 383.3 kB / 0.5913 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1779, allocations: 20.94 kB / 0.5913 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.178, allocations: 24.38 kB / 0.5913 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.1785, allocations: 333.5 kB / 0.5916 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1785, allocations: 0 / 0.5916 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.1786, allocations: 12 kB / 0.5916 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1786, allocations: 4 kB / 0.5916 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/0.1791, allocations: 234.1 kB / 0.5918 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.1805, allocations: 1.174 MB / 0.593 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.181, allocations: 226.8 kB / 0.5932 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.1812, allocations: 100.9 kB / 0.5933 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1812, allocations: 7.922 kB / 0.5933 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1812, allocations: 30.56 kB / 0.5933 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.1813, allocations: 4 kB / 0.5933 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006478/0.1819, allocations: 300.2 kB / 0.5936 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.182, allocations: 77.11 kB / 0.5937 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.1823, allocations: 336.3 kB / 0.594 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1823, allocations: 25.7 kB / 0.5941 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1825, allocations: 200 kB / 0.5942 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.1825, allocations: 59.23 kB / 0.5943 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.1826, allocations: 41.7 kB / 0.5943 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1828, allocations: 338.8 kB / 0.5947 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.183, allocations: 88.83 kB / 0.5947 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.1832, allocations: 119.2 kB / 0.5949 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.1835, allocations: 190.5 kB / 0.595 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1836, allocations: 0 / 0.595 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004678/0.184, allocations: 255.4 kB / 0.5953 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1841, allocations: 8.062 kB / 0.5953 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1841, allocations: 0 / 0.5953 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1841, allocations: 4 kB / 0.5953 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.1843, allocations: 31.97 kB / 0.5953 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1843, allocations: 3.938 kB / 0.5953 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1844, allocations: 31.62 kB / 0.5954 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1844, allocations: 8 kB / 0.5954 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002341/0.1847, allocations: 196.1 kB / 0.5956 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001626/0.1849, allocations: 109.4 kB / 0.5957 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002587/0.1851, allocations: 160 kB / 0.5958 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.1851, allocations: 0 / 0.5958 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000367/0.1855, allocations: 229.1 kB / 0.596 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.1855, allocations: 4.094 kB / 0.596 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.1855, allocations: 4 kB / 0.596 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.1855, allocations: 4 kB / 0.596 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.1857, allocations: 27.92 kB / 0.5961 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1857, allocations: 4 kB / 0.5961 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1858, allocations: 19.78 kB / 0.5961 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1858, allocations: 8 kB / 0.5961 GB, free: 8.219 MB / 0.4981 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.0001061/0.1859, allocations: 188.2 kB / 0.5963 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.186, allocations: 31.62 kB / 0.5963 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.092e-05/0.1861, allocations: 43.27 kB / 0.5964 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1861, allocations: 3.984 kB / 0.5964 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1861, allocations: 3.938 kB / 0.5964 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1861, allocations: 4 kB / 0.5964 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.1865, allocations: 401.4 kB / 0.5967 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1865, allocations: 0 / 0.5967 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.1867, allocations: 27.98 kB / 0.5968 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1867, allocations: 0 / 0.5968 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1868, allocations: 0 / 0.5968 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1868, allocations: 4 kB / 0.5968 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1868, allocations: 11.88 kB / 0.5968 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.1875, allocations: 436.7 kB / 0.5972 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.1876, allocations: 128.7 kB / 0.5973 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.1876, allocations: 11.98 kB / 0.5973 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1878, allocations: 4.062 kB / 0.5973 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.1878, allocations: 19.92 kB / 0.5974 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1879, allocations: 4 kB / 0.5974 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002252/0.1881, allocations: 235.1 kB / 0.5976 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1881, allocations: 0 / 0.5976 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003958/0.1885, allocations: 87.59 kB / 0.5977 GB, free: 6.516 MB / 0.4981 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.0009304/0.1894, allocations: 0.9697 MB / 0.5986 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005952/0.19, allocations: 287.8 kB / 0.5989 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.19, allocations: 320 / 0.5989 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.1903, allocations: 102.2 kB / 0.599 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.1909, allocations: 95.69 kB / 0.5991 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.1947, allocations: 2.945 MB / 0.602 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1951, allocations: 0.7753 MB / 0.6027 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000128/0.1952, allocations: 22.28 kB / 0.6027 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.1954, allocations: 99.41 kB / 0.6028 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1954, allocations: 0 / 0.6028 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2652/0.4606, allocations: 6.55 MB / 0.6092 GB, free: 51.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.797, allocations: 6.844 kB / 0.6092 GB, free: 51.6 MB / 0.4981 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)