Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.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.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009024, allocations: 97.78 kB / 16.02 MB, free: 76 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.0008259/0.0008259, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9339/0.9339, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 16.83 kB / 0.5082 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1672, allocations: 82.3 MB / 0.5886 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001904/0.1691, allocations: 1.379 MB / 0.59 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1711, allocations: 1.452 MB / 0.5914 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.1712, allocations: 0 / 0.5914 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.1714, allocations: 39.83 kB / 0.5914 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.1716, allocations: 51.77 kB / 0.5915 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1719, allocations: 99.77 kB / 0.5916 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1721, allocations: 123.5 kB / 0.5917 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.1721, allocations: 13.12 kB / 0.5917 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1723, allocations: 51.7 kB / 0.5917 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000831/0.1731, allocations: 51.77 kB / 0.5918 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1731, allocations: 3.938 kB / 0.5918 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1732, allocations: 59.97 kB / 0.5919 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.1733, allocations: 23.91 kB / 0.5919 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.1733, allocations: 61.44 kB / 0.5919 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1735, allocations: 111.6 kB / 0.592 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1735, allocations: 0 / 0.592 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.51e-07/0.1735, allocations: 4 kB / 0.592 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1735, allocations: 4 kB / 0.5921 GB, free: 15.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004805/0.174, allocations: 420.7 kB / 0.5925 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1741, allocations: 8.031 kB / 0.5925 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.1741, allocations: 20.73 kB / 0.5925 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1744, allocations: 217.5 kB / 0.5927 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1744, allocations: 4.375 kB / 0.5927 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1744, allocations: 4.125 kB / 0.5927 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.1746, allocations: 109.1 kB / 0.5928 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1747, allocations: 0 / 0.5928 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1747, allocations: 3.938 kB / 0.5928 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1747, allocations: 4 kB / 0.5928 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.1749, allocations: 59.95 kB / 0.5929 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.1751, allocations: 207.4 kB / 0.5931 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.1754, allocations: 119.8 kB / 0.5932 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1755, allocations: 58.55 kB / 0.5932 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1756, allocations: 11.92 kB / 0.5932 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.1758, allocations: 109.9 kB / 0.5933 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1758, allocations: 0 / 0.5933 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004789/0.1763, allocations: 181.3 kB / 0.5935 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.1764, allocations: 128.5 kB / 0.5936 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1766, allocations: 184.1 kB / 0.5938 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1766, allocations: 33.64 kB / 0.5939 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.1767, allocations: 104.1 kB / 0.5939 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.1767, allocations: 19.72 kB / 0.594 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.1767, allocations: 13.72 kB / 0.594 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1769, allocations: 326.8 kB / 0.5943 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.177, allocations: 35.98 kB / 0.5943 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1771, allocations: 72.2 kB / 0.5944 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.1773, allocations: 103.6 kB / 0.5945 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1773, allocations: 0 / 0.5945 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002902/0.1776, allocations: 149.4 kB / 0.5946 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.1777, allocations: 10.03 kB / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1777, allocations: 0 / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1777, allocations: 0 / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1778, allocations: 27.98 kB / 0.5947 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1778, allocations: 0 / 0.5947 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.1779, allocations: 19.83 kB / 0.5947 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1779, allocations: 4.062 kB / 0.5947 GB, free: 12.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.706e-05/0.178, allocations: 133.7 kB / 0.5948 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.1781, allocations: 11.91 kB / 0.5948 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.1781, allocations: 17.39 kB / 0.5949 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1781, allocations: 0 / 0.5949 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1781, allocations: 4 kB / 0.5949 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1781, allocations: 0 / 0.5949 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.1783, allocations: 209.4 kB / 0.5951 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1783, allocations: 0 / 0.5951 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.1784, allocations: 19.98 kB / 0.5951 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1784, allocations: 0 / 0.5951 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.1784, allocations: 4 kB / 0.5951 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1784, allocations: 0 / 0.5951 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1784, allocations: 3.984 kB / 0.5951 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.1788, allocations: 174.6 kB / 0.5952 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.1788, allocations: 96.91 kB / 0.5953 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.1789, allocations: 4 kB / 0.5953 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.1789, allocations: 11.98 kB / 0.5954 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.179, allocations: 7.984 kB / 0.5954 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.179, allocations: 12 kB / 0.5954 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001163/0.1791, allocations: 135.2 kB / 0.5955 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1791, allocations: 0 / 0.5955 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002422/0.1794, allocations: 32 kB / 0.5955 GB, free: 11.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000978/0.1804, allocations: 457.2 kB / 0.596 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.1807, allocations: 91.88 kB / 0.5961 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1807, allocations: 0 / 0.5961 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1808, allocations: 48.23 kB / 0.5961 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1811, allocations: 40.03 kB / 0.5961 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.1816, allocations: 300.7 kB / 0.5964 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1819, allocations: 0.7004 MB / 0.5971 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.1819, allocations: 19.42 kB / 0.5971 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1819, allocations: 0 / 0.5971 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of Templates: time 0.004034/0.186, allocations: 2.168 MB / 0.5992 GB, free: 7.387 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)