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.001044/0.001044, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.00105/0.00105, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7536/0.7536, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001185, allocations: 67.89 kB / 0.5067 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3621, allocations: 80.9 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.0026/0.3647, allocations: 1.67 MB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3665, allocations: 1.51 MB / 0.5889 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.3666, allocations: 2 kB / 0.5889 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.3669, allocations: 37.58 kB / 0.5889 GB, free: 23.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.3671, allocations: 67.44 kB / 0.589 GB, free: 23.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.3674, allocations: 114.9 kB / 0.5891 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.3675, allocations: 128.6 kB / 0.5892 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.3676, allocations: 6.844 kB / 0.5892 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3677, allocations: 65.08 kB / 0.5893 GB, free: 22.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.3691, allocations: 48.5 kB / 0.5893 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3692, allocations: 10.97 kB / 0.5893 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3693, allocations: 57.8 kB / 0.5894 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.3694, allocations: 26.91 kB / 0.5894 GB, free: 22.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.28e-05/0.3694, allocations: 49.84 kB / 0.5894 GB, free: 22.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3697, allocations: 152.5 kB / 0.5896 GB, free: 22.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3697, allocations: 0 / 0.5896 GB, free: 22.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3697, allocations: 0.7188 kB / 0.5896 GB, free: 22.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3697, allocations: 0 / 0.5896 GB, free: 22.58 MB / 446.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.0005738/0.3703, allocations: 448.7 kB / 0.59 GB, free: 22.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3703, allocations: 13.05 kB / 0.59 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.3704, allocations: 16.75 kB / 0.59 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.3706, allocations: 208.1 kB / 0.5902 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3706, allocations: 4.375 kB / 0.5902 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3706, allocations: 8.062 kB / 0.5903 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.3708, allocations: 102.5 kB / 0.5904 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3709, allocations: 1.688 kB / 0.5904 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3709, allocations: 0 / 0.5904 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3709, allocations: 4 kB / 0.5904 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.371, allocations: 52.45 kB / 0.5904 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.3712, allocations: 213.8 kB / 0.5906 GB, free: 21.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.3714, allocations: 113.4 kB / 0.5907 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.3715, allocations: 52.08 kB / 0.5908 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.3716, allocations: 5.125 kB / 0.5908 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.3718, allocations: 116.3 kB / 0.5909 GB, free: 21.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3718, allocations: 0 / 0.5909 GB, free: 21.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004169/0.3722, allocations: 166.6 kB / 0.591 GB, free: 20.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.3723, allocations: 133.1 kB / 0.5912 GB, free: 20.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3724, allocations: 176.5 kB / 0.5913 GB, free: 20.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.3724, allocations: 25.7 kB / 0.5914 GB, free: 20.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.3724, allocations: 108.7 kB / 0.5915 GB, free: 20.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3725, allocations: 24.86 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.3725, allocations: 21.72 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.3726, allocations: 324.6 kB / 0.5918 GB, free: 20.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.364e-05/0.3727, allocations: 35.97 kB / 0.5919 GB, free: 20 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.3728, allocations: 64.44 kB / 0.5919 GB, free: 19.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.373, allocations: 95.33 kB / 0.592 GB, free: 19.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.373, allocations: 0 / 0.592 GB, free: 19.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002496/0.3732, allocations: 130.7 kB / 0.5921 GB, free: 19.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3733, allocations: 8.656 kB / 0.5921 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3733, allocations: 0 / 0.5921 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3733, allocations: 9.109 kB / 0.5922 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3734, allocations: 23.92 kB / 0.5922 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/0.3734, allocations: 2.5 kB / 0.5922 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.3735, allocations: 4 kB / 0.5922 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3735, allocations: 4 kB / 0.5922 GB, free: 19.64 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 9.115e-05/0.3736, allocations: 130.8 kB / 0.5923 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3737, allocations: 15.81 kB / 0.5923 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.3737, allocations: 22.73 kB / 0.5923 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3737, allocations: 4 kB / 0.5923 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3737, allocations: 0 / 0.5923 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3737, allocations: 1.375 kB / 0.5924 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3739, allocations: 213.5 kB / 0.5926 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3739, allocations: 3.938 kB / 0.5926 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/0.3739, allocations: 16.3 kB / 0.5926 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.374, allocations: 2.156 kB / 0.5926 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.374, allocations: 4 kB / 0.5926 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.374, allocations: 4 kB / 0.5926 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.374, allocations: 0 / 0.5926 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.3743, allocations: 164.9 kB / 0.5927 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.3743, allocations: 94.27 kB / 0.5928 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3743, allocations: 8 kB / 0.5928 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.3744, allocations: 7.984 kB / 0.5928 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.3744, allocations: 12.86 kB / 0.5929 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3745, allocations: 7.984 kB / 0.5929 GB, free: 18.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.678e-05/0.3745, allocations: 134.3 kB / 0.593 GB, free: 18.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3746, allocations: 0 / 0.593 GB, free: 18.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.3748, allocations: 34.41 kB / 0.593 GB, free: 18.69 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.0009478/0.3757, allocations: 432.2 kB / 0.5934 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.376, allocations: 89.03 kB / 0.5935 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.376, allocations: 1.625 kB / 0.5935 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3761, allocations: 39.92 kB / 0.5936 GB, free: 18.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3764, allocations: 47.28 kB / 0.5936 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.3768, allocations: 249.2 kB / 0.5938 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.3769, allocations: 0.702 MB / 0.5945 GB, free: 17.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.376e-05/0.377, allocations: 22.83 kB / 0.5946 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.377, allocations: 23.42 kB / 0.5946 GB, free: 17.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.377, allocations: 0 / 0.5946 GB, free: 17.27 MB / 446.1 MB Notification: Performance of Templates: time 0.00451/0.3815, allocations: 2.042 MB / 0.5966 GB, free: 15.28 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)