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.004592/0.004592, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001129/0.00113, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 278.8 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9603/0.9603, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 91.92 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1645, allocations: 86.99 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002666/0.1672, allocations: 1.665 MB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1691, allocations: 1.511 MB / 0.769 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.1692, allocations: 0 / 0.769 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1695, allocations: 43.77 kB / 0.7691 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.1697, allocations: 63.64 kB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.17, allocations: 115.6 kB / 0.7692 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1702, allocations: 123.6 kB / 0.7694 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.1702, allocations: 17.11 kB / 0.7694 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1704, allocations: 59.7 kB / 0.7694 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1705, allocations: 51.75 kB / 0.7695 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1706, allocations: 8 kB / 0.7695 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1707, allocations: 55.98 kB / 0.7695 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.1708, allocations: 27.91 kB / 0.7696 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.1708, allocations: 39.73 kB / 0.7696 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.1711, allocations: 155.5 kB / 0.7697 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1711, allocations: 0 / 0.7697 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1711, allocations: 4 kB / 0.7698 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.1711, allocations: 4 kB / 0.7698 GB, free: 4.98 MB / 0.5606 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.0006026/0.1717, allocations: 442.5 kB / 0.7702 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1717, allocations: 8.031 kB / 0.7702 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.1718, allocations: 34.69 kB / 0.7702 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.1718, allocations: 16.89 kB / 0.7702 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.1721, allocations: 224.1 kB / 0.7704 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1721, allocations: 4.375 kB / 0.7705 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1722, allocations: 11.88 kB / 0.7705 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.1724, allocations: 101.1 kB / 0.7706 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1724, allocations: 0 / 0.7706 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1724, allocations: 4 kB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1724, allocations: 4 kB / 0.7706 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.1726, allocations: 55.89 kB / 0.7706 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.1728, allocations: 207.4 kB / 0.7708 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.1731, allocations: 123.7 kB / 0.7709 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1732, allocations: 42.62 kB / 0.771 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1733, allocations: 7.984 kB / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.1735, allocations: 113.9 kB / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.1735, allocations: 0 / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004748/0.174, allocations: 169.5 kB / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.174, allocations: 128.5 kB / 0.7714 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1742, allocations: 176 kB / 0.7715 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1742, allocations: 33.95 kB / 0.7716 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.1743, allocations: 100.1 kB / 0.7717 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.1743, allocations: 27.78 kB / 0.7717 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1744, allocations: 25.72 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1745, allocations: 318.8 kB / 0.772 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1746, allocations: 35.97 kB / 0.7721 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1747, allocations: 64.27 kB / 0.7721 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.1749, allocations: 95.34 kB / 0.7722 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.175, allocations: 3.938 kB / 0.7722 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000281/0.1752, allocations: 137.5 kB / 0.7723 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1753, allocations: 4 kB / 0.7724 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1753, allocations: 0 / 0.7724 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1753, allocations: 4 kB / 0.7724 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1754, allocations: 23.92 kB / 0.7724 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1754, allocations: 3.938 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.1755, allocations: 7.984 kB / 0.7724 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1755, allocations: 8.094 kB / 0.7724 GB, free: 1.938 MB / 0.5606 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 9.373e-05/0.1756, allocations: 126.8 kB / 0.7725 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.1757, allocations: 15.91 kB / 0.7725 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.1757, allocations: 17.39 kB / 0.7726 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1757, allocations: 4 kB / 0.7726 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1758, allocations: 4 kB / 0.7726 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1758, allocations: 0 / 0.7726 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1759, allocations: 205.5 kB / 0.7728 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1759, allocations: 0 / 0.7728 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.176, allocations: 27.92 kB / 0.7728 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.176, allocations: 0 / 0.7728 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.176, allocations: 4.188 kB / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1761, allocations: 0 / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1761, allocations: 3.938 kB / 0.7728 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.1764, allocations: 166.6 kB / 0.7729 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1764, allocations: 96.92 kB / 0.773 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.1765, allocations: 8 kB / 0.773 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.1766, allocations: 4 kB / 0.7731 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1766, allocations: 7.984 kB / 0.7731 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1766, allocations: 8 kB / 0.7731 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001087/0.1767, allocations: 136.7 kB / 0.7732 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1767, allocations: 0 / 0.7732 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002375/0.177, allocations: 35.94 kB / 0.7732 GB, free: 0.9805 MB / 0.5606 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.001415/0.1784, allocations: 1.048 MB / 0.7743 GB, free: 76 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3446/0.523, allocations: 77.97 kB / 0.7743 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.523, allocations: 1.969 kB / 0.7743 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.5233, allocations: 40.31 kB / 0.7744 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.5237, allocations: 37.22 kB / 0.7744 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.526, allocations: 1.694 MB / 0.7761 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.5262, allocations: 0.7016 MB / 0.7767 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.5263, allocations: 26.8 kB / 0.7768 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.5264, allocations: 40.34 kB / 0.7768 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.5264, allocations: 0 / 0.7768 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.5521, allocations: 3.867 MB / 0.7806 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.2, allocations: 2.312 kB / 0.7806 GB, free: 12.22 MB / 0.5606 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)