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.001638/0.001638, 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.001876/0.001876, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9304/0.9304, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 64.5 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1659, allocations: 80.92 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004361/0.1703, allocations: 2.602 MB / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.172, allocations: 0.9001 MB / 0.5878 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.1724, allocations: 15.88 kB / 0.5878 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.1727, allocations: 59.39 kB / 0.5879 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.1729, allocations: 59.41 kB / 0.5879 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.1735, allocations: 242.8 kB / 0.5881 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.174, allocations: 455.7 kB / 0.5886 GB, free: 224 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/0.1744, allocations: 233.1 kB / 0.5888 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1746, allocations: 151.4 kB / 0.589 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1747, allocations: 147.2 kB / 0.5891 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.1748, allocations: 52 kB / 0.5891 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.502e-05/0.1749, allocations: 48 kB / 0.5892 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.175, allocations: 87.7 kB / 0.5893 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.1751, allocations: 191 kB / 0.5895 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.1756, allocations: 0.5961 MB / 0.59 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1757, allocations: 4 kB / 0.59 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1757, allocations: 0 / 0.59 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.1757, allocations: 0 / 0.59 GB, free: 14.72 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.001005/0.1767, allocations: 0.6507 MB / 0.5907 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1767, allocations: 15.97 kB / 0.5907 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.1768, allocations: 52.31 kB / 0.5907 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.1773, allocations: 367.4 kB / 0.5911 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.1773, allocations: 20.94 kB / 0.5911 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.1774, allocations: 32.38 kB / 0.5911 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.178, allocations: 321.7 kB / 0.5914 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.178, allocations: 0 / 0.5914 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.178, allocations: 16 kB / 0.5915 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.178, allocations: 11.98 kB / 0.5915 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.1785, allocations: 234.1 kB / 0.5917 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.18, allocations: 1.166 MB / 0.5928 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.1805, allocations: 230.8 kB / 0.5931 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.1807, allocations: 96.83 kB / 0.5931 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1807, allocations: 0 / 0.5931 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1808, allocations: 38.5 kB / 0.5932 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.1808, allocations: 0 / 0.5932 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006611/0.1815, allocations: 301.2 kB / 0.5935 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.1815, allocations: 77.11 kB / 0.5935 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.1819, allocations: 336.4 kB / 0.5939 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1819, allocations: 29.7 kB / 0.5939 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.182, allocations: 192.1 kB / 0.5941 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.1821, allocations: 55.2 kB / 0.5941 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.1822, allocations: 37.7 kB / 0.5942 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1823, allocations: 346.8 kB / 0.5945 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.1825, allocations: 88.83 kB / 0.5946 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.1827, allocations: 127.2 kB / 0.5947 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.1831, allocations: 190.5 kB / 0.5949 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1831, allocations: 0 / 0.5949 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004617/0.1836, allocations: 251.5 kB / 0.5951 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1836, allocations: 4 kB / 0.5951 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1836, allocations: 0 / 0.5951 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1836, allocations: 4 kB / 0.5951 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.1838, allocations: 35.98 kB / 0.5952 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1838, allocations: 0 / 0.5952 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.184, allocations: 43.55 kB / 0.5952 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.184, allocations: 8 kB / 0.5952 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002367/0.1842, allocations: 196.1 kB / 0.5954 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001572/0.1844, allocations: 105.6 kB / 0.5955 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002593/0.1847, allocations: 162.5 kB / 0.5957 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.1847, allocations: 0 / 0.5957 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003638/0.185, allocations: 231.2 kB / 0.5959 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.076e-06/0.185, allocations: 4 kB / 0.5959 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-06/0.1851, allocations: 4 kB / 0.5959 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.1851, allocations: 0 / 0.5959 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1852, allocations: 35.98 kB / 0.5959 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.1852, allocations: 0 / 0.5959 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.1853, allocations: 15.84 kB / 0.5959 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1854, allocations: 11.94 kB / 0.5959 GB, free: 8.371 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.0001068/0.1855, allocations: 184.3 kB / 0.5961 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.1855, allocations: 31.62 kB / 0.5962 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.1856, allocations: 35.27 kB / 0.5962 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1856, allocations: 4 kB / 0.5962 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1856, allocations: 0 / 0.5962 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1856, allocations: 15.86 kB / 0.5962 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.1861, allocations: 405.4 kB / 0.5966 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1861, allocations: 0 / 0.5966 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.1862, allocations: 23.98 kB / 0.5966 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1863, allocations: 0 / 0.5966 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1863, allocations: 4 kB / 0.5966 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1863, allocations: 0 / 0.5966 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1863, allocations: 0 / 0.5966 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.187, allocations: 445.8 kB / 0.597 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1871, allocations: 136.7 kB / 0.5972 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.1872, allocations: 0 / 0.5972 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1873, allocations: 11.98 kB / 0.5972 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.1874, allocations: 15.92 kB / 0.5972 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.1874, allocations: 0 / 0.5972 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002715/0.1877, allocations: 243.1 kB / 0.5974 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1877, allocations: 0 / 0.5974 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004207/0.1881, allocations: 91.59 kB / 0.5975 GB, free: 6.668 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.0002173/0.1883, allocations: 107.2 kB / 0.5976 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006517/0.189, allocations: 285.8 kB / 0.5979 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.189, allocations: 8.188 kB / 0.5979 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.1892, allocations: 95.91 kB / 0.598 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.1898, allocations: 79.95 kB / 0.5981 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1908, allocations: 0.5665 MB / 0.5986 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.1912, allocations: 0.7753 MB / 0.5994 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.1913, allocations: 22.28 kB / 0.5994 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.1914, allocations: 23.44 kB / 0.5994 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1914, allocations: 0 / 0.5994 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.007253/0.1987, allocations: 3.157 MB / 0.6025 GB, free: 1.551 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)