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.0007886/0.0007886, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008262/0.0008262, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9094/0.9094, allocations: 135.3 MB / 426.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 8 kB / 0.5071 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 82.31 MB / 0.5875 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001841/0.1485, allocations: 1.359 MB / 0.5888 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1503, allocations: 1.39 MB / 0.5902 GB, free: 256 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.1504, allocations: 0 / 0.5902 GB, free: 256 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1507, allocations: 35.84 kB / 0.5902 GB, free: 220 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.1508, allocations: 55.75 kB / 0.5902 GB, free: 164 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1511, allocations: 87.83 kB / 0.5903 GB, free: 76 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1513, allocations: 111.7 kB / 0.5904 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.1513, allocations: 5.125 kB / 0.5904 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1515, allocations: 55.62 kB / 0.5905 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1516, allocations: 47.77 kB / 0.5905 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1516, allocations: 8 kB / 0.5905 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1518, allocations: 47.98 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.1518, allocations: 27.89 kB / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.1519, allocations: 41.58 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.152, allocations: 108.1 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1521, allocations: 4 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.407e-06/0.1521, allocations: 0 / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1521, allocations: 3.938 kB / 0.5908 GB, free: 15.61 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.0006521/0.1527, allocations: 426.9 kB / 0.5912 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1528, allocations: 8.031 kB / 0.5912 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.1529, allocations: 30.56 kB / 0.5912 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.1529, allocations: 15.81 kB / 0.5912 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.1532, allocations: 224.2 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1532, allocations: 4 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1532, allocations: 4 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.1535, allocations: 105.1 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1535, allocations: 0 / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1535, allocations: 3.984 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1535, allocations: 4 kB / 0.5916 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.1537, allocations: 59.91 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.1539, allocations: 223.3 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.1542, allocations: 123.8 kB / 0.5919 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.1543, allocations: 46.62 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1544, allocations: 4 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.1546, allocations: 113.9 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1546, allocations: 0 / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004456/0.1551, allocations: 177.5 kB / 0.5923 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1552, allocations: 140.5 kB / 0.5924 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1553, allocations: 167.9 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1554, allocations: 33.7 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.1554, allocations: 100.3 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.1555, allocations: 31.69 kB / 0.5927 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.1555, allocations: 4 kB / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.1556, allocations: 326.8 kB / 0.593 GB, free: 13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1557, allocations: 31.98 kB / 0.5931 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1558, allocations: 68.27 kB / 0.5931 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1559, allocations: 43.92 kB / 0.5932 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1559, allocations: 0 / 0.5932 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002848/0.1562, allocations: 141.5 kB / 0.5933 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1562, allocations: 4.188 kB / 0.5933 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1563, allocations: 0 / 0.5933 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1563, allocations: 7.938 kB / 0.5933 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1564, allocations: 19.98 kB / 0.5933 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1564, allocations: 8.094 kB / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.1565, allocations: 19.83 kB / 0.5934 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.1565, allocations: 7.938 kB / 0.5934 GB, free: 12.63 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.1566, allocations: 121.8 kB / 0.5935 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.1567, allocations: 15.89 kB / 0.5935 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.1567, allocations: 17.41 kB / 0.5935 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1567, allocations: 4 kB / 0.5935 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1567, allocations: 0 / 0.5935 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1567, allocations: 4 kB / 0.5935 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1569, allocations: 205.5 kB / 0.5937 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1569, allocations: 320 / 0.5937 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.157, allocations: 15.98 kB / 0.5937 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.157, allocations: 4 kB / 0.5937 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.157, allocations: 7.938 kB / 0.5938 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.157, allocations: 7.984 kB / 0.5938 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.157, allocations: 3.938 kB / 0.5938 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.1574, allocations: 166.7 kB / 0.5939 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.1574, allocations: 96.88 kB / 0.594 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.1575, allocations: 0 / 0.594 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.1576, allocations: 19.98 kB / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.1576, allocations: 7.984 kB / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1576, allocations: 4 kB / 0.594 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001139/0.1578, allocations: 131.2 kB / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1578, allocations: 0 / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000248/0.158, allocations: 32 kB / 0.5942 GB, free: 11.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/0.1595, allocations: 1.055 MB / 0.5952 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.1598, allocations: 103.9 kB / 0.5953 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1598, allocations: 0 / 0.5953 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.1599, allocations: 43.92 kB / 0.5954 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1602, allocations: 27.48 kB / 0.5954 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1616, allocations: 0.8016 MB / 0.5962 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1618, allocations: 0.7043 MB / 0.5969 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.871e-05/0.1619, allocations: 20.48 kB / 0.5969 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.162, allocations: 43.41 kB / 0.5969 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.162, allocations: 0 / 0.5969 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.1795, allocations: 3.303 MB / 0.6002 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.1798, allocations: 219.6 kB / 0.6004 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.881, allocations: 3.938 kB / 0.6004 GB, free: 5.555 MB / 0.4981 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/linux/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) Environment - environmentSimulation: