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.005308/0.005308, 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.00122/0.00122, 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9784/0.9784, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3947, allocations: 80.91 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002765/0.3975, allocations: 1.674 MB / 0.6663 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3995, allocations: 1.505 MB / 0.6677 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3997, allocations: 5.375 kB / 0.6677 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.4, allocations: 45.02 kB / 0.6678 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.4003, allocations: 62.45 kB / 0.6678 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.4007, allocations: 116.1 kB / 0.668 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.4009, allocations: 134 kB / 0.6681 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.402e-05/0.401, allocations: 10.11 kB / 0.6681 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.4011, allocations: 53.81 kB / 0.6681 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.4013, allocations: 48.8 kB / 0.6682 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.4014, allocations: 6.688 kB / 0.6682 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.4015, allocations: 69.7 kB / 0.6683 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.4016, allocations: 26.17 kB / 0.6683 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.4016, allocations: 42.39 kB / 0.6683 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.4019, allocations: 150.5 kB / 0.6685 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.402, allocations: 0 / 0.6685 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.402, allocations: 1.375 kB / 0.6685 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.402, allocations: 0 / 0.6685 GB, free: 4.59 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.0005573/0.4025, allocations: 436.8 kB / 0.6689 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4026, allocations: 12.69 kB / 0.6689 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.4026, allocations: 11.38 kB / 0.6689 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.4029, allocations: 225.8 kB / 0.6691 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.4029, allocations: 1.75 kB / 0.6691 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.4029, allocations: 11.66 kB / 0.6691 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.4032, allocations: 96.69 kB / 0.6692 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4032, allocations: 4 kB / 0.6692 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4032, allocations: 5.156 kB / 0.6692 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.4032, allocations: 1.344 kB / 0.6692 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.4034, allocations: 51.23 kB / 0.6693 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.4036, allocations: 205.3 kB / 0.6695 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.4039, allocations: 116.8 kB / 0.6696 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.404, allocations: 49.47 kB / 0.6697 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.404, allocations: 6.734 kB / 0.6697 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.4042, allocations: 112.1 kB / 0.6698 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.4042, allocations: 0 / 0.6698 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004858/0.4047, allocations: 162.3 kB / 0.6699 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.4048, allocations: 134.8 kB / 0.67 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.4049, allocations: 176.7 kB / 0.6702 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.405, allocations: 26.86 kB / 0.6702 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.405, allocations: 100.8 kB / 0.6703 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.405, allocations: 31.47 kB / 0.6704 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.4051, allocations: 29.77 kB / 0.6704 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.4051, allocations: 329.4 kB / 0.6707 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.4053, allocations: 34.2 kB / 0.6707 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.4054, allocations: 61.83 kB / 0.6708 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.4056, allocations: 94.34 kB / 0.6709 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4056, allocations: 0 / 0.6709 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003003/0.4059, allocations: 140.8 kB / 0.671 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4059, allocations: 8.844 kB / 0.671 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4059, allocations: 1.375 kB / 0.671 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.406, allocations: 5.375 kB / 0.671 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4061, allocations: 19.95 kB / 0.6711 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4061, allocations: 1.312 kB / 0.6711 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.4062, allocations: 13.55 kB / 0.6711 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.4062, allocations: 3.875 kB / 0.6711 GB, free: 2.145 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 7.71e-05/0.4063, allocations: 129.4 kB / 0.6712 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.4063, allocations: 18.61 kB / 0.6712 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.4064, allocations: 13.84 kB / 0.6712 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4064, allocations: 6.625 kB / 0.6712 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4064, allocations: 0 / 0.6712 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4064, allocations: 1.156 kB / 0.6712 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.4065, allocations: 205.5 kB / 0.6714 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4065, allocations: 1.375 kB / 0.6714 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.4066, allocations: 14.45 kB / 0.6715 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4066, allocations: 5.078 kB / 0.6715 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4066, allocations: 2.688 kB / 0.6715 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4066, allocations: 4.047 kB / 0.6715 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4066, allocations: 5.156 kB / 0.6715 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.4069, allocations: 175 kB / 0.6716 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.407, allocations: 85.14 kB / 0.6717 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.407, allocations: 1.094 kB / 0.6717 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.4071, allocations: 13.7 kB / 0.6717 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.4071, allocations: 8.094 kB / 0.6717 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4072, allocations: 7.453 kB / 0.6717 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.566e-05/0.4073, allocations: 134.2 kB / 0.6719 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4073, allocations: 0 / 0.6719 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002685/0.4075, allocations: 34.83 kB / 0.6719 GB, free: 1.383 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.0009677/0.4085, allocations: 453.6 kB / 0.6723 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.4088, allocations: 79.95 kB / 0.6724 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4088, allocations: 0 / 0.6724 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.409, allocations: 48.91 kB / 0.6725 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.4093, allocations: 30.8 kB / 0.6725 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.4098, allocations: 249.4 kB / 0.6727 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.4099, allocations: 0.7052 MB / 0.6734 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.289e-05/0.41, allocations: 27.94 kB / 0.6734 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.4101, allocations: 20.52 kB / 0.6735 GB, free: 152 kB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4101, allocations: 1.469 kB / 0.6735 GB, free: 152 kB / 0.4981 GB Notification: Performance of Templates: time 0.005546/0.4156, allocations: 2.034 MB / 0.6755 GB, free: 15.12 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)