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: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_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.004748/0.004748, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001251/0.001251, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8636/0.8636, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 70.64 kB / 0.5857 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.183, allocations: 81.02 MB / 0.6649 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003589/0.1867, allocations: 1.671 MB / 0.6665 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1893, allocations: 1.503 MB / 0.668 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1895, allocations: 3.938 kB / 0.668 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.1899, allocations: 39.77 kB / 0.668 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.1902, allocations: 63.69 kB / 0.6681 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1906, allocations: 115.1 kB / 0.6682 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1909, allocations: 123.6 kB / 0.6683 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.191e-05/0.191, allocations: 17.05 kB / 0.6683 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1911, allocations: 59.77 kB / 0.6684 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.1914, allocations: 47.77 kB / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.1914, allocations: 8 kB / 0.6684 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1915, allocations: 59.97 kB / 0.6685 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.1916, allocations: 27.86 kB / 0.6685 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.1917, allocations: 43.72 kB / 0.6685 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.192, allocations: 147.6 kB / 0.6687 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.192, allocations: 0 / 0.6687 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.192, allocations: 7.938 kB / 0.6687 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.192, allocations: 0 / 0.6687 GB, free: 1.707 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.0007356/0.1927, allocations: 440.5 kB / 0.6691 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1928, allocations: 13.11 kB / 0.6691 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.1928, allocations: 42.67 kB / 0.6692 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.1929, allocations: 16.84 kB / 0.6692 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1932, allocations: 224.1 kB / 0.6694 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1933, allocations: 384 / 0.6694 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1933, allocations: 11.94 kB / 0.6694 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.1935, allocations: 101.1 kB / 0.6695 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1936, allocations: 0 / 0.6695 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1936, allocations: 0 / 0.6695 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1936, allocations: 4 kB / 0.6695 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1938, allocations: 55.89 kB / 0.6696 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.194, allocations: 207.5 kB / 0.6698 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.1943, allocations: 115.7 kB / 0.6699 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1945, allocations: 50.61 kB / 0.6699 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1945, allocations: 4 kB / 0.6699 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.1948, allocations: 113.9 kB / 0.67 GB, free: 116 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.1948, allocations: 0 / 0.67 GB, free: 116 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005308/0.1953, allocations: 161.5 kB / 0.6702 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.1955, allocations: 136.5 kB / 0.6703 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.1957, allocations: 180.4 kB / 0.6705 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1957, allocations: 29.7 kB / 0.6705 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.1958, allocations: 104.1 kB / 0.6706 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.1959, allocations: 23.8 kB / 0.6706 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.1959, allocations: 25.7 kB / 0.6707 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.1961, allocations: 330.8 kB / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1962, allocations: 27.97 kB / 0.671 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1964, allocations: 68.53 kB / 0.6711 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.1966, allocations: 99.33 kB / 0.6712 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1967, allocations: 3.938 kB / 0.6712 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003079/0.197, allocations: 133.5 kB / 0.6713 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.197, allocations: 8 kB / 0.6713 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.197, allocations: 0 / 0.6713 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.197, allocations: 0 / 0.6713 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1972, allocations: 20.17 kB / 0.6713 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.1972, allocations: 11.92 kB / 0.6713 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.1973, allocations: 16.03 kB / 0.6713 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1973, allocations: 4 kB / 0.6713 GB, free: 14.66 MB / 0.5137 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 0.0001251/0.1974, allocations: 129.7 kB / 0.6715 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.1975, allocations: 15.91 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.1975, allocations: 21.39 kB / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1975, allocations: 0 / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1975, allocations: 4 kB / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1976, allocations: 0 / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1978, allocations: 201.5 kB / 0.6717 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1978, allocations: 0 / 0.6717 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.1979, allocations: 19.98 kB / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1979, allocations: 0 / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1979, allocations: 4 kB / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1979, allocations: 0 / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1979, allocations: 0 / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.1983, allocations: 178.6 kB / 0.6719 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.1984, allocations: 89.06 kB / 0.672 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.1984, allocations: 8 kB / 0.672 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1985, allocations: 7.984 kB / 0.672 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.1985, allocations: 11.98 kB / 0.672 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1986, allocations: 4 kB / 0.672 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001455/0.1987, allocations: 131.2 kB / 0.6721 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1987, allocations: 4 kB / 0.6721 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002478/0.199, allocations: 28 kB / 0.6722 GB, free: 13.71 MB / 0.5137 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.002201/0.2012, allocations: 1.043 MB / 0.6732 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.2015, allocations: 91.88 kB / 0.6733 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2015, allocations: 8.125 kB / 0.6733 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.2017, allocations: 43.92 kB / 0.6733 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.2019, allocations: 23.97 kB / 0.6733 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.2043, allocations: 1.685 MB / 0.675 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.2047, allocations: 0.708 MB / 0.6757 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.836e-05/0.2048, allocations: 20.48 kB / 0.6757 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.2049, allocations: 39.42 kB / 0.6757 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of SimCode: time 2.605e-06/0.2049, allocations: 0 / 0.6757 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0665/0.2714, allocations: 3.869 MB / 0.6795 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.054, allocations: 3.984 kB / 0.6795 GB, free: 6.246 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)