Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001183/0.001183, 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.001275/0.001275, allocations: 194 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7538/0.7538, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.97 kB / 0.5018 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3623, allocations: 80.21 MB / 0.5801 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002565/0.3649, allocations: 1.682 MB / 0.5817 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3666, allocations: 1.502 MB / 0.5832 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.3667, allocations: 9.375 kB / 0.5832 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.367, allocations: 36.92 kB / 0.5832 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.3672, allocations: 64.17 kB / 0.5833 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.3675, allocations: 120.6 kB / 0.5834 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.3677, allocations: 122.8 kB / 0.5835 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.3678, allocations: 7.938 kB / 0.5835 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.3679, allocations: 60.75 kB / 0.5836 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.3681, allocations: 50.31 kB / 0.5836 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.3681, allocations: 14.66 kB / 0.5837 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.3683, allocations: 60.36 kB / 0.5837 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.3684, allocations: 22.42 kB / 0.5837 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.3684, allocations: 45.98 kB / 0.5838 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3687, allocations: 141 kB / 0.5839 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3687, allocations: 0.7031 kB / 0.5839 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3687, allocations: 0 / 0.5839 GB, free: 1.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.3687, allocations: 1.031 kB / 0.5839 GB, free: 1.957 MB / 430.1 MB 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.0005654/0.3693, allocations: 441.5 kB / 0.5843 GB, free: 1.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3693, allocations: 15 kB / 0.5844 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.3694, allocations: 13.47 kB / 0.5844 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3696, allocations: 216 kB / 0.5846 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.3696, allocations: 6 kB / 0.5846 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3696, allocations: 6.625 kB / 0.5846 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3699, allocations: 100.5 kB / 0.5847 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3699, allocations: 4 kB / 0.5847 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3699, allocations: 1.391 kB / 0.5847 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3699, allocations: 1.031 kB / 0.5847 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3701, allocations: 47.06 kB / 0.5847 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.3703, allocations: 211.1 kB / 0.5849 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.3705, allocations: 116.5 kB / 0.585 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.3707, allocations: 52.02 kB / 0.5851 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3707, allocations: 5.953 kB / 0.5851 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.3709, allocations: 115.7 kB / 0.5852 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.371, allocations: 3.938 kB / 0.5852 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004813/0.3714, allocations: 160.4 kB / 0.5854 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3715, allocations: 135.3 kB / 0.5855 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3717, allocations: 175.5 kB / 0.5857 GB, free: 412 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.3717, allocations: 31.45 kB / 0.5857 GB, free: 376 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.3717, allocations: 100.9 kB / 0.5858 GB, free: 280 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.3718, allocations: 24.66 kB / 0.5858 GB, free: 260 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.3718, allocations: 27.53 kB / 0.5858 GB, free: 236 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.3719, allocations: 326.4 kB / 0.5862 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.372, allocations: 34.86 kB / 0.5862 GB, free: 15.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3722, allocations: 65.58 kB / 0.5862 GB, free: 15.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.3724, allocations: 101 kB / 0.5863 GB, free: 15.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3724, allocations: 0 / 0.5863 GB, free: 15.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003261/0.3728, allocations: 138.7 kB / 0.5865 GB, free: 15.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3728, allocations: 4.875 kB / 0.5865 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3728, allocations: 0.9688 kB / 0.5865 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3728, allocations: 6.375 kB / 0.5865 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.373, allocations: 19.67 kB / 0.5865 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.373, allocations: 1.719 kB / 0.5865 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.167e-05/0.3731, allocations: 12.14 kB / 0.5865 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.3731, allocations: 3.703 kB / 0.5865 GB, free: 15.71 MB / 446.1 MB 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 0.000129/0.3732, allocations: 129.5 kB / 0.5866 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.3733, allocations: 14.84 kB / 0.5867 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.3733, allocations: 20.28 kB / 0.5867 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3733, allocations: 3.953 kB / 0.5867 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3733, allocations: 0 / 0.5867 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3734, allocations: 1.516 kB / 0.5867 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.3736, allocations: 205 kB / 0.5869 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3736, allocations: 1.125 kB / 0.5869 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.3737, allocations: 13.91 kB / 0.5869 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3737, allocations: 1.156 kB / 0.5869 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3737, allocations: 7.031 kB / 0.5869 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3737, allocations: 1.125 kB / 0.5869 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3737, allocations: 4.656 kB / 0.5869 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.3741, allocations: 171.6 kB / 0.5871 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.3741, allocations: 89.72 kB / 0.5872 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.3742, allocations: 6.688 kB / 0.5872 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.3742, allocations: 11.5 kB / 0.5872 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.3743, allocations: 7.375 kB / 0.5872 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3743, allocations: 7.828 kB / 0.5872 GB, free: 15.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3745, allocations: 136.9 kB / 0.5873 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3745, allocations: 0 / 0.5873 GB, free: 15.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3747, allocations: 32.66 kB / 0.5874 GB, free: 15.01 MB / 446.1 MB 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.0009681/0.3757, allocations: 453 kB / 0.5878 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.376, allocations: 85.33 kB / 0.5879 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.376, allocations: 0.7812 kB / 0.5879 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3761, allocations: 47.84 kB / 0.5879 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3764, allocations: 27.89 kB / 0.5879 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.3769, allocations: 240.4 kB / 0.5882 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3771, allocations: 0.7024 MB / 0.5889 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.809e-05/0.3772, allocations: 20.45 kB / 0.5889 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.3773, allocations: 24.45 kB / 0.5889 GB, free: 13.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3773, allocations: 0 / 0.5889 GB, free: 13.88 MB / 446.1 MB Notification: Performance of Templates: time 0.005233/0.3825, allocations: 2.03 MB / 0.5909 GB, free: 13.68 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)