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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001373/0.001374, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7365/0.7365, allocations: 132.2 MB / 422.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 56.91 kB / 0.5014 GB, free: 4.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4051, allocations: 80.2 MB / 0.5797 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.00264/0.4078, allocations: 1.737 MB / 0.5814 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.4094, allocations: 1.471 MB / 0.5828 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.4095, allocations: 1.062 kB / 0.5828 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.4097, allocations: 34.28 kB / 0.5828 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.41, allocations: 54.81 kB / 0.5829 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.4102, allocations: 104.2 kB / 0.583 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.4104, allocations: 128.8 kB / 0.5831 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.4104, allocations: 11.19 kB / 0.5831 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.4105, allocations: 65.12 kB / 0.5832 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.4107, allocations: 62.56 kB / 0.5832 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.4107, allocations: 10 kB / 0.5833 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.4109, allocations: 60.86 kB / 0.5833 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.4109, allocations: 27.05 kB / 0.5833 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.411, allocations: 41.81 kB / 0.5834 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.4112, allocations: 142.3 kB / 0.5835 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4112, allocations: 0 / 0.5835 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4112, allocations: 0 / 0.5835 GB, free: 1.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4112, allocations: 0.7969 kB / 0.5835 GB, free: 1.953 MB / 430.1 MB 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.0005215/0.4117, allocations: 447.8 kB / 0.5839 GB, free: 1.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.4118, allocations: 8.344 kB / 0.5839 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.4118, allocations: 37.73 kB / 0.584 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.4119, allocations: 16.14 kB / 0.584 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.4121, allocations: 215.2 kB / 0.5842 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.4121, allocations: 2 kB / 0.5842 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.4121, allocations: 6.75 kB / 0.5842 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.4123, allocations: 107.4 kB / 0.5843 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4123, allocations: 1.5 kB / 0.5843 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4124, allocations: 0.6094 kB / 0.5843 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4124, allocations: 1.438 kB / 0.5843 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.4125, allocations: 50.56 kB / 0.5844 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.4127, allocations: 219.2 kB / 0.5846 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.413, allocations: 115.8 kB / 0.5847 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.4131, allocations: 52.11 kB / 0.5847 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.4131, allocations: 5.812 kB / 0.5847 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.4133, allocations: 107.9 kB / 0.5848 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.4134, allocations: 0.9375 kB / 0.5848 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004413/0.4138, allocations: 167.5 kB / 0.585 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.4139, allocations: 130.7 kB / 0.5851 GB, free: 484 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.414, allocations: 175.6 kB / 0.5853 GB, free: 360 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.414, allocations: 27.08 kB / 0.5853 GB, free: 328 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.4141, allocations: 104.3 kB / 0.5854 GB, free: 228 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.4141, allocations: 29.97 kB / 0.5855 GB, free: 204 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.4142, allocations: 24.09 kB / 0.5855 GB, free: 184 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.4143, allocations: 325.4 kB / 0.5858 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4144, allocations: 31.36 kB / 0.5858 GB, free: 15.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.4145, allocations: 65.28 kB / 0.5859 GB, free: 15.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.4147, allocations: 96 kB / 0.586 GB, free: 15.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4147, allocations: 5.281 kB / 0.586 GB, free: 15.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000312/0.4151, allocations: 137.6 kB / 0.5861 GB, free: 15.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4151, allocations: 5.188 kB / 0.5861 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4151, allocations: 0.75 kB / 0.5861 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4151, allocations: 2.312 kB / 0.5861 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.4152, allocations: 24.44 kB / 0.5861 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4152, allocations: 1.281 kB / 0.5861 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.4153, allocations: 12.95 kB / 0.5861 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.4153, allocations: 3.078 kB / 0.5862 GB, free: 15.66 MB / 446.1 MB 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 0.000109/0.4155, allocations: 129.6 kB / 0.5863 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.4155, allocations: 15.28 kB / 0.5863 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.4156, allocations: 20.73 kB / 0.5863 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4156, allocations: 1.156 kB / 0.5863 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4156, allocations: 2.406 kB / 0.5863 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4156, allocations: 0.625 kB / 0.5863 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.4158, allocations: 213.2 kB / 0.5865 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4158, allocations: 6.203 kB / 0.5865 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/0.4159, allocations: 12.81 kB / 0.5865 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4159, allocations: 1.094 kB / 0.5865 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.4159, allocations: 10.69 kB / 0.5865 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4159, allocations: 2.203 kB / 0.5865 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4159, allocations: 0.9375 kB / 0.5865 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.4162, allocations: 166.2 kB / 0.5867 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.4163, allocations: 89.81 kB / 0.5868 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.4163, allocations: 3.719 kB / 0.5868 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.4164, allocations: 10.81 kB / 0.5868 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.4165, allocations: 11.75 kB / 0.5868 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.4165, allocations: 4.828 kB / 0.5868 GB, free: 15.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.4166, allocations: 139.1 kB / 0.587 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4166, allocations: 0 / 0.587 GB, free: 14.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000242/0.4169, allocations: 32.16 kB / 0.587 GB, free: 14.95 MB / 446.1 MB 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.001471/0.4184, allocations: 1.04 MB / 0.588 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.4187, allocations: 91.27 kB / 0.5881 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4187, allocations: 0 / 0.5881 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.4188, allocations: 44.52 kB / 0.5881 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.4191, allocations: 33.53 kB / 0.5882 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.4214, allocations: 1.715 MB / 0.5898 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.4217, allocations: 0.7002 MB / 0.5905 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.4219, allocations: 25.25 kB / 0.5905 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.449e-05/0.422, allocations: 44.09 kB / 0.5906 GB, free: 12.03 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.422, allocations: 0 / 0.5906 GB, free: 12.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3086/0.7306, allocations: 3.611 MB / 0.5941 GB, free: 11.39 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.7309, allocations: 231.1 kB / 0.5943 GB, free: 11.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.544, allocations: 3.984 kB / 0.5943 GB, free: 11.13 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)