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.001126/0.001126, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008928/0.008928, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.636/1.636, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8965/0.8965, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.000472, allocations: 8.281 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1374, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001619/0.1391, allocations: 1.379 MB / 0.5894 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1408, allocations: 1.456 MB / 0.5908 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.1409, allocations: 3.938 kB / 0.5908 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.1411, allocations: 31.89 kB / 0.5909 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1413, allocations: 51.77 kB / 0.5909 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1416, allocations: 103.8 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1418, allocations: 115.6 kB / 0.5911 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/0.1418, allocations: 13.12 kB / 0.5912 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.142, allocations: 59.64 kB / 0.5912 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1421, allocations: 55.75 kB / 0.5913 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.1422, allocations: 0 / 0.5913 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1423, allocations: 55.98 kB / 0.5913 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.1424, allocations: 19.92 kB / 0.5913 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.1424, allocations: 69.36 kB / 0.5914 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1426, allocations: 143.8 kB / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1427, allocations: 0 / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1427, allocations: 3.938 kB / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.1427, allocations: 4 kB / 0.5915 GB, free: 14.94 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.0006314/0.1433, allocations: 423 kB / 0.5919 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1434, allocations: 12.03 kB / 0.592 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.1434, allocations: 30.75 kB / 0.592 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.1435, allocations: 16.73 kB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.1438, allocations: 221.6 kB / 0.5922 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1438, allocations: 384 / 0.5922 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.1438, allocations: 15.94 kB / 0.5922 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1441, allocations: 105 kB / 0.5923 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.1441, allocations: 0 / 0.5923 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1441, allocations: 4 kB / 0.5923 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1441, allocations: 0 / 0.5923 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.1443, allocations: 63.89 kB / 0.5924 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.1446, allocations: 207.4 kB / 0.5926 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.1449, allocations: 123.7 kB / 0.5927 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.145, allocations: 54.61 kB / 0.5928 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.145, allocations: 4 kB / 0.5928 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.1453, allocations: 121.9 kB / 0.5929 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1453, allocations: 3.938 kB / 0.5929 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004954/0.1458, allocations: 173.4 kB / 0.5931 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.1459, allocations: 128.8 kB / 0.5932 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1461, allocations: 187.8 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1461, allocations: 25.7 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.1462, allocations: 108.1 kB / 0.5935 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.1463, allocations: 19.72 kB / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1463, allocations: 17.7 kB / 0.5935 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1464, allocations: 322.8 kB / 0.5938 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1466, allocations: 35.98 kB / 0.5939 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1467, allocations: 68.27 kB / 0.5939 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.147, allocations: 103.6 kB / 0.594 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.147, allocations: 3.938 kB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003484/0.1473, allocations: 149.5 kB / 0.5942 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.1474, allocations: 4 kB / 0.5942 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1474, allocations: 4 kB / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1474, allocations: 0 / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1476, allocations: 24.11 kB / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1476, allocations: 4 kB / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1477, allocations: 23.86 kB / 0.5942 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1477, allocations: 8 kB / 0.5942 GB, free: 11.86 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 0.00016/0.1479, allocations: 125.8 kB / 0.5944 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1479, allocations: 11.89 kB / 0.5944 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.148, allocations: 17.41 kB / 0.5944 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.148, allocations: 0 / 0.5944 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.148, allocations: 0 / 0.5944 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.148, allocations: 4 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1483, allocations: 201.5 kB / 0.5946 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1483, allocations: 4 kB / 0.5946 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.1484, allocations: 23.92 kB / 0.5946 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1484, allocations: 0 / 0.5946 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.1484, allocations: 8 kB / 0.5946 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1484, allocations: 3.984 kB / 0.5946 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1484, allocations: 0 / 0.5946 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1488, allocations: 174.6 kB / 0.5948 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.1489, allocations: 92.92 kB / 0.5949 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.1489, allocations: 7.938 kB / 0.5949 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.149, allocations: 15.92 kB / 0.5949 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.1491, allocations: 15.98 kB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.1491, allocations: 4.062 kB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000139/0.1493, allocations: 135.2 kB / 0.595 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1493, allocations: 0 / 0.595 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000302/0.1496, allocations: 28 kB / 0.5951 GB, free: 10.89 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.001927/0.1515, allocations: 1.054 MB / 0.5961 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1518, allocations: 91.88 kB / 0.5962 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1518, allocations: 3.938 kB / 0.5962 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.152, allocations: 44.17 kB / 0.5962 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1523, allocations: 35.95 kB / 0.5963 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.1545, allocations: 1.743 MB / 0.598 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.155, allocations: 0.7043 MB / 0.5987 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.1551, allocations: 20.48 kB / 0.5987 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1552, allocations: 35.42 kB / 0.5987 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.1553, allocations: 4 kB / 0.5987 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3102/0.4654, allocations: 3.313 MB / 0.6019 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.4657, allocations: 230.3 kB / 0.6022 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.543, allocations: 0 / 0.6022 GB, free: 3.762 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/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)