Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 285.6 MB / 293.1 MB, free: 10.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 172.9 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008791/0.000879, allocations: 99.89 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.255e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8725/0.8725, allocations: 115.3 MB / 0.9645 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2165/1.089, allocations: 141.1 MB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/1.089, allocations: 87.94 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01229/1.102, allocations: 4.387 MB / 1.107 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.169e-06/1.102, allocations: 4 kB / 1.107 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.699e-05/1.102, allocations: 4.594 kB / 1.107 GB, free: 10.33 MB / 0.7136 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.0007073/1.103, allocations: 432.8 kB / 1.107 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.812e-05/1.103, allocations: 8.719 kB / 1.107 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/1.103, allocations: 12.94 kB / 1.107 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/1.103, allocations: 224.1 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/1.103, allocations: 0 / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/1.103, allocations: 6.062 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001597/1.103, allocations: 39.97 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/1.104, allocations: 77.95 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.104, allocations: 4.594 kB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.104, allocations: 2.312 kB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.104, allocations: 4 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/1.104, allocations: 192 kB / 1.108 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/1.104, allocations: 103 kB / 1.108 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/1.104, allocations: 44.75 kB / 1.108 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/1.104, allocations: 0 / 1.108 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/1.105, allocations: 109.3 kB / 1.108 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.744e-06/1.105, allocations: 0 / 1.108 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003581/1.105, allocations: 101.5 kB / 1.108 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/1.105, allocations: 132.5 kB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/1.105, allocations: 166.2 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/1.105, allocations: 25.7 kB / 1.108 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/1.105, allocations: 104.1 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/1.105, allocations: 23.73 kB / 1.108 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/1.105, allocations: 0 / 1.108 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.106, allocations: 326.8 kB / 1.109 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/1.106, allocations: 20 kB / 1.109 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/1.106, allocations: 60.28 kB / 1.109 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.181e-05/1.106, allocations: 23.98 kB / 1.109 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.106, allocations: 3.938 kB / 1.109 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002131/1.106, allocations: 113.4 kB / 1.109 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.106, allocations: 4 kB / 1.109 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.106, allocations: 128 / 1.109 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.106, allocations: 8 kB / 1.109 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/1.106, allocations: 23.92 kB / 1.109 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.106, allocations: 4 kB / 1.109 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/1.106, allocations: 13.48 kB / 1.109 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/1.106, allocations: 11.2 kB / 1.109 GB, free: 7.695 MB / 0.7136 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 () * 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 9.143e-05/1.107, allocations: 101 kB / 1.109 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00019/1.107, allocations: 121.4 kB / 1.109 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/1.107, allocations: 11.81 kB / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/1.107, allocations: 115.4 kB / 1.109 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.107, allocations: 4 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.107, allocations: 0 / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/1.107, allocations: 7.734 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/1.107, allocations: 186.1 kB / 1.109 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.107, allocations: 5.594 kB / 1.109 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.565e-05/1.107, allocations: 20.05 kB / 1.109 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.107, allocations: 4 kB / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.107, allocations: 0 / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.107, allocations: 0 / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.107, allocations: 4 kB / 1.109 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/1.108, allocations: 182 kB / 1.11 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/1.108, allocations: 89 kB / 1.11 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/1.108, allocations: 4 kB / 1.11 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/1.108, allocations: 12 kB / 1.11 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/1.108, allocations: 11.92 kB / 1.11 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/1.108, allocations: 5.781 kB / 1.11 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001095/1.108, allocations: 136.8 kB / 1.11 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.108, allocations: 4 kB / 1.11 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002687/1.108, allocations: 35.88 kB / 1.11 GB, free: 6.551 MB / 0.7136 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.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.001539/1.11, allocations: 1.131 MB / 1.111 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001976/1.11, allocations: 71.92 kB / 1.111 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.11, allocations: 0 / 1.111 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/1.11, allocations: 39.91 kB / 1.111 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/1.11, allocations: 24.5 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/1.111, allocations: 227.3 kB / 1.111 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/1.111, allocations: 0.7161 MB / 1.112 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001016/1.112, allocations: 20.55 kB / 1.112 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/1.112, allocations: 35.42 kB / 1.112 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/1.112, allocations: 4 kB / 1.112 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/1.139, allocations: 3.035 MB / 1.115 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/1.139, allocations: 172.9 kB / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.76, allocations: 3.938 kB / 1.115 GB, free: 1.188 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)