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.005804/0.005804, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001531/0.001531, allocations: 197.6 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002465/0.002465, allocations: 278.8 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 178.6 MB / 0.5074 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 91.84 kB / 0.6943 GB, free: 3.602 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.4906, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003077/0.4937, allocations: 1.698 MB / 0.783 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.4959, allocations: 1.501 MB / 0.7845 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.496, allocations: 5.406 kB / 0.7845 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.4964, allocations: 36.42 kB / 0.7845 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.4966, allocations: 62.7 kB / 0.7846 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.4969, allocations: 119.4 kB / 0.7847 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.4971, allocations: 124 kB / 0.7848 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.4972, allocations: 8.141 kB / 0.7848 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.4973, allocations: 60.25 kB / 0.7849 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.4975, allocations: 60.14 kB / 0.7849 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.4976, allocations: 5.75 kB / 0.7849 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.4977, allocations: 59.97 kB / 0.785 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.4978, allocations: 26.41 kB / 0.785 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.4978, allocations: 41.91 kB / 0.785 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.4981, allocations: 140.8 kB / 0.7852 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4981, allocations: 0 / 0.7852 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4981, allocations: 5.547 kB / 0.7852 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.4981, allocations: 0 / 0.7852 GB, free: 11.24 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.0007069/0.4988, allocations: 451.1 kB / 0.7856 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4989, allocations: 8.969 kB / 0.7856 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.4989, allocations: 37.44 kB / 0.7856 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.499, allocations: 11.67 kB / 0.7857 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.4993, allocations: 229.4 kB / 0.7859 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.4993, allocations: 1.875 kB / 0.7859 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.4994, allocations: 6.594 kB / 0.7859 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.4996, allocations: 108.3 kB / 0.786 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4996, allocations: 0 / 0.786 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.4997, allocations: 1.062 kB / 0.786 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4997, allocations: 1.125 kB / 0.786 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.4999, allocations: 63.36 kB / 0.7861 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.5002, allocations: 211.3 kB / 0.7863 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.5005, allocations: 116.3 kB / 0.7864 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.5006, allocations: 47.05 kB / 0.7864 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.5006, allocations: 6.172 kB / 0.7864 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.5009, allocations: 112.3 kB / 0.7865 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.5009, allocations: 0 / 0.7865 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.000521/0.5014, allocations: 167.6 kB / 0.7867 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.5015, allocations: 132.2 kB / 0.7868 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.5017, allocations: 176 kB / 0.787 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.5018, allocations: 29.28 kB / 0.787 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.5018, allocations: 102.9 kB / 0.7871 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.5019, allocations: 21.44 kB / 0.7871 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.5019, allocations: 27.77 kB / 0.7872 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5021, allocations: 326.6 kB / 0.7875 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.5022, allocations: 27.53 kB / 0.7875 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.5024, allocations: 69.61 kB / 0.7876 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.5026, allocations: 95.31 kB / 0.7876 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5026, allocations: 5.062 kB / 0.7877 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000306/0.5029, allocations: 129.5 kB / 0.7878 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.503, allocations: 10.12 kB / 0.7878 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.503, allocations: 1.5 kB / 0.7878 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.503, allocations: 1.344 kB / 0.7878 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5031, allocations: 19.83 kB / 0.7878 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.5031, allocations: 6.156 kB / 0.7878 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.5032, allocations: 16.5 kB / 0.7878 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.5032, allocations: 2.75 kB / 0.7878 GB, free: 8.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.0001176/0.5034, allocations: 124.2 kB / 0.7879 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.5034, allocations: 19.56 kB / 0.788 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.5035, allocations: 20.08 kB / 0.788 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5035, allocations: 3.531 kB / 0.788 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5035, allocations: 3.938 kB / 0.788 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.5035, allocations: 6.188 kB / 0.788 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.5037, allocations: 200.5 kB / 0.7882 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5037, allocations: 1.125 kB / 0.7882 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.5038, allocations: 14.66 kB / 0.7882 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.5038, allocations: 5.25 kB / 0.7882 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5038, allocations: 1.969 kB / 0.7882 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.5038, allocations: 9.594 kB / 0.7882 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5038, allocations: 1.219 kB / 0.7882 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.5042, allocations: 171 kB / 0.7884 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.5043, allocations: 84.94 kB / 0.7885 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.5043, allocations: 7.703 kB / 0.7885 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.5044, allocations: 7.453 kB / 0.7885 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.5044, allocations: 10.31 kB / 0.7885 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.5045, allocations: 5.109 kB / 0.7885 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001274/0.5046, allocations: 130.6 kB / 0.7886 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5046, allocations: 1.281 kB / 0.7886 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002591/0.5049, allocations: 30.78 kB / 0.7887 GB, free: 8.242 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.002129/0.507, allocations: 1.056 MB / 0.7897 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.5073, allocations: 84.72 kB / 0.7898 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5073, allocations: 0 / 0.7898 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.5075, allocations: 45.02 kB / 0.7898 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.5078, allocations: 38.7 kB / 0.7898 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.51, allocations: 1.705 MB / 0.7915 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.5103, allocations: 0.7023 MB / 0.7922 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.5104, allocations: 28.09 kB / 0.7922 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.5105, allocations: 39.39 kB / 0.7923 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.5105, allocations: 0 / 0.7923 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.5389, allocations: 3.874 MB / 0.796 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.556, allocations: 9.078 kB / 0.796 GB, free: 4.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)