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.001464/0.001464, allocations: 112.6 kB / 16.37 MB, free: 6 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.001615/0.001615, allocations: 196 kB / 17.31 MB, free: 5.613 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7712/0.7712, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.89 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3127, allocations: 80.18 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002577/0.3154, allocations: 1.676 MB / 0.5831 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3169, allocations: 1.507 MB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.317, allocations: 5.25 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.3173, allocations: 40.77 kB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.3175, allocations: 64 kB / 0.5847 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3177, allocations: 116 kB / 0.5848 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3179, allocations: 130.5 kB / 0.5849 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.3179, allocations: 12.17 kB / 0.585 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.338e-05/0.318, allocations: 53.17 kB / 0.585 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.3182, allocations: 53.61 kB / 0.5851 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.3183, allocations: 6.156 kB / 0.5851 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3184, allocations: 62.19 kB / 0.5851 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.3184, allocations: 30.41 kB / 0.5852 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.3185, allocations: 37.86 kB / 0.5852 GB, free: 24.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3187, allocations: 148.7 kB / 0.5853 GB, free: 24.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3187, allocations: 7.281 kB / 0.5853 GB, free: 24.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3187, allocations: 0 / 0.5853 GB, free: 24.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3187, allocations: 0 / 0.5853 GB, free: 24.64 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.0005048/0.3192, allocations: 435.4 kB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3193, allocations: 9.625 kB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.3193, allocations: 15.25 kB / 0.5858 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.3195, allocations: 229.1 kB / 0.586 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3196, allocations: 1.469 kB / 0.586 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3196, allocations: 6.594 kB / 0.586 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.3198, allocations: 98.45 kB / 0.5861 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3198, allocations: 1.25 kB / 0.5861 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3198, allocations: 0 / 0.5861 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3198, allocations: 1.031 kB / 0.5861 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.32, allocations: 59.05 kB / 0.5862 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.3202, allocations: 206.1 kB / 0.5864 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.3204, allocations: 118.9 kB / 0.5865 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3205, allocations: 51.84 kB / 0.5865 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.3206, allocations: 5.734 kB / 0.5865 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.3208, allocations: 118.6 kB / 0.5866 GB, free: 23.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.3208, allocations: 0.625 kB / 0.5866 GB, free: 23.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004307/0.3212, allocations: 156 kB / 0.5868 GB, free: 23.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.3213, allocations: 135.6 kB / 0.5869 GB, free: 23.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3214, allocations: 180.2 kB / 0.5871 GB, free: 22.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.3214, allocations: 26.64 kB / 0.5871 GB, free: 22.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.3215, allocations: 104.7 kB / 0.5872 GB, free: 22.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.3215, allocations: 23.53 kB / 0.5872 GB, free: 22.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.3216, allocations: 26.8 kB / 0.5873 GB, free: 22.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.3216, allocations: 327.3 kB / 0.5876 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.3217, allocations: 24.67 kB / 0.5876 GB, free: 22.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.3218, allocations: 66.67 kB / 0.5877 GB, free: 22.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.322, allocations: 98.92 kB / 0.5878 GB, free: 22.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.322, allocations: 1.281 kB / 0.5878 GB, free: 22.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002852/0.3223, allocations: 136.1 kB / 0.5879 GB, free: 22.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3223, allocations: 5.25 kB / 0.5879 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3224, allocations: 1.938 kB / 0.5879 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3224, allocations: 1.125 kB / 0.5879 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3225, allocations: 20.77 kB / 0.5879 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.3225, allocations: 3.375 kB / 0.5879 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.3226, allocations: 17.42 kB / 0.5879 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3226, allocations: 7.844 kB / 0.5879 GB, free: 22.23 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 8.425e-05/0.3227, allocations: 132.3 kB / 0.5881 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.3228, allocations: 17.84 kB / 0.5881 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.3228, allocations: 15.84 kB / 0.5881 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3228, allocations: 1.312 kB / 0.5881 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3228, allocations: 320 / 0.5881 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3228, allocations: 1.25 kB / 0.5881 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.323, allocations: 207.1 kB / 0.5883 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.323, allocations: 9.328 kB / 0.5883 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.323, allocations: 13.8 kB / 0.5883 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3231, allocations: 1.375 kB / 0.5883 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3231, allocations: 6.453 kB / 0.5883 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3231, allocations: 1.219 kB / 0.5883 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3231, allocations: 2.781 kB / 0.5883 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.3234, allocations: 176.8 kB / 0.5885 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.3234, allocations: 85.83 kB / 0.5886 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3235, allocations: 1.188 kB / 0.5886 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.3235, allocations: 10.67 kB / 0.5886 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.3236, allocations: 7.844 kB / 0.5886 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.3236, allocations: 12.17 kB / 0.5886 GB, free: 21.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.3237, allocations: 128.5 kB / 0.5887 GB, free: 21.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3237, allocations: 0 / 0.5887 GB, free: 21.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.324, allocations: 34.17 kB / 0.5888 GB, free: 21.47 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.0009327/0.3249, allocations: 444.1 kB / 0.5892 GB, free: 21.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.3252, allocations: 86.06 kB / 0.5893 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3252, allocations: 0 / 0.5893 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3253, allocations: 46.91 kB / 0.5893 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3256, allocations: 37.75 kB / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.3259, allocations: 240.8 kB / 0.5896 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.3261, allocations: 0.7065 MB / 0.5903 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.837e-05/0.3261, allocations: 21.58 kB / 0.5903 GB, free: 20.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.3262, allocations: 27.23 kB / 0.5903 GB, free: 20.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3262, allocations: 1.125 kB / 0.5903 GB, free: 20.3 MB / 446.1 MB Notification: Performance of Templates: time 0.004301/0.3305, allocations: 2.029 MB / 0.5923 GB, free: 19 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)