Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009994/0.0009995, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4538/0.4538, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 221.3 MB / 348.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009015/0.0009014, allocations: 107.5 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.932e-05, allocations: 0 / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3379, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4622, allocations: 105.7 MB / 0.6636 GB, free: 14.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4624, allocations: 83.95 kB / 0.6636 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.4746, allocations: 4.676 MB / 0.6682 GB, free: 9.828 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4746, allocations: 0 / 0.6682 GB, free: 9.828 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4747, allocations: 4 kB / 0.6682 GB, free: 9.824 MB / 490.7 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.0004904/0.4752, allocations: 426.8 kB / 0.6686 GB, free: 9.363 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4752, allocations: 19.92 kB / 0.6686 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.4752, allocations: 30.56 kB / 0.6687 GB, free: 9.305 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.4753, allocations: 7.906 kB / 0.6687 GB, free: 9.297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.4756, allocations: 230.7 kB / 0.6689 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4756, allocations: 0 / 0.6689 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.4756, allocations: 4 kB / 0.6689 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.4758, allocations: 94.16 kB / 0.669 GB, free: 8.918 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.4758, allocations: 0 / 0.669 GB, free: 8.918 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4758, allocations: 7.953 kB / 0.669 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4758, allocations: 0 / 0.669 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.158e-05/0.4759, allocations: 31.98 kB / 0.669 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.4761, allocations: 211.5 kB / 0.6692 GB, free: 8.617 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.4763, allocations: 115.6 kB / 0.6693 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.4764, allocations: 42.83 kB / 0.6694 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.4764, allocations: 0 / 0.6694 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.4766, allocations: 104.5 kB / 0.6695 GB, free: 8.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.103e-06/0.4766, allocations: 3.938 kB / 0.6695 GB, free: 8.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002538/0.4769, allocations: 117.4 kB / 0.6696 GB, free: 8.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.4769, allocations: 137.4 kB / 0.6697 GB, free: 8.016 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.4771, allocations: 162 kB / 0.6699 GB, free: 7.852 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4771, allocations: 33.7 kB / 0.6699 GB, free: 7.812 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.4772, allocations: 100.2 kB / 0.67 GB, free: 7.711 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.4772, allocations: 31.62 kB / 0.67 GB, free: 7.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.4773, allocations: 0 / 0.67 GB, free: 7.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4774, allocations: 326.8 kB / 0.6703 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.4774, allocations: 20 kB / 0.6704 GB, free: 7.332 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.4775, allocations: 58.72 kB / 0.6704 GB, free: 7.262 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/0.4776, allocations: 31.95 kB / 0.6704 GB, free: 7.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4776, allocations: 0 / 0.6704 GB, free: 7.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001729/0.4777, allocations: 113.5 kB / 0.6706 GB, free: 7.113 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.4778, allocations: 4 kB / 0.6706 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4778, allocations: 0 / 0.6706 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.4778, allocations: 4 kB / 0.6706 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4779, allocations: 24.08 kB / 0.6706 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4779, allocations: 11.89 kB / 0.6706 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.478, allocations: 19.89 kB / 0.6706 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4781, allocations: 4 kB / 0.6706 GB, free: 7.047 MB / 490.7 MB 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 () * 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 6.79e-05/0.4781, allocations: 108.9 kB / 0.6707 GB, free: 6.934 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.4782, allocations: 15.89 kB / 0.6707 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.4784, allocations: 119 kB / 0.6709 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.4784, allocations: 4 kB / 0.6709 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4784, allocations: 7.938 kB / 0.6709 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4784, allocations: 3.953 kB / 0.6709 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.4786, allocations: 213.6 kB / 0.6711 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4786, allocations: 0 / 0.6711 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.4787, allocations: 12 kB / 0.6711 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4787, allocations: 4 kB / 0.6711 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.4787, allocations: 4.109 kB / 0.6711 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4787, allocations: 9.125 kB / 0.6711 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4787, allocations: 4 kB / 0.6711 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.479, allocations: 186.8 kB / 0.6713 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.479, allocations: 89.02 kB / 0.6714 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.479, allocations: 4 kB / 0.6714 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.351e-05/0.4792, allocations: 23.94 kB / 0.6714 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.4792, allocations: 8.547 kB / 0.6714 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.4792, allocations: 4 kB / 0.6714 GB, free: 6.125 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.4793, allocations: 136.2 kB / 0.6715 GB, free: 5.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4793, allocations: 4 kB / 0.6715 GB, free: 5.988 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.4796, allocations: 39.94 kB / 0.6716 GB, free: 5.949 MB / 490.7 MB 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001309/0.4809, allocations: 1.173 MB / 0.6727 GB, free: 4.902 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.4811, allocations: 63.92 kB / 0.6728 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4811, allocations: 0 / 0.6728 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.4812, allocations: 47.92 kB / 0.6728 GB, free: 4.793 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.4814, allocations: 19.98 kB / 0.6728 GB, free: 4.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.4819, allocations: 229.3 kB / 0.6731 GB, free: 4.508 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.4822, allocations: 0.7121 MB / 0.6738 GB, free: 3.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.162e-05/0.4823, allocations: 23.83 kB / 0.6738 GB, free: 3.746 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.4824, allocations: 43.42 kB / 0.6738 GB, free: 3.703 MB / 490.7 MB Notification: Performance of SimCode: time 1.552e-06/0.4824, allocations: 0 / 0.6738 GB, free: 3.703 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.498, allocations: 3.388 MB / 0.6771 GB, free: 452 kB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.4983, allocations: 187.5 kB / 0.6773 GB, free: 224 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.981, allocations: 3.25 kB / 0.6773 GB, free: 224 kB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)