Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008403/0.0008403, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009306/0.0009307, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001641/0.001641, allocations: 274.6 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8908/0.8908, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 12.84 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.001697/0.1434, allocations: 1.384 MB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1451, allocations: 1.466 MB / 0.688 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.1451, allocations: 0 / 0.688 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.1454, allocations: 35.84 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1455, allocations: 57.3 kB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1458, allocations: 94.58 kB / 0.6882 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.146, allocations: 123.5 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.146, allocations: 15.05 kB / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1461, allocations: 51.77 kB / 0.6884 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1463, allocations: 51.72 kB / 0.6884 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1463, allocations: 4.969 kB / 0.6884 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1464, allocations: 59.95 kB / 0.6885 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.1465, allocations: 23.39 kB / 0.6885 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.1466, allocations: 73.41 kB / 0.6886 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.1468, allocations: 143.5 kB / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1468, allocations: 0 / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1468, allocations: 0 / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1468, allocations: 0 / 0.6887 GB, free: 11.39 MB / 494.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.0005154/0.1473, allocations: 431.5 kB / 0.6891 GB, free: 10.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1473, allocations: 8.656 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.1474, allocations: 30.75 kB / 0.6892 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1474, allocations: 13.41 kB / 0.6892 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1476, allocations: 227.5 kB / 0.6894 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1477, allocations: 4.375 kB / 0.6894 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.1477, allocations: 7.938 kB / 0.6894 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1479, allocations: 106.2 kB / 0.6895 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1479, allocations: 0.7812 kB / 0.6895 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1479, allocations: 0 / 0.6895 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1479, allocations: 5.703 kB / 0.6895 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.1481, allocations: 56.44 kB / 0.6896 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.1483, allocations: 214 kB / 0.6898 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.1486, allocations: 118.3 kB / 0.6899 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1487, allocations: 55.48 kB / 0.6899 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1487, allocations: 1.656 kB / 0.6899 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.149, allocations: 122.8 kB / 0.6901 GB, free: 9.805 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.149, allocations: 0 / 0.6901 GB, free: 9.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004506/0.1494, allocations: 169.7 kB / 0.6902 GB, free: 9.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1495, allocations: 136.5 kB / 0.6903 GB, free: 9.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1497, allocations: 171.8 kB / 0.6905 GB, free: 9.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1497, allocations: 33.7 kB / 0.6905 GB, free: 9.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.1497, allocations: 100.1 kB / 0.6906 GB, free: 9.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1498, allocations: 23.73 kB / 0.6907 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.1498, allocations: 17.72 kB / 0.6907 GB, free: 9.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.1499, allocations: 322.9 kB / 0.691 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.15, allocations: 39.97 kB / 0.691 GB, free: 8.742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1502, allocations: 68.22 kB / 0.6911 GB, free: 8.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.1504, allocations: 111.6 kB / 0.6912 GB, free: 8.539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1504, allocations: 3.938 kB / 0.6912 GB, free: 8.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000284/0.1507, allocations: 137.4 kB / 0.6913 GB, free: 8.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1507, allocations: 8 kB / 0.6913 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1507, allocations: 0 / 0.6913 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.1507, allocations: 0 / 0.6913 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1508, allocations: 28.06 kB / 0.6914 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1509, allocations: 7.938 kB / 0.6914 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.1509, allocations: 8 kB / 0.6914 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.151, allocations: 11.94 kB / 0.6914 GB, free: 8.332 MB / 494.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 8.798e-05/0.1511, allocations: 126.4 kB / 0.6915 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.1511, allocations: 15.81 kB / 0.6915 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.1511, allocations: 21.39 kB / 0.6915 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1511, allocations: 0 / 0.6915 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1511, allocations: 8 kB / 0.6916 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1512, allocations: 192 / 0.6916 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.1513, allocations: 201.5 kB / 0.6917 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1513, allocations: 3.938 kB / 0.6918 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.1514, allocations: 15.98 kB / 0.6918 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1514, allocations: 0 / 0.6918 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1514, allocations: 4 kB / 0.6918 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1514, allocations: 3.938 kB / 0.6918 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1514, allocations: 0 / 0.6918 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.1517, allocations: 182.5 kB / 0.6919 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.1518, allocations: 96.94 kB / 0.692 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1518, allocations: 8 kB / 0.692 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.1519, allocations: 12 kB / 0.6921 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.152, allocations: 12.03 kB / 0.6921 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.152, allocations: 8 kB / 0.6921 GB, free: 7.527 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1521, allocations: 136.2 kB / 0.6922 GB, free: 7.395 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1521, allocations: 0 / 0.6922 GB, free: 7.395 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1523, allocations: 35.94 kB / 0.6922 GB, free: 7.359 MB / 494.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.001375/0.1537, allocations: 1.046 MB / 0.6933 GB, free: 6.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.154, allocations: 91.95 kB / 0.6934 GB, free: 6.363 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.154, allocations: 4 kB / 0.6934 GB, free: 6.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.1542, allocations: 47.91 kB / 0.6934 GB, free: 6.312 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.1544, allocations: 23.98 kB / 0.6934 GB, free: 6.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.1562, allocations: 1.746 MB / 0.6951 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.1564, allocations: 0.7004 MB / 0.6958 GB, free: 3.703 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.356e-05/0.1565, allocations: 32.41 kB / 0.6958 GB, free: 3.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.1566, allocations: 43.41 kB / 0.6959 GB, free: 3.629 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1566, allocations: 0 / 0.6959 GB, free: 3.629 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4187/0.5753, allocations: 3.328 MB / 0.6991 GB, free: 468 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/0.5756, allocations: 256.7 kB / 0.6994 GB, free: 208 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.453, allocations: 0 / 0.6994 GB, free: 208 kB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)