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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 183 kB / 7.462 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6004/0.6004, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 221.3 MB / 395 MB, free: 10.11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.0008359, allocations: 102.3 kB / 477.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.881e-06, allocations: 0 / 0.5528 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 82.31 MB / 0.6332 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.473, allocations: 114.8 MB / 0.7453 GB, free: 11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.4732, allocations: 80.77 kB / 0.7454 GB, free: 11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01496/0.4882, allocations: 5.8 MB / 0.7511 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.4882, allocations: 2.531 kB / 0.7511 GB, free: 10.7 MB / 0.4948 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.0006216/0.4889, allocations: 461 kB / 0.7515 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4889, allocations: 9.234 kB / 0.7515 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.489, allocations: 10.19 kB / 0.7515 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.4893, allocations: 218.1 kB / 0.7518 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.4893, allocations: 1.281 kB / 0.7518 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.4893, allocations: 1.25 kB / 0.7518 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001036/0.4894, allocations: 32 kB / 0.7518 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.4896, allocations: 97.02 kB / 0.7519 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4896, allocations: 1.312 kB / 0.7519 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.4896, allocations: 3.328 kB / 0.7519 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4896, allocations: 1.344 kB / 0.7519 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.4898, allocations: 184.1 kB / 0.7521 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.49, allocations: 102.8 kB / 0.7522 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.49, allocations: 40.62 kB / 0.7522 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.4901, allocations: 1.312 kB / 0.7522 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.4902, allocations: 105.1 kB / 0.7523 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.4902, allocations: 0 / 0.7523 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002463/0.4904, allocations: 98.47 kB / 0.7524 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.4905, allocations: 133.4 kB / 0.7525 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4907, allocations: 167.7 kB / 0.7527 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.4907, allocations: 31.08 kB / 0.7527 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.4908, allocations: 86.67 kB / 0.7528 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.4908, allocations: 26.17 kB / 0.7528 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.4908, allocations: 0 / 0.7528 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4909, allocations: 328.5 kB / 0.7531 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.491, allocations: 21.45 kB / 0.7532 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.491, allocations: 56.84 kB / 0.7532 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.4911, allocations: 31.86 kB / 0.7532 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4911, allocations: 0 / 0.7532 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.4913, allocations: 110.4 kB / 0.7533 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4913, allocations: 9.281 kB / 0.7534 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4913, allocations: 1.312 kB / 0.7534 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.4913, allocations: 1.312 kB / 0.7534 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4915, allocations: 26.89 kB / 0.7534 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4915, allocations: 5.344 kB / 0.7534 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.432e-05/0.4916, allocations: 11.84 kB / 0.7534 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.4916, allocations: 4.219 kB / 0.7534 GB, free: 24.79 MB / 0.5105 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 () * 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 8.33e-05/0.4917, allocations: 118.4 kB / 0.7535 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.4917, allocations: 17.91 kB / 0.7535 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.4919, allocations: 103.5 kB / 0.7536 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.492, allocations: 9.672 kB / 0.7536 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.492, allocations: 1 kB / 0.7536 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.492, allocations: 1.031 kB / 0.7536 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.4922, allocations: 179.9 kB / 0.7538 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4922, allocations: 4.594 kB / 0.7538 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.4923, allocations: 26.42 kB / 0.7538 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.4923, allocations: 5.312 kB / 0.7538 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.4923, allocations: 4.875 kB / 0.7538 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.4923, allocations: 1.438 kB / 0.7539 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4923, allocations: 1.062 kB / 0.7539 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002339/0.4926, allocations: 166.9 kB / 0.754 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.4926, allocations: 96.94 kB / 0.7541 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.4927, allocations: 1.688 kB / 0.7541 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.4928, allocations: 11 kB / 0.7541 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.4928, allocations: 10.45 kB / 0.7541 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.4929, allocations: 3.844 kB / 0.7541 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001271/0.493, allocations: 135 kB / 0.7543 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002819/0.4933, allocations: 33.38 kB / 0.7543 GB, free: 24.13 MB / 0.5105 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0007/0.494, allocations: 361.8 kB / 0.7546 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.4942, allocations: 62.39 kB / 0.7547 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4942, allocations: 0.5 kB / 0.7547 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.999e-05/0.4943, allocations: 34.56 kB / 0.7547 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.4945, allocations: 27.73 kB / 0.7548 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.4949, allocations: 161.2 kB / 0.7549 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.4953, allocations: 0.737 MB / 0.7556 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.4953, allocations: 0 / 0.7556 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of Templates: time 0.004231/0.4995, allocations: 1.946 MB / 0.7575 GB, free: 22.7 MB / 0.5105 GB 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)