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.004818/0.004818, allocations: 101 kB / 15.73 MB, free: 6.059 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.001243/0.001243, allocations: 194.1 kB / 16.67 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002484/0.002484, allocations: 282.9 kB / 290.8 MB, free: 1.75 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 95.92 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1974, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003095/0.2005, allocations: 1.676 MB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.2027, allocations: 1.515 MB / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.2028, allocations: 0 / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.2031, allocations: 39.77 kB / 0.7691 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.2034, allocations: 63.64 kB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.2037, allocations: 113.4 kB / 0.7692 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.2039, allocations: 131.5 kB / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.204, allocations: 9.109 kB / 0.7694 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2041, allocations: 55.77 kB / 0.7694 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.2043, allocations: 59.75 kB / 0.7695 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.2044, allocations: 4 kB / 0.7695 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.2045, allocations: 63.92 kB / 0.7695 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.2046, allocations: 19.91 kB / 0.7695 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.2047, allocations: 43.73 kB / 0.7696 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.205, allocations: 151.6 kB / 0.7697 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.205, allocations: 3.938 kB / 0.7697 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.416e-06/0.205, allocations: 3.984 kB / 0.7697 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.205, allocations: 0 / 0.7697 GB, free: 4.984 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.0007242/0.2057, allocations: 450.5 kB / 0.7702 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2058, allocations: 19.92 kB / 0.7702 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.2058, allocations: 34.69 kB / 0.7702 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.2059, allocations: 8.891 kB / 0.7702 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.2063, allocations: 224.1 kB / 0.7704 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2063, allocations: 4.375 kB / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.2063, allocations: 7.938 kB / 0.7705 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.2066, allocations: 101 kB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2066, allocations: 0 / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2066, allocations: 3.984 kB / 0.7706 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.2066, allocations: 0 / 0.7706 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.2068, allocations: 43.97 kB / 0.7706 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.2071, allocations: 215.4 kB / 0.7708 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.2074, allocations: 123.7 kB / 0.7709 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.2075, allocations: 54.56 kB / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.2076, allocations: 0 / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.2078, allocations: 105.9 kB / 0.7711 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.2078, allocations: 4 kB / 0.7711 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005277/0.2084, allocations: 165.4 kB / 0.7712 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.2085, allocations: 136.5 kB / 0.7714 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.2087, allocations: 168.1 kB / 0.7715 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.2088, allocations: 29.7 kB / 0.7716 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.2088, allocations: 104.4 kB / 0.7717 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.2089, allocations: 27.78 kB / 0.7717 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.2089, allocations: 25.72 kB / 0.7717 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2091, allocations: 322.8 kB / 0.772 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2092, allocations: 31.97 kB / 0.772 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.2093, allocations: 72.2 kB / 0.7721 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.2096, allocations: 83.66 kB / 0.7722 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.2096, allocations: 7.938 kB / 0.7722 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003066/0.2099, allocations: 145.5 kB / 0.7723 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2099, allocations: 4 kB / 0.7723 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.21, allocations: 7.984 kB / 0.7724 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.21, allocations: 192 / 0.7724 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.2101, allocations: 23.92 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2101, allocations: 7.938 kB / 0.7724 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.431e-05/0.2102, allocations: 4 kB / 0.7724 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.2102, allocations: 7.984 kB / 0.7724 GB, free: 1.934 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 0.0001201/0.2104, allocations: 136.7 kB / 0.7725 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.2104, allocations: 11.91 kB / 0.7725 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.2105, allocations: 21.39 kB / 0.7726 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2105, allocations: 0 / 0.7726 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2105, allocations: 0 / 0.7726 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2105, allocations: 4 kB / 0.7726 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.2107, allocations: 205.5 kB / 0.7728 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2107, allocations: 0 / 0.7728 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.2108, allocations: 11.98 kB / 0.7728 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.2108, allocations: 8 kB / 0.7728 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2108, allocations: 4 kB / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2108, allocations: 4 kB / 0.7728 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2108, allocations: 0 / 0.7728 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.2112, allocations: 170.6 kB / 0.7729 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.2112, allocations: 89 kB / 0.773 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.2113, allocations: 7.984 kB / 0.773 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.2113, allocations: 8 kB / 0.773 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.2114, allocations: 7.984 kB / 0.7731 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2114, allocations: 0 / 0.7731 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001406/0.2116, allocations: 144.7 kB / 0.7732 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2116, allocations: 0 / 0.7732 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002586/0.2118, allocations: 27.94 kB / 0.7732 GB, free: 0.9883 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.002248/0.2141, allocations: 1.057 MB / 0.7743 GB, free: 76 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3193/0.5334, allocations: 85.72 kB / 0.7743 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.5335, allocations: 0.5625 kB / 0.7743 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.5337, allocations: 44.12 kB / 0.7744 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.5341, allocations: 33.39 kB / 0.7744 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.5361, allocations: 1.69 MB / 0.7761 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.5363, allocations: 0.705 MB / 0.7767 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.312e-05/0.5364, allocations: 29.38 kB / 0.7768 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.5365, allocations: 42.56 kB / 0.7768 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.5365, allocations: 1.188 kB / 0.7768 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.5661, allocations: 3.857 MB / 0.7806 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.613, allocations: 3.312 kB / 0.7806 GB, free: 12.25 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)