Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_Buildings_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.0007829/0.0007827, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008543/0.0008543, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.7 MB / 0.5499 GB, free: 14.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005331/0.0005332, allocations: 15.72 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2502, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001937/0.2522, allocations: 1.367 MB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2541, allocations: 1.34 MB / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.2542, allocations: 0 / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.2544, allocations: 31.91 kB / 0.7901 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.2546, allocations: 51.7 kB / 0.7901 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.2548, allocations: 79.88 kB / 0.7902 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.255, allocations: 115.5 kB / 0.7903 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.2551, allocations: 17.11 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2552, allocations: 43.78 kB / 0.7904 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2554, allocations: 55.77 kB / 0.7904 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2554, allocations: 4 kB / 0.7904 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2555, allocations: 51.97 kB / 0.7905 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.2556, allocations: 15.92 kB / 0.7905 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.2556, allocations: 41.64 kB / 0.7905 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2558, allocations: 108 kB / 0.7906 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2558, allocations: 4 kB / 0.7906 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2558, allocations: 4 kB / 0.7906 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.2558, allocations: 0 / 0.7906 GB, free: 8.484 MB / 0.6075 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.0005979/0.2564, allocations: 422.8 kB / 0.791 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2565, allocations: 12.02 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.2565, allocations: 38.5 kB / 0.7911 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.2565, allocations: 11.86 kB / 0.7911 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.2568, allocations: 214.7 kB / 0.7913 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2568, allocations: 8 kB / 0.7913 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2568, allocations: 7.984 kB / 0.7913 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.257, allocations: 97.03 kB / 0.7914 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2571, allocations: 0 / 0.7914 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2571, allocations: 8 kB / 0.7914 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2571, allocations: 4 kB / 0.7914 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.2573, allocations: 55.95 kB / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.2575, allocations: 207.4 kB / 0.7917 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.2578, allocations: 115.8 kB / 0.7918 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.2579, allocations: 62.55 kB / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2579, allocations: 4 kB / 0.7919 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.2582, allocations: 117.9 kB / 0.792 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.2582, allocations: 0 / 0.792 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004649/0.2586, allocations: 173.3 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.2587, allocations: 136.8 kB / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.2589, allocations: 175.4 kB / 0.7924 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.259, allocations: 29.7 kB / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.259, allocations: 104.1 kB / 0.7926 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.2591, allocations: 35.56 kB / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.2591, allocations: 0 / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2592, allocations: 330.8 kB / 0.7929 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2593, allocations: 35.98 kB / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.2595, allocations: 68.2 kB / 0.793 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.2596, allocations: 44.02 kB / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2596, allocations: 0 / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002835/0.2599, allocations: 133.5 kB / 0.7932 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2599, allocations: 16.03 kB / 0.7932 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.26, allocations: 0 / 0.7932 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.26, allocations: 0 / 0.7932 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.2601, allocations: 27.92 kB / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2601, allocations: 0 / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.2602, allocations: 15.89 kB / 0.7932 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2602, allocations: 4.312 kB / 0.7932 GB, free: 5.512 MB / 0.6075 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.2603, allocations: 132.6 kB / 0.7934 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.2604, allocations: 15.91 kB / 0.7934 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.2604, allocations: 21.38 kB / 0.7934 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2604, allocations: 0 / 0.7934 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2604, allocations: 4 kB / 0.7934 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2604, allocations: 0 / 0.7934 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2606, allocations: 205.6 kB / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2606, allocations: 0 / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.2607, allocations: 19.92 kB / 0.7936 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2607, allocations: 0 / 0.7936 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2608, allocations: 8 kB / 0.7936 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2608, allocations: 0 / 0.7936 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2608, allocations: 0 / 0.7936 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.2611, allocations: 178.6 kB / 0.7938 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.2612, allocations: 96.94 kB / 0.7939 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.2612, allocations: 4 kB / 0.7939 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.2613, allocations: 11.98 kB / 0.7939 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.2613, allocations: 15.92 kB / 0.7939 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.2614, allocations: 4 kB / 0.7939 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001157/0.2615, allocations: 135.2 kB / 0.794 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2615, allocations: 0 / 0.794 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00025/0.2617, allocations: 36.08 kB / 0.7941 GB, free: 4.539 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/0.2633, allocations: 1.049 MB / 0.7951 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.2636, allocations: 91.88 kB / 0.7952 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2636, allocations: 7.938 kB / 0.7952 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.2637, allocations: 43.98 kB / 0.7952 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.264, allocations: 28.28 kB / 0.7953 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.2654, allocations: 0.8124 MB / 0.7961 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.2657, allocations: 0.7004 MB / 0.7967 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.18e-05/0.2658, allocations: 24.47 kB / 0.7968 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.2658, allocations: 43.41 kB / 0.7968 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2658, allocations: 0 / 0.7968 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.2809, allocations: 3.301 MB / 0.8 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.2811, allocations: 217.5 kB / 0.8002 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.263, allocations: 0 / 0.8002 GB, free: 14.39 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) Environment - environmentSimulation: