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.001241/0.001241, 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.001341/0.001341, allocations: 198.5 kB / 16.54 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002415/0.002415, allocations: 278.7 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 96.86 kB / 0.6065 GB, free: 24.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1481, allocations: 89.15 MB / 0.6936 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002926/0.1511, allocations: 1.687 MB / 0.6952 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1532, allocations: 1.498 MB / 0.6967 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.1533, allocations: 0 / 0.6967 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1535, allocations: 39.77 kB / 0.6967 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1538, allocations: 70.02 kB / 0.6968 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1541, allocations: 121 kB / 0.6969 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1543, allocations: 127.6 kB / 0.6971 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.1544, allocations: 5.125 kB / 0.6971 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1545, allocations: 52.44 kB / 0.6971 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.1547, allocations: 67.98 kB / 0.6972 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.1547, allocations: 8 kB / 0.6972 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1549, allocations: 59.97 kB / 0.6972 GB, free: 488 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.1549, allocations: 19.92 kB / 0.6973 GB, free: 468 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.155, allocations: 43.73 kB / 0.6973 GB, free: 424 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.1552, allocations: 151.8 kB / 0.6974 GB, free: 272 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1552, allocations: 3.984 kB / 0.6974 GB, free: 268 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1552, allocations: 1.75 kB / 0.6974 GB, free: 268 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1552, allocations: 0 / 0.6974 GB, free: 268 kB / 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.0006538/0.1559, allocations: 435.5 kB / 0.6979 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1559, allocations: 12.03 kB / 0.6979 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.156, allocations: 34.75 kB / 0.6979 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.156, allocations: 20.69 kB / 0.6979 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1563, allocations: 222 kB / 0.6981 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1563, allocations: 4.375 kB / 0.6981 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1563, allocations: 7.938 kB / 0.6982 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.1566, allocations: 97.03 kB / 0.6982 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1566, allocations: 4 kB / 0.6982 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1566, allocations: 3.984 kB / 0.6983 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1566, allocations: 0 / 0.6983 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.1568, allocations: 47.91 kB / 0.6983 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.157, allocations: 207.5 kB / 0.6985 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1573, allocations: 123.7 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.1574, allocations: 50.61 kB / 0.6987 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1575, allocations: 0 / 0.6987 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.1577, allocations: 113.9 kB / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1578, allocations: 0 / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.000479/0.1582, allocations: 161.6 kB / 0.6989 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.1583, allocations: 140.5 kB / 0.6991 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.1585, allocations: 170.9 kB / 0.6992 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1585, allocations: 29.7 kB / 0.6992 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1586, allocations: 100.1 kB / 0.6993 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.1587, allocations: 31.62 kB / 0.6994 GB, free: 14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.1587, allocations: 25.72 kB / 0.6994 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1588, allocations: 326.9 kB / 0.6997 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.159, allocations: 31.97 kB / 0.6997 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1591, allocations: 72.14 kB / 0.6998 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.1593, allocations: 99.62 kB / 0.6999 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1593, allocations: 3.938 kB / 0.6999 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002975/0.1596, allocations: 133.4 kB / 0.7 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1597, allocations: 8 kB / 0.7 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1597, allocations: 0 / 0.7 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1597, allocations: 4.094 kB / 0.7 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1598, allocations: 19.98 kB / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1598, allocations: 7.938 kB / 0.7001 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.1599, allocations: 7.938 kB / 0.7001 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1599, allocations: 7.984 kB / 0.7001 GB, free: 13.22 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.0001142/0.16, allocations: 126.4 kB / 0.7002 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.1601, allocations: 11.91 kB / 0.7002 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.1601, allocations: 21.38 kB / 0.7002 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1601, allocations: 4 kB / 0.7002 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1601, allocations: 4 kB / 0.7002 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1602, allocations: 0 / 0.7002 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1603, allocations: 205.5 kB / 0.7004 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1603, allocations: 0 / 0.7004 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/0.1604, allocations: 15.98 kB / 0.7005 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1604, allocations: 0 / 0.7005 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1604, allocations: 4 kB / 0.7005 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1605, allocations: 7.938 kB / 0.7005 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1605, allocations: 0 / 0.7005 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1608, allocations: 162.6 kB / 0.7006 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1609, allocations: 92.86 kB / 0.7007 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1609, allocations: 8.047 kB / 0.7007 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.161, allocations: 12 kB / 0.7007 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.161, allocations: 11.98 kB / 0.7007 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.161, allocations: 4 kB / 0.7007 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001195/0.1612, allocations: 135.2 kB / 0.7009 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1612, allocations: 3.938 kB / 0.7009 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002362/0.1614, allocations: 24 kB / 0.7009 GB, free: 12.29 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.002014/0.1634, allocations: 1.059 MB / 0.7019 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.1637, allocations: 87.83 kB / 0.702 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1637, allocations: 0 / 0.702 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1639, allocations: 39.97 kB / 0.7021 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1642, allocations: 34.97 kB / 0.7021 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.1663, allocations: 1.694 MB / 0.7037 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1666, allocations: 0.7041 MB / 0.7044 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.249e-05/0.1667, allocations: 20.48 kB / 0.7045 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.1668, allocations: 39.41 kB / 0.7045 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1668, allocations: 0 / 0.7045 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.193, allocations: 3.776 MB / 0.7082 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.717, allocations: 18.03 kB / 0.7082 GB, free: 4.938 MB / 0.4981 GB (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)