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-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_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.0007675/0.0007675, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008411/0.0008411, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8576/0.8576, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 12 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 82.32 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001626/0.1403, allocations: 1.346 MB / 0.5885 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.142, allocations: 1.388 MB / 0.5899 GB, free: 424 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.1421, allocations: 0 / 0.5899 GB, free: 424 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1424, allocations: 31.89 kB / 0.5899 GB, free: 392 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1426, allocations: 55.73 kB / 0.59 GB, free: 336 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1429, allocations: 95.77 kB / 0.59 GB, free: 240 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.143, allocations: 83.81 kB / 0.5901 GB, free: 156 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.1431, allocations: 5.125 kB / 0.5901 GB, free: 148 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1432, allocations: 55.77 kB / 0.5902 GB, free: 92 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1433, allocations: 42.02 kB / 0.5902 GB, free: 52 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1434, allocations: 4 kB / 0.5902 GB, free: 48 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.1435, allocations: 39.92 kB / 0.5903 GB, free: 8 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.1435, allocations: 27.84 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.1436, allocations: 37.64 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1437, allocations: 108 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.1437, allocations: 0 / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1437, allocations: 8 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1437, allocations: 0 / 0.5904 GB, free: 15.82 MB / 0.4981 GB 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.0005127/0.1443, allocations: 426.8 kB / 0.5908 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1443, allocations: 12.03 kB / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.1443, allocations: 11.81 kB / 0.5909 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1446, allocations: 220.3 kB / 0.5911 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1446, allocations: 8 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.1446, allocations: 0 / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1448, allocations: 101 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1449, allocations: 0 / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1449, allocations: 7.984 kB / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1449, allocations: 8 kB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.145, allocations: 51.97 kB / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.1452, allocations: 219.3 kB / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1455, allocations: 119.9 kB / 0.5916 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1455, allocations: 8 kB / 0.5916 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.1458, allocations: 109.9 kB / 0.5917 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1458, allocations: 0 / 0.5917 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004538/0.1463, allocations: 181.4 kB / 0.5919 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.1463, allocations: 132.5 kB / 0.592 GB, free: 14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1465, allocations: 171.9 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1465, allocations: 33.7 kB / 0.5922 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.1466, allocations: 100.3 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1466, allocations: 27.7 kB / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.1466, allocations: 4 kB / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1468, allocations: 322.8 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1469, allocations: 35.97 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.147, allocations: 72.2 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1471, allocations: 39.98 kB / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.1471, allocations: 3.953 kB / 0.5928 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002621/0.1474, allocations: 133.5 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1474, allocations: 8 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1474, allocations: 192 / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1474, allocations: 0 / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1476, allocations: 35.84 kB / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1476, allocations: 4.094 kB / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.1477, allocations: 19.84 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1477, allocations: 7.984 kB / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/0.1478, allocations: 121.8 kB / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1478, allocations: 15.86 kB / 0.5931 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.1478, allocations: 21.39 kB / 0.5931 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1479, allocations: 0 / 0.5931 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1479, allocations: 4 kB / 0.5931 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1479, allocations: 4 kB / 0.5931 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.148, allocations: 201.5 kB / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.148, allocations: 0 / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.1481, allocations: 24.19 kB / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1481, allocations: 4 kB / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1481, allocations: 4 kB / 0.5933 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1481, allocations: 0 / 0.5933 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1482, allocations: 4 kB / 0.5933 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.1485, allocations: 198 kB / 0.5935 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.1485, allocations: 104.9 kB / 0.5936 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1485, allocations: 0 / 0.5936 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.1486, allocations: 8 kB / 0.5936 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1487, allocations: 15.92 kB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1487, allocations: 4 kB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.358e-05/0.1488, allocations: 131.2 kB / 0.5938 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1488, allocations: 0 / 0.5938 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002269/0.149, allocations: 32 kB / 0.5938 GB, free: 11.95 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000852/0.1499, allocations: 450.7 kB / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.1501, allocations: 91.89 kB / 0.5943 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1502, allocations: 7.938 kB / 0.5943 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1503, allocations: 51.89 kB / 0.5944 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.1505, allocations: 27.88 kB / 0.5944 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.1509, allocations: 251.3 kB / 0.5947 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1512, allocations: 0.7121 MB / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.728e-05/0.1512, allocations: 16.88 kB / 0.5954 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.1513, allocations: 23.42 kB / 0.5954 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1513, allocations: 3.938 kB / 0.5954 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.003973/0.1553, allocations: 1.866 MB / 0.5972 GB, free: 8.613 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: