Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.526/2.526, allocations: 284.8 MB / 297.3 MB, free: 6.305 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002043/0.002042, allocations: 188.8 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.1 MB / 0.6241 GB, free: 8.203 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 104 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.061e-05, allocations: 3.984 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.87/0.8701, allocations: 115.2 MB / 0.97 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2477/1.118, allocations: 141.6 MB / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/1.118, allocations: 81.39 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02027/1.139, allocations: 4.523 MB / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/1.139, allocations: 2.469 kB / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.998e-05/1.139, allocations: 4 kB / 1.113 GB, free: 6.281 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.0007472/1.139, allocations: 426 kB / 1.113 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.139, allocations: 9.219 kB / 1.113 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/1.14, allocations: 7.906 kB / 1.113 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/1.14, allocations: 215.7 kB / 1.113 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/1.14, allocations: 8.875 kB / 1.113 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/1.14, allocations: 3.984 kB / 1.113 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/1.14, allocations: 92.92 kB / 1.113 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.14, allocations: 0 / 1.113 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/1.14, allocations: 7.281 kB / 1.113 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.14, allocations: 2.25 kB / 1.113 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/1.141, allocations: 35.97 kB / 1.114 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/1.141, allocations: 220.2 kB / 1.114 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/1.141, allocations: 111.8 kB / 1.114 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/1.141, allocations: 38.83 kB / 1.114 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/1.141, allocations: 0 / 1.114 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/1.142, allocations: 105.5 kB / 1.114 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/1.142, allocations: 3.938 kB / 1.114 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003982/1.142, allocations: 109.5 kB / 1.114 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/1.142, allocations: 136.5 kB / 1.114 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/1.142, allocations: 168.5 kB / 1.114 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/1.142, allocations: 29.7 kB / 1.114 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/1.142, allocations: 104.1 kB / 1.114 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/1.143, allocations: 19.75 kB / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/1.143, allocations: 0 / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.143, allocations: 330.8 kB / 1.115 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/1.143, allocations: 24.05 kB / 1.115 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/1.143, allocations: 52.3 kB / 1.115 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/1.143, allocations: 31.92 kB / 1.115 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.143, allocations: 0 / 1.115 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003207/1.143, allocations: 125.4 kB / 1.115 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.143, allocations: 4 kB / 1.115 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.143, allocations: 5.859 kB / 1.115 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.144, allocations: 4 kB / 1.115 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/1.144, allocations: 19.98 kB / 1.115 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.144, allocations: 7.938 kB / 1.115 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/1.144, allocations: 12 kB / 1.115 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/1.144, allocations: 0 / 1.115 GB, free: 3.586 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 0.00011/1.144, allocations: 121.4 kB / 1.115 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/1.144, allocations: 19.81 kB / 1.115 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/1.145, allocations: 121.5 kB / 1.115 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/1.145, allocations: 0 / 1.115 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.145, allocations: 7.938 kB / 1.115 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.145, allocations: 0 / 1.115 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/1.145, allocations: 213.5 kB / 1.116 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.145, allocations: 4 kB / 1.116 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/1.145, allocations: 23.8 kB / 1.116 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/1.145, allocations: 4 kB / 1.116 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/1.145, allocations: 0 / 1.116 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/1.145, allocations: 4 kB / 1.116 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.145, allocations: 3.984 kB / 1.116 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/1.145, allocations: 182 kB / 1.116 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/1.146, allocations: 96.91 kB / 1.116 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/1.146, allocations: 7.562 kB / 1.116 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/1.146, allocations: 8 kB / 1.116 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/1.146, allocations: 11.98 kB / 1.116 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/1.146, allocations: 4 kB / 1.116 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001845/1.146, allocations: 148.2 kB / 1.116 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.146, allocations: 0 / 1.116 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003653/1.146, allocations: 39.94 kB / 1.116 GB, free: 2.48 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.001242/1.148, allocations: 412.4 kB / 1.116 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002968/1.148, allocations: 75.92 kB / 1.117 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.148, allocations: 0 / 1.117 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/1.148, allocations: 39.92 kB / 1.117 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/1.149, allocations: 30.03 kB / 1.117 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/1.149, allocations: 158 kB / 1.117 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/1.149, allocations: 0.7163 MB / 1.117 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001363/1.15, allocations: 27.84 kB / 1.117 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.052e-05/1.15, allocations: 23.42 kB / 1.118 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/1.15, allocations: 4 kB / 1.118 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of Templates: time 0.00769/1.157, allocations: 1.975 MB / 1.119 GB, free: 15.24 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)