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.0009491/0.000949, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007756/0.007756, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7668/0.7668, allocations: 132.3 MB / 423.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 12.64 kB / 0.504 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4627, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001877/0.4646, allocations: 1.391 MB / 0.585 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.4665, allocations: 1.45 MB / 0.5864 GB, free: 2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.4666, allocations: 0.8125 kB / 0.5864 GB, free: 2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.4669, allocations: 41.73 kB / 0.5865 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.4671, allocations: 52.75 kB / 0.5865 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.4674, allocations: 101.8 kB / 0.5866 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.4676, allocations: 118.5 kB / 0.5867 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.4677, allocations: 8.844 kB / 0.5868 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.4678, allocations: 57.22 kB / 0.5868 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.468, allocations: 47.59 kB / 0.5869 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.4681, allocations: 3.469 kB / 0.5869 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.4682, allocations: 64.52 kB / 0.5869 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.4683, allocations: 23.48 kB / 0.5869 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.062e-05/0.4683, allocations: 68.95 kB / 0.587 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.4686, allocations: 139.5 kB / 0.5871 GB, free: 1.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4686, allocations: 1.75 kB / 0.5871 GB, free: 1.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4686, allocations: 4.719 kB / 0.5872 GB, free: 1.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.4686, allocations: 0 / 0.5872 GB, free: 1.652 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.0005077/0.4691, allocations: 428 kB / 0.5876 GB, free: 1.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4692, allocations: 13.19 kB / 0.5876 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.4692, allocations: 14.59 kB / 0.5876 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.4694, allocations: 216.7 kB / 0.5878 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4695, allocations: 3.016 kB / 0.5878 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.4695, allocations: 6.125 kB / 0.5878 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.4697, allocations: 106.8 kB / 0.5879 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.4697, allocations: 0.6875 kB / 0.5879 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4697, allocations: 1.547 kB / 0.5879 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4698, allocations: 0.7812 kB / 0.5879 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.47, allocations: 58.56 kB / 0.588 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.4702, allocations: 212.5 kB / 0.5882 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.4704, allocations: 114.6 kB / 0.5883 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.4706, allocations: 59.19 kB / 0.5883 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.4706, allocations: 2.125 kB / 0.5883 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.4709, allocations: 116.3 kB / 0.5884 GB, free: 480 kB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.4709, allocations: 0.6562 kB / 0.5884 GB, free: 480 kB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005308/0.4715, allocations: 182.6 kB / 0.5886 GB, free: 400 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.4715, allocations: 131.5 kB / 0.5887 GB, free: 240 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.4717, allocations: 176 kB / 0.5889 GB, free: 116 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.4717, allocations: 27.48 kB / 0.5889 GB, free: 84 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.4718, allocations: 106.6 kB / 0.589 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.4719, allocations: 29.52 kB / 0.5891 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.4719, allocations: 13.58 kB / 0.5891 GB, free: 15.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.472, allocations: 330.5 kB / 0.5894 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.4722, allocations: 35.25 kB / 0.5894 GB, free: 15.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.4723, allocations: 68.12 kB / 0.5895 GB, free: 15.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.4726, allocations: 108.6 kB / 0.5896 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4726, allocations: 0.9688 kB / 0.5896 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003416/0.4729, allocations: 144.8 kB / 0.5897 GB, free: 15.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.473, allocations: 5.672 kB / 0.5897 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.473, allocations: 4.906 kB / 0.5897 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.473, allocations: 1.875 kB / 0.5897 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.4731, allocations: 30.69 kB / 0.5898 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4732, allocations: 5.703 kB / 0.5898 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.4732, allocations: 10.08 kB / 0.5898 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4733, allocations: 4.453 kB / 0.5898 GB, free: 15.41 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.0001117/0.4734, allocations: 127.7 kB / 0.5899 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.4734, allocations: 10.59 kB / 0.5899 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.4735, allocations: 17.14 kB / 0.5899 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4735, allocations: 5.375 kB / 0.5899 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4735, allocations: 1.375 kB / 0.59 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4735, allocations: 2.172 kB / 0.59 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.4737, allocations: 208.3 kB / 0.5902 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4737, allocations: 1.641 kB / 0.5902 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-05/0.4738, allocations: 14.66 kB / 0.5902 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4738, allocations: 1.766 kB / 0.5902 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4738, allocations: 2.891 kB / 0.5902 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.4738, allocations: 5.641 kB / 0.5902 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4738, allocations: 1.594 kB / 0.5902 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.4742, allocations: 173.4 kB / 0.5903 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.4743, allocations: 96.44 kB / 0.5904 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.4743, allocations: 6.953 kB / 0.5904 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.4744, allocations: 13.27 kB / 0.5905 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.4745, allocations: 7.25 kB / 0.5905 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.4745, allocations: 8.688 kB / 0.5905 GB, free: 14.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.4746, allocations: 135.7 kB / 0.5906 GB, free: 14.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4746, allocations: 7.875 kB / 0.5906 GB, free: 14.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.4749, allocations: 32.19 kB / 0.5906 GB, free: 14.71 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.001035/0.4759, allocations: 455.5 kB / 0.5911 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.4763, allocations: 91.75 kB / 0.5912 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4763, allocations: 1.031 kB / 0.5912 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.4764, allocations: 50.58 kB / 0.5912 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.4767, allocations: 32.48 kB / 0.5912 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.4773, allocations: 277.8 kB / 0.5915 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.4776, allocations: 0.7077 MB / 0.5922 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.182e-05/0.4777, allocations: 15.58 kB / 0.5922 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.4777, allocations: 19.95 kB / 0.5922 GB, free: 13.55 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4777, allocations: 0 / 0.5922 GB, free: 13.55 MB / 446.1 MB Notification: Performance of Templates: time 0.007128/0.4849, allocations: 1.898 MB / 0.5941 GB, free: 13.35 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)