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.001115/0.001115, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001119/0.001119, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8003/0.8003, allocations: 135.1 MB / 426.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 55.91 kB / 0.506 GB, free: 8.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3546, allocations: 80.92 MB / 0.585 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002584/0.3573, allocations: 1.67 MB / 0.5866 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3589, allocations: 1.506 MB / 0.5881 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.359, allocations: 1.125 kB / 0.5881 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.3593, allocations: 41.73 kB / 0.5882 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.3595, allocations: 66.97 kB / 0.5882 GB, free: 22.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.3598, allocations: 112.5 kB / 0.5883 GB, free: 22.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.3599, allocations: 123.3 kB / 0.5884 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.36, allocations: 12.19 kB / 0.5885 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3601, allocations: 57.11 kB / 0.5885 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.3603, allocations: 49.55 kB / 0.5886 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.3603, allocations: 12.31 kB / 0.5886 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3605, allocations: 62.38 kB / 0.5886 GB, free: 22.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.3605, allocations: 21.77 kB / 0.5886 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.3606, allocations: 49.62 kB / 0.5887 GB, free: 22.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.3608, allocations: 141.8 kB / 0.5888 GB, free: 22.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3608, allocations: 0 / 0.5888 GB, free: 22.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3608, allocations: 0 / 0.5888 GB, free: 22.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3608, allocations: 5.859 kB / 0.5888 GB, free: 22.37 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.0005196/0.3613, allocations: 443.8 kB / 0.5893 GB, free: 21.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3614, allocations: 10.42 kB / 0.5893 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.3614, allocations: 13.91 kB / 0.5893 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3616, allocations: 218.8 kB / 0.5895 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3617, allocations: 4.219 kB / 0.5895 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.3617, allocations: 6.594 kB / 0.5895 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.3619, allocations: 97.2 kB / 0.5896 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3619, allocations: 5.344 kB / 0.5896 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3619, allocations: 1.312 kB / 0.5896 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3619, allocations: 0 / 0.5896 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.3621, allocations: 53.98 kB / 0.5897 GB, free: 21.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.3623, allocations: 206.6 kB / 0.5898 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.3625, allocations: 115.9 kB / 0.59 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3627, allocations: 57.98 kB / 0.59 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3627, allocations: 6.766 kB / 0.59 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.3629, allocations: 109.8 kB / 0.5901 GB, free: 21.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.3629, allocations: 3.562 kB / 0.5901 GB, free: 21.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004496/0.3634, allocations: 163.1 kB / 0.5903 GB, free: 20.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3634, allocations: 133.6 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3636, allocations: 175.4 kB / 0.5906 GB, free: 20.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.3636, allocations: 30.33 kB / 0.5906 GB, free: 20.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.3636, allocations: 105.5 kB / 0.5907 GB, free: 20.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.3637, allocations: 27.64 kB / 0.5907 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.3637, allocations: 25.7 kB / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.3638, allocations: 323.5 kB / 0.5911 GB, free: 20.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.3639, allocations: 28.89 kB / 0.5911 GB, free: 20.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.364, allocations: 67.11 kB / 0.5912 GB, free: 19.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.3642, allocations: 98.45 kB / 0.5913 GB, free: 19.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3642, allocations: 0 / 0.5913 GB, free: 19.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002759/0.3645, allocations: 137.3 kB / 0.5914 GB, free: 19.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3645, allocations: 4.781 kB / 0.5914 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3645, allocations: 4 kB / 0.5914 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3645, allocations: 1.562 kB / 0.5914 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3646, allocations: 20.3 kB / 0.5914 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3647, allocations: 0 / 0.5914 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.3647, allocations: 17.61 kB / 0.5914 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3648, allocations: 8 kB / 0.5914 GB, free: 19.68 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 7.029e-05/0.3648, allocations: 130.6 kB / 0.5916 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.3649, allocations: 14.56 kB / 0.5916 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.3649, allocations: 21.41 kB / 0.5916 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3649, allocations: 0 / 0.5916 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3649, allocations: 0 / 0.5916 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3649, allocations: 3.984 kB / 0.5916 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.3651, allocations: 205.5 kB / 0.5918 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3651, allocations: 4 kB / 0.5918 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.3651, allocations: 9.906 kB / 0.5918 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3651, allocations: 4.188 kB / 0.5918 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3652, allocations: 3.984 kB / 0.5918 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3652, allocations: 3.938 kB / 0.5918 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3652, allocations: 7.984 kB / 0.5918 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.3655, allocations: 166.5 kB / 0.592 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.3655, allocations: 92.92 kB / 0.5921 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3655, allocations: 0 / 0.5921 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.3656, allocations: 8.828 kB / 0.5921 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.3657, allocations: 16.61 kB / 0.5921 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.3657, allocations: 4 kB / 0.5921 GB, free: 18.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.004e-05/0.3658, allocations: 134.3 kB / 0.5922 GB, free: 18.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3658, allocations: 0 / 0.5922 GB, free: 18.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.366, allocations: 31.98 kB / 0.5923 GB, free: 18.75 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.0009551/0.367, allocations: 446.6 kB / 0.5927 GB, free: 18.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.3673, allocations: 97.84 kB / 0.5928 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3673, allocations: 0 / 0.5928 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3674, allocations: 42.28 kB / 0.5928 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3677, allocations: 42.16 kB / 0.5929 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.3681, allocations: 262 kB / 0.5931 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3683, allocations: 0.7093 MB / 0.5938 GB, free: 17.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.3683, allocations: 21.59 kB / 0.5938 GB, free: 17.31 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3683, allocations: 0 / 0.5938 GB, free: 17.31 MB / 446.1 MB Notification: Performance of Templates: time 0.003473/0.3718, allocations: 2.199 MB / 0.596 GB, free: 15.15 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)