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.001498/0.001498, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001543/0.001543, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9274/0.9274, allocations: 135.6 MB / 425.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.25 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.165, allocations: 81.02 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004082/0.1691, allocations: 2.635 MB / 0.5871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1707, allocations: 0.8729 MB / 0.5879 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.171, allocations: 11.94 kB / 0.5879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.1712, allocations: 51.58 kB / 0.588 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1714, allocations: 43.66 kB / 0.588 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.1719, allocations: 223.4 kB / 0.5882 GB, free: 476 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.1724, allocations: 459.6 kB / 0.5887 GB, free: 16 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.1728, allocations: 225.1 kB / 0.5889 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.173, allocations: 147.4 kB / 0.589 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1731, allocations: 151.2 kB / 0.5892 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.553e-05/0.1732, allocations: 48 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.1733, allocations: 52 kB / 0.5893 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.1734, allocations: 87.66 kB / 0.5894 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.1735, allocations: 183.1 kB / 0.5895 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005907/0.1741, allocations: 0.6001 MB / 0.5901 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1741, allocations: 0 / 0.5901 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1741, allocations: 0 / 0.5901 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.1742, allocations: 4 kB / 0.5901 GB, free: 14.53 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.001069/0.1752, allocations: 0.6506 MB / 0.5908 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1753, allocations: 8.031 kB / 0.5908 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.1754, allocations: 44.38 kB / 0.5908 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.1758, allocations: 375.3 kB / 0.5912 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.1759, allocations: 28.88 kB / 0.5912 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.1759, allocations: 28.38 kB / 0.5912 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.1765, allocations: 333.6 kB / 0.5915 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1765, allocations: 0 / 0.5915 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.1766, allocations: 12 kB / 0.5915 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1766, allocations: 4 kB / 0.5915 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.1771, allocations: 234.2 kB / 0.5918 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.1786, allocations: 1.178 MB / 0.5929 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.1791, allocations: 222.8 kB / 0.5931 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1793, allocations: 108.9 kB / 0.5932 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1793, allocations: 0 / 0.5932 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1794, allocations: 30.56 kB / 0.5933 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.1794, allocations: 4 kB / 0.5933 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006457/0.18, allocations: 303.8 kB / 0.5936 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.1801, allocations: 85.05 kB / 0.5936 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.1805, allocations: 332.4 kB / 0.594 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1805, allocations: 25.7 kB / 0.594 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1807, allocations: 200.1 kB / 0.5942 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.1807, allocations: 55.2 kB / 0.5942 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.1808, allocations: 37.7 kB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.181, allocations: 342.8 kB / 0.5946 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1811, allocations: 88.83 kB / 0.5947 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.1814, allocations: 119.2 kB / 0.5948 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.1817, allocations: 196.7 kB / 0.595 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1817, allocations: 0 / 0.595 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004545/0.1822, allocations: 251.4 kB / 0.5952 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1822, allocations: 4 kB / 0.5952 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1822, allocations: 3.984 kB / 0.5952 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1823, allocations: 4 kB / 0.5952 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1824, allocations: 27.98 kB / 0.5953 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1825, allocations: 8 kB / 0.5953 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1826, allocations: 31.62 kB / 0.5953 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1826, allocations: 7.984 kB / 0.5953 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000241/0.1829, allocations: 200.1 kB / 0.5955 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001542/0.183, allocations: 105.5 kB / 0.5956 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000262/0.1833, allocations: 162.5 kB / 0.5957 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.1833, allocations: 0 / 0.5957 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003657/0.1837, allocations: 230.5 kB / 0.596 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.1837, allocations: 4 kB / 0.596 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/0.1837, allocations: 0 / 0.596 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-06/0.1837, allocations: 4 kB / 0.596 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1838, allocations: 23.98 kB / 0.596 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1838, allocations: 4 kB / 0.596 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1839, allocations: 19.91 kB / 0.596 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.184, allocations: 7.938 kB / 0.596 GB, free: 8.184 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.0001282/0.1841, allocations: 192.2 kB / 0.5962 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.1842, allocations: 35.62 kB / 0.5962 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.1842, allocations: 31.28 kB / 0.5963 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1842, allocations: 0 / 0.5963 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1843, allocations: 0 / 0.5963 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1843, allocations: 7.938 kB / 0.5963 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.1847, allocations: 409.4 kB / 0.5967 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1847, allocations: 0 / 0.5967 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1849, allocations: 27.92 kB / 0.5967 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1849, allocations: 4 kB / 0.5967 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1849, allocations: 3.984 kB / 0.5967 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1849, allocations: 7.938 kB / 0.5967 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1849, allocations: 0 / 0.5967 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.1856, allocations: 439 kB / 0.5971 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.1858, allocations: 132.7 kB / 0.5973 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1858, allocations: 8 kB / 0.5973 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.1859, allocations: 8 kB / 0.5973 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.186, allocations: 11.92 kB / 0.5973 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.186, allocations: 4 kB / 0.5973 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002461/0.1863, allocations: 235.1 kB / 0.5975 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1863, allocations: 4.062 kB / 0.5975 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003768/0.1867, allocations: 91.59 kB / 0.5976 GB, free: 6.473 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.0001109/0.1868, allocations: 107.2 kB / 0.5977 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006116/0.1874, allocations: 290.3 kB / 0.598 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1874, allocations: 4.188 kB / 0.598 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.1876, allocations: 103.8 kB / 0.5981 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.1882, allocations: 81.27 kB / 0.5982 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1892, allocations: 0.6682 MB / 0.5988 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.1896, allocations: 0.779 MB / 0.5996 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000134/0.1898, allocations: 30.23 kB / 0.5996 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.1898, allocations: 23.42 kB / 0.5996 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1899, allocations: 0 / 0.5996 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of Templates: time 0.006672/0.1965, allocations: 3.092 MB / 0.6026 GB, free: 1.301 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)