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.001038/0.001038, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.001018/0.001018, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.556/1.556, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7898/0.7898, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 0.5068 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.308, allocations: 80.89 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002502/0.3105, allocations: 1.678 MB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3121, allocations: 1.504 MB / 0.5889 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.3122, allocations: 1.438 kB / 0.5889 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.3124, allocations: 45.2 kB / 0.5889 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.3126, allocations: 66.42 kB / 0.589 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3129, allocations: 116.4 kB / 0.5891 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.313, allocations: 126.5 kB / 0.5892 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.3131, allocations: 7.969 kB / 0.5892 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.3132, allocations: 57.62 kB / 0.5893 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.3134, allocations: 57.14 kB / 0.5893 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3134, allocations: 6.156 kB / 0.5893 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3135, allocations: 60.08 kB / 0.5894 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.3136, allocations: 25.2 kB / 0.5894 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.3136, allocations: 38.5 kB / 0.5895 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.3138, allocations: 149.4 kB / 0.5896 GB, free: 22.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3138, allocations: 5.719 kB / 0.5896 GB, free: 22.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3138, allocations: 0 / 0.5896 GB, free: 22.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3139, allocations: 0 / 0.5896 GB, free: 22.6 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.0004665/0.3143, allocations: 444.1 kB / 0.59 GB, free: 22.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.3144, allocations: 13.11 kB / 0.59 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.3144, allocations: 12.75 kB / 0.59 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.3146, allocations: 212.9 kB / 0.5903 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3146, allocations: 9.922 kB / 0.5903 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3147, allocations: 8.125 kB / 0.5903 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3148, allocations: 99.2 kB / 0.5904 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3149, allocations: 4 kB / 0.5904 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3149, allocations: 0 / 0.5904 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3149, allocations: 0 / 0.5904 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.315, allocations: 53.33 kB / 0.5904 GB, free: 21.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.3152, allocations: 216.6 kB / 0.5906 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.3154, allocations: 110 kB / 0.5907 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.697e-05/0.3155, allocations: 55.64 kB / 0.5908 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.3156, allocations: 0.625 kB / 0.5908 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.3157, allocations: 125 kB / 0.5909 GB, free: 21.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3157, allocations: 0 / 0.5909 GB, free: 21.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004016/0.3161, allocations: 159.7 kB / 0.5911 GB, free: 20.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.3162, allocations: 132.5 kB / 0.5912 GB, free: 20.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3163, allocations: 172.1 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.3163, allocations: 30.98 kB / 0.5914 GB, free: 20.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.3164, allocations: 104.1 kB / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.3164, allocations: 27.64 kB / 0.5915 GB, free: 20.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.3164, allocations: 22.25 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.3165, allocations: 324.2 kB / 0.5918 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.3166, allocations: 31.97 kB / 0.5919 GB, free: 20.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.452e-05/0.3167, allocations: 76.98 kB / 0.5919 GB, free: 19.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3169, allocations: 91.34 kB / 0.592 GB, free: 19.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3169, allocations: 0 / 0.592 GB, free: 19.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002426/0.3171, allocations: 140.6 kB / 0.5922 GB, free: 19.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3171, allocations: 6.188 kB / 0.5922 GB, free: 19.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3171, allocations: 4 kB / 0.5922 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3172, allocations: 0 / 0.5922 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3173, allocations: 19.98 kB / 0.5922 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3173, allocations: 6.312 kB / 0.5922 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.3174, allocations: 12 kB / 0.5922 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3174, allocations: 7.984 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 6.497e-05/0.3175, allocations: 122.7 kB / 0.5923 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.3175, allocations: 12.31 kB / 0.5923 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.3175, allocations: 23.42 kB / 0.5924 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3175, allocations: 7.938 kB / 0.5924 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3175, allocations: 0 / 0.5924 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3176, allocations: 0 / 0.5924 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.3177, allocations: 209.5 kB / 0.5926 GB, free: 19.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3177, allocations: 4.312 kB / 0.5926 GB, free: 19.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.3178, allocations: 12.73 kB / 0.5926 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3178, allocations: 4.844 kB / 0.5926 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3178, allocations: 4 kB / 0.5926 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3178, allocations: 3.938 kB / 0.5926 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3178, allocations: 5.844 kB / 0.5926 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.318, allocations: 164.7 kB / 0.5928 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.3181, allocations: 88.92 kB / 0.5928 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3181, allocations: 3.984 kB / 0.5928 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.3182, allocations: 5.219 kB / 0.5929 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.3182, allocations: 12.61 kB / 0.5929 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3183, allocations: 4 kB / 0.5929 GB, free: 18.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.85e-05/0.3183, allocations: 137.8 kB / 0.593 GB, free: 18.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3184, allocations: 1.062 kB / 0.593 GB, free: 18.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.3186, allocations: 28 kB / 0.593 GB, free: 18.72 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.0008995/0.3195, allocations: 460.9 kB / 0.5935 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3197, allocations: 81.05 kB / 0.5935 GB, free: 18.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3198, allocations: 4 kB / 0.5935 GB, free: 18.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3199, allocations: 45.38 kB / 0.5936 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.3201, allocations: 33.78 kB / 0.5936 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.3205, allocations: 235.1 kB / 0.5938 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.3206, allocations: 0.7055 MB / 0.5945 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.206e-05/0.3207, allocations: 21.8 kB / 0.5946 GB, free: 17.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.3207, allocations: 23.98 kB / 0.5946 GB, free: 17.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3207, allocations: 1.656 kB / 0.5946 GB, free: 17.29 MB / 446.1 MB Notification: Performance of Templates: time 0.00405/0.3248, allocations: 2.04 MB / 0.5966 GB, free: 15.3 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)