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.008855/0.008855, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001316/0.001316, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9131/0.9131, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.89 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3818, allocations: 80.91 MB / 0.6646 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002237/0.384, allocations: 1.675 MB / 0.6663 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3856, allocations: 1.501 MB / 0.6677 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.3857, allocations: 9.312 kB / 0.6677 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.3859, allocations: 41.05 kB / 0.6678 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.3861, allocations: 63.19 kB / 0.6678 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.3864, allocations: 115.3 kB / 0.668 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.3865, allocations: 125.8 kB / 0.6681 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.3866, allocations: 10.64 kB / 0.6681 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3867, allocations: 61 kB / 0.6681 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3868, allocations: 49.47 kB / 0.6682 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.3869, allocations: 11.25 kB / 0.6682 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.387, allocations: 65.14 kB / 0.6683 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.387, allocations: 22.77 kB / 0.6683 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.3871, allocations: 46.38 kB / 0.6683 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.3873, allocations: 144.8 kB / 0.6685 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3873, allocations: 0 / 0.6685 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3873, allocations: 0 / 0.6685 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3873, allocations: 3.938 kB / 0.6685 GB, free: 4.828 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.0004745/0.3878, allocations: 439.7 kB / 0.6689 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.3878, allocations: 13.06 kB / 0.6689 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.3879, allocations: 10.03 kB / 0.6689 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3881, allocations: 223.2 kB / 0.6691 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3881, allocations: 5.594 kB / 0.6691 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.3881, allocations: 6.469 kB / 0.6691 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3883, allocations: 102 kB / 0.6692 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3884, allocations: 3.984 kB / 0.6692 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3884, allocations: 0 / 0.6692 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3884, allocations: 1.094 kB / 0.6692 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.3885, allocations: 48.12 kB / 0.6693 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.3887, allocations: 213.8 kB / 0.6695 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.3889, allocations: 117.6 kB / 0.6696 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.389, allocations: 48.34 kB / 0.6696 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3891, allocations: 6.5 kB / 0.6697 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.3893, allocations: 112.7 kB / 0.6698 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.3893, allocations: 0 / 0.6698 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004248/0.3897, allocations: 162.8 kB / 0.6699 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.3897, allocations: 133.8 kB / 0.67 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3899, allocations: 167.8 kB / 0.6702 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.3899, allocations: 30.89 kB / 0.6702 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.3899, allocations: 101 kB / 0.6703 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.39, allocations: 32.5 kB / 0.6704 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.39, allocations: 24.72 kB / 0.6704 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.967e-05/0.3901, allocations: 325.9 kB / 0.6707 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.721e-05/0.3902, allocations: 37.09 kB / 0.6707 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3903, allocations: 66.02 kB / 0.6708 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3905, allocations: 95.25 kB / 0.6709 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3905, allocations: 0 / 0.6709 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002647/0.3907, allocations: 143.9 kB / 0.671 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3908, allocations: 5.906 kB / 0.671 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3908, allocations: 5.781 kB / 0.671 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3908, allocations: 5.25 kB / 0.671 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3909, allocations: 19.39 kB / 0.6711 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3909, allocations: 5.938 kB / 0.6711 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.391, allocations: 10.14 kB / 0.6711 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.391, allocations: 3.156 kB / 0.6711 GB, free: 2.379 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 ($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 9.966e-05/0.3911, allocations: 125.6 kB / 0.6712 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.3912, allocations: 14.53 kB / 0.6712 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.3912, allocations: 22.55 kB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3912, allocations: 1.281 kB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3912, allocations: 1.406 kB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3912, allocations: 0 / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3914, allocations: 205.4 kB / 0.6714 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3914, allocations: 5.578 kB / 0.6714 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.3915, allocations: 14.17 kB / 0.6714 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3915, allocations: 1.344 kB / 0.6714 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3915, allocations: 5.438 kB / 0.6715 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3915, allocations: 5.25 kB / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3915, allocations: 1.344 kB / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3918, allocations: 170.9 kB / 0.6716 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.3918, allocations: 83.83 kB / 0.6717 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3918, allocations: 10.55 kB / 0.6717 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.3919, allocations: 9.406 kB / 0.6717 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.392, allocations: 8.078 kB / 0.6717 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.392, allocations: 3.75 kB / 0.6717 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.786e-05/0.3921, allocations: 142.5 kB / 0.6719 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3921, allocations: 3.938 kB / 0.6719 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002429/0.3923, allocations: 29.38 kB / 0.6719 GB, free: 1.617 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 (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.0008909/0.3932, allocations: 449.4 kB / 0.6723 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.3935, allocations: 84.94 kB / 0.6724 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3935, allocations: 0 / 0.6724 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3936, allocations: 52.81 kB / 0.6725 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.3939, allocations: 37.03 kB / 0.6725 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.3943, allocations: 245 kB / 0.6727 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3944, allocations: 0.706 MB / 0.6734 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.896e-05/0.3945, allocations: 23.56 kB / 0.6734 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.3945, allocations: 21.39 kB / 0.6735 GB, free: 396 kB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.3945, allocations: 0 / 0.6735 GB, free: 396 kB / 0.4981 GB Notification: Performance of Templates: time 0.004462/0.399, allocations: 2.031 MB / 0.6754 GB, free: 15.36 MB / 0.5137 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)