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: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001423/0.001423, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9587/0.9587, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 59.31 kB / 0.5049 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.176, allocations: 80.93 MB / 0.5839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004162/0.1802, allocations: 2.634 MB / 0.5865 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1817, allocations: 0.8807 MB / 0.5873 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.182, allocations: 8 kB / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.1823, allocations: 55.58 kB / 0.5874 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1825, allocations: 35.67 kB / 0.5874 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.183, allocations: 226.8 kB / 0.5876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.1835, allocations: 455.6 kB / 0.5881 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.1839, allocations: 229.1 kB / 0.5883 GB, free: 384 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.184, allocations: 143.4 kB / 0.5884 GB, free: 240 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.1842, allocations: 155.1 kB / 0.5886 GB, free: 84 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.1843, allocations: 48 kB / 0.5886 GB, free: 36 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.453e-05/0.1843, allocations: 52.05 kB / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.1844, allocations: 83.67 kB / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1846, allocations: 195 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.1851, allocations: 0.6 MB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1851, allocations: 0 / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1851, allocations: 0 / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.1852, allocations: 4 kB / 0.5895 GB, free: 15.11 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.001014/0.1862, allocations: 0.6429 MB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1862, allocations: 8.031 kB / 0.5902 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.992e-05/0.1863, allocations: 44.38 kB / 0.5902 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.1868, allocations: 379.3 kB / 0.5906 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.1868, allocations: 32.88 kB / 0.5906 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1869, allocations: 24.38 kB / 0.5906 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.1875, allocations: 329.7 kB / 0.5909 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1875, allocations: 0 / 0.5909 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.1875, allocations: 12 kB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1876, allocations: 8 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004752/0.188, allocations: 238.1 kB / 0.5912 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.1895, allocations: 1.166 MB / 0.5923 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.19, allocations: 237.9 kB / 0.5925 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.1903, allocations: 100.9 kB / 0.5926 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1903, allocations: 4 kB / 0.5926 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1903, allocations: 30.56 kB / 0.5927 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.1903, allocations: 3.938 kB / 0.5927 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0007207/0.1911, allocations: 297.2 kB / 0.593 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.1911, allocations: 81.11 kB / 0.593 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.1915, allocations: 336.4 kB / 0.5934 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1916, allocations: 29.7 kB / 0.5934 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.1918, allocations: 192.1 kB / 0.5936 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.1918, allocations: 51.2 kB / 0.5936 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.1919, allocations: 41.7 kB / 0.5937 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1921, allocations: 338.8 kB / 0.594 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.1923, allocations: 88.83 kB / 0.5941 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.1925, allocations: 127.3 kB / 0.5942 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.1929, allocations: 190.5 kB / 0.5944 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1929, allocations: 0 / 0.5944 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004759/0.1934, allocations: 247.2 kB / 0.5946 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1934, allocations: 4 kB / 0.5946 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1934, allocations: 7.984 kB / 0.5946 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1934, allocations: 0 / 0.5946 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.1936, allocations: 35.92 kB / 0.5946 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1936, allocations: 4 kB / 0.5946 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1938, allocations: 35.67 kB / 0.5947 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.1938, allocations: 8 kB / 0.5947 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002338/0.1941, allocations: 196 kB / 0.5949 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000152/0.1942, allocations: 105.3 kB / 0.595 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002603/0.1945, allocations: 164.7 kB / 0.5951 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.1945, allocations: 4 kB / 0.5951 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003858/0.1949, allocations: 225.1 kB / 0.5954 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1949, allocations: 8 kB / 0.5954 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.1949, allocations: 0 / 0.5954 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.1949, allocations: 0 / 0.5954 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1951, allocations: 35.92 kB / 0.5954 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.1951, allocations: 0 / 0.5954 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1952, allocations: 23.91 kB / 0.5954 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1952, allocations: 7.938 kB / 0.5954 GB, free: 8.758 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.0001357/0.1954, allocations: 192.2 kB / 0.5956 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.1954, allocations: 27.62 kB / 0.5956 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.233e-05/0.1955, allocations: 31.28 kB / 0.5957 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1955, allocations: 4 kB / 0.5957 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1955, allocations: 0 / 0.5957 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1956, allocations: 3.938 kB / 0.5957 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.196, allocations: 405.4 kB / 0.5961 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.196, allocations: 4 kB / 0.5961 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.1962, allocations: 27.92 kB / 0.5961 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1962, allocations: 4 kB / 0.5961 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1962, allocations: 4 kB / 0.5961 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1963, allocations: 0 / 0.5961 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1963, allocations: 0 / 0.5961 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.197, allocations: 442.9 kB / 0.5965 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.1972, allocations: 136.7 kB / 0.5967 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.1972, allocations: 0 / 0.5967 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.1974, allocations: 12 kB / 0.5967 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.1974, allocations: 11.92 kB / 0.5967 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1975, allocations: 8 kB / 0.5967 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000307/0.1978, allocations: 235 kB / 0.5969 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1978, allocations: 0 / 0.5969 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004519/0.1982, allocations: 95.66 kB / 0.597 GB, free: 7.055 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.0001237/0.1984, allocations: 99.23 kB / 0.5971 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006622/0.199, allocations: 292 kB / 0.5974 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.199, allocations: 3.938 kB / 0.5974 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.1992, allocations: 100.1 kB / 0.5975 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.1999, allocations: 86.02 kB / 0.5976 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.2012, allocations: 0.6759 MB / 0.5982 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.2016, allocations: 0.7753 MB / 0.599 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.2017, allocations: 22.28 kB / 0.599 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.2018, allocations: 23.44 kB / 0.599 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.2018, allocations: 0 / 0.599 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.007818/0.2096, allocations: 3.091 MB / 0.602 GB, free: 1.887 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)