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.00131/0.00131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 282.9 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9125/0.9125, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 94.14 kB / 0.5954 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.142, allocations: 86.97 MB / 0.6803 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003147/0.1451, allocations: 1.676 MB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1473, allocations: 1.505 MB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.1474, allocations: 0.5938 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1477, allocations: 43.77 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.1479, allocations: 64.5 kB / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.1483, allocations: 116.9 kB / 0.6836 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1485, allocations: 124.7 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.1486, allocations: 17.38 kB / 0.6837 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1487, allocations: 52.73 kB / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.149, allocations: 57.64 kB / 0.6838 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.149, allocations: 8 kB / 0.6839 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1492, allocations: 63.97 kB / 0.6839 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.1492, allocations: 19.92 kB / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.1493, allocations: 47.67 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.1495, allocations: 155.5 kB / 0.6841 GB, free: 12.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1495, allocations: 0 / 0.6841 GB, free: 12.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1495, allocations: 0 / 0.6841 GB, free: 12.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1496, allocations: 0 / 0.6841 GB, free: 12.6 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.0006169/0.1502, allocations: 434.9 kB / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1502, allocations: 12.03 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.1503, allocations: 38.75 kB / 0.6846 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1503, allocations: 8.844 kB / 0.6846 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1505, allocations: 223.9 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1506, allocations: 8.312 kB / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.1506, allocations: 7.875 kB / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.1508, allocations: 101.1 kB / 0.6849 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1508, allocations: 0 / 0.6849 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1509, allocations: 4 kB / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1509, allocations: 0 / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.151, allocations: 55.88 kB / 0.685 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.1513, allocations: 203.5 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.1515, allocations: 127.7 kB / 0.6853 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1516, allocations: 42.62 kB / 0.6853 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1517, allocations: 8 kB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.1519, allocations: 113.9 kB / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1519, allocations: 0 / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004652/0.1524, allocations: 169.5 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.1525, allocations: 132.5 kB / 0.6857 GB, free: 10.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1526, allocations: 176.1 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1527, allocations: 29.7 kB / 0.6859 GB, free: 10.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.1527, allocations: 100.1 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.1528, allocations: 31.62 kB / 0.6861 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.1528, allocations: 21.72 kB / 0.6861 GB, free: 10.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.1529, allocations: 323 kB / 0.6864 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.153, allocations: 35.97 kB / 0.6864 GB, free: 9.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1531, allocations: 64.27 kB / 0.6865 GB, free: 9.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.1534, allocations: 95.38 kB / 0.6866 GB, free: 9.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1534, allocations: 4.188 kB / 0.6866 GB, free: 9.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000281/0.1537, allocations: 133.5 kB / 0.6867 GB, free: 9.621 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1537, allocations: 4 kB / 0.6867 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1537, allocations: 4.094 kB / 0.6867 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1537, allocations: 7.938 kB / 0.6867 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1538, allocations: 19.98 kB / 0.6867 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1539, allocations: 0 / 0.6867 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.1539, allocations: 15.89 kB / 0.6868 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.154, allocations: 7.938 kB / 0.6868 GB, free: 9.562 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.67e-05/0.154, allocations: 122.4 kB / 0.6869 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.1541, allocations: 11.91 kB / 0.6869 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.1541, allocations: 25.39 kB / 0.6869 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1541, allocations: 4 kB / 0.6869 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1542, allocations: 192 / 0.6869 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1542, allocations: 3.938 kB / 0.6869 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.1543, allocations: 205.5 kB / 0.6871 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1543, allocations: 0 / 0.6871 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.1544, allocations: 15.98 kB / 0.6871 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1544, allocations: 0 / 0.6871 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1544, allocations: 4 kB / 0.6871 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1544, allocations: 0 / 0.6871 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1544, allocations: 0 / 0.6871 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.1547, allocations: 170.5 kB / 0.6873 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.1548, allocations: 96.94 kB / 0.6874 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.1548, allocations: 4 kB / 0.6874 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.1549, allocations: 8 kB / 0.6874 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.155, allocations: 11.98 kB / 0.6874 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.155, allocations: 4 kB / 0.6874 GB, free: 8.789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1551, allocations: 136.7 kB / 0.6876 GB, free: 8.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1551, allocations: 0 / 0.6876 GB, free: 8.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1553, allocations: 32 kB / 0.6876 GB, free: 8.625 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.001454/0.1568, allocations: 1.053 MB / 0.6886 GB, free: 7.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.1571, allocations: 83.89 kB / 0.6887 GB, free: 7.633 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1571, allocations: 0 / 0.6887 GB, free: 7.633 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1573, allocations: 51.91 kB / 0.6887 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1576, allocations: 24.89 kB / 0.6888 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.1595, allocations: 1.698 MB / 0.6904 GB, free: 5.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1597, allocations: 0.7002 MB / 0.6911 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.032e-05/0.1598, allocations: 20.53 kB / 0.6911 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.1599, allocations: 47.34 kB / 0.6912 GB, free: 4.957 MB / 494.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1599, allocations: 0 / 0.6912 GB, free: 4.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.1806, allocations: 3.776 MB / 0.6949 GB, free: 1.301 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.148, allocations: 8 kB / 0.6949 GB, free: 1.293 MB / 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)