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.005087/0.005088, allocations: 95.02 kB / 15.73 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.00125/0.00125, allocations: 194.3 kB / 16.67 MB, free: 6.391 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.049/1.049, allocations: 135.6 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 59.91 kB / 0.5862 GB, free: 2.734 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4216, allocations: 81.03 MB / 0.6653 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002606/0.4243, allocations: 1.668 MB / 0.667 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.426, allocations: 1.509 MB / 0.6685 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.426, allocations: 0 / 0.6685 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.4263, allocations: 36.64 kB / 0.6685 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.4266, allocations: 66.8 kB / 0.6685 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.4269, allocations: 116 kB / 0.6687 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.4271, allocations: 129.6 kB / 0.6688 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.4271, allocations: 10.55 kB / 0.6688 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.4272, allocations: 57.34 kB / 0.6688 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.4274, allocations: 49.36 kB / 0.6689 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.4274, allocations: 6.688 kB / 0.6689 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.4276, allocations: 65.86 kB / 0.669 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.4276, allocations: 22.14 kB / 0.669 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.4277, allocations: 45.08 kB / 0.669 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.4279, allocations: 148.3 kB / 0.6692 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4279, allocations: 5.094 kB / 0.6692 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4279, allocations: 4 kB / 0.6692 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.428, allocations: 0 / 0.6692 GB, free: 4.195 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.0005322/0.4285, allocations: 442.3 kB / 0.6696 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.4285, allocations: 9.969 kB / 0.6696 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.4286, allocations: 14.44 kB / 0.6696 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.4288, allocations: 218.4 kB / 0.6698 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4288, allocations: 5.906 kB / 0.6698 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.4288, allocations: 14.66 kB / 0.6699 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.4291, allocations: 101.4 kB / 0.6699 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4291, allocations: 0 / 0.6699 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4291, allocations: 1.656 kB / 0.6699 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4291, allocations: 0 / 0.6699 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.4293, allocations: 55.61 kB / 0.67 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.4295, allocations: 206.3 kB / 0.6702 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.4297, allocations: 116.3 kB / 0.6703 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.4298, allocations: 50 kB / 0.6704 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.4298, allocations: 1.219 kB / 0.6704 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.43, allocations: 113.2 kB / 0.6705 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.43, allocations: 0 / 0.6705 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004464/0.4305, allocations: 162.3 kB / 0.6706 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4305, allocations: 133.7 kB / 0.6707 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.4307, allocations: 181 kB / 0.6709 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.4307, allocations: 35.2 kB / 0.671 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.4308, allocations: 97.39 kB / 0.671 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.4308, allocations: 28.19 kB / 0.6711 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.4308, allocations: 24.12 kB / 0.6711 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.4309, allocations: 326.6 kB / 0.6714 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-05/0.431, allocations: 29.55 kB / 0.6714 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.4311, allocations: 65.83 kB / 0.6715 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.4313, allocations: 90.91 kB / 0.6716 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4313, allocations: 0 / 0.6716 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002678/0.4316, allocations: 152.5 kB / 0.6717 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4316, allocations: 5.156 kB / 0.6717 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4316, allocations: 1.469 kB / 0.6717 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4316, allocations: 1.031 kB / 0.6717 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4318, allocations: 27.5 kB / 0.6718 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4318, allocations: 2.781 kB / 0.6718 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.4319, allocations: 17.02 kB / 0.6718 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4319, allocations: 7.781 kB / 0.6718 GB, free: 1.734 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.715e-05/0.432, allocations: 125.6 kB / 0.6719 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.432, allocations: 13.84 kB / 0.6719 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.432, allocations: 18.89 kB / 0.6719 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4321, allocations: 1.094 kB / 0.6719 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4321, allocations: 1.156 kB / 0.6719 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4321, allocations: 1.344 kB / 0.6719 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.4322, allocations: 205.6 kB / 0.6721 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4322, allocations: 1.281 kB / 0.6721 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.4323, allocations: 22.23 kB / 0.6722 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4323, allocations: 1.219 kB / 0.6722 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4323, allocations: 5.344 kB / 0.6722 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4323, allocations: 1.469 kB / 0.6722 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4323, allocations: 5.453 kB / 0.6722 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.4326, allocations: 162.8 kB / 0.6723 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.4326, allocations: 92.98 kB / 0.6724 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.4327, allocations: 5.219 kB / 0.6724 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.4327, allocations: 9.234 kB / 0.6724 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.4328, allocations: 3.938 kB / 0.6724 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.4328, allocations: 4.156 kB / 0.6724 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.745e-05/0.4329, allocations: 141 kB / 0.6726 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4329, allocations: 5.438 kB / 0.6726 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002398/0.4331, allocations: 29.38 kB / 0.6726 GB, free: 0.9805 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.001482/0.4346, allocations: 458.4 kB / 0.673 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.4349, allocations: 84.45 kB / 0.6731 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4349, allocations: 1.062 kB / 0.6731 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.4351, allocations: 48.03 kB / 0.6732 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.4354, allocations: 36.47 kB / 0.6732 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.4358, allocations: 248 kB / 0.6734 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.436, allocations: 0.7062 MB / 0.6741 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.761e-05/0.4361, allocations: 16.19 kB / 0.6742 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.4361, allocations: 24.27 kB / 0.6742 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4362, allocations: 1.438 kB / 0.6742 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.005382/0.4415, allocations: 2.029 MB / 0.6762 GB, free: 14.72 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)