Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006805/0.0006806, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004147/0.004147, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.147/1.147, allocations: 205.4 MB / 222.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.329/1.329, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.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.0005163/0.0005164, allocations: 12 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3684, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001691/0.3702, allocations: 1.402 MB / 0.7301 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3717, allocations: 1.383 MB / 0.7314 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.3718, allocations: 0 / 0.7314 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.372, allocations: 39.83 kB / 0.7315 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.3722, allocations: 55.77 kB / 0.7315 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.3724, allocations: 83.83 kB / 0.7316 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.3726, allocations: 115.6 kB / 0.7317 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.3726, allocations: 9.109 kB / 0.7317 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3727, allocations: 55.72 kB / 0.7318 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.3729, allocations: 47.77 kB / 0.7318 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3729, allocations: 4 kB / 0.7318 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.373, allocations: 67.89 kB / 0.7319 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.373, allocations: 27.8 kB / 0.7319 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.3731, allocations: 65.44 kB / 0.732 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3733, allocations: 133.6 kB / 0.7321 GB, free: 7.762 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3733, allocations: 0 / 0.7321 GB, free: 7.762 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3733, allocations: 0 / 0.7321 GB, free: 7.762 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.3733, allocations: 0 / 0.7321 GB, free: 7.762 MB / 0.545 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.0004986/0.3738, allocations: 442.9 kB / 0.7325 GB, free: 7.281 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.3739, allocations: 8.031 kB / 0.7325 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.3739, allocations: 20.75 kB / 0.7326 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.3741, allocations: 212.8 kB / 0.7328 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3741, allocations: 384 / 0.7328 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3742, allocations: 8.125 kB / 0.7328 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.3744, allocations: 109.1 kB / 0.7329 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.3744, allocations: 0 / 0.7329 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3744, allocations: 0 / 0.7329 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3744, allocations: 0 / 0.7329 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.3746, allocations: 63.89 kB / 0.7329 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.3748, allocations: 211.4 kB / 0.7331 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.375, allocations: 119.8 kB / 0.7333 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3752, allocations: 62.55 kB / 0.7333 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3752, allocations: 0 / 0.7333 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.3754, allocations: 121.9 kB / 0.7334 GB, free: 6.195 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.3754, allocations: 0 / 0.7334 GB, free: 6.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004249/0.3758, allocations: 173.6 kB / 0.7336 GB, free: 6.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.3759, allocations: 132.5 kB / 0.7337 GB, free: 5.859 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.3761, allocations: 183.6 kB / 0.7339 GB, free: 5.672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3761, allocations: 29.7 kB / 0.7339 GB, free: 5.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.3762, allocations: 104.1 kB / 0.734 GB, free: 5.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.3762, allocations: 27.75 kB / 0.7341 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.3762, allocations: 17.7 kB / 0.7341 GB, free: 5.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.3763, allocations: 326.8 kB / 0.7344 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.3764, allocations: 27.98 kB / 0.7344 GB, free: 5.125 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3766, allocations: 76.27 kB / 0.7345 GB, free: 5.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.3768, allocations: 99.38 kB / 0.7346 GB, free: 4.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3768, allocations: 7.984 kB / 0.7346 GB, free: 4.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002772/0.3771, allocations: 141.5 kB / 0.7347 GB, free: 4.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.3771, allocations: 4 kB / 0.7347 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3771, allocations: 8.031 kB / 0.7347 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.3771, allocations: 4 kB / 0.7347 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3772, allocations: 23.98 kB / 0.7348 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3772, allocations: 0 / 0.7348 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.3773, allocations: 15.98 kB / 0.7348 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3773, allocations: 4 kB / 0.7348 GB, free: 4.715 MB / 0.545 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 9.123e-05/0.3774, allocations: 126 kB / 0.7349 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.3775, allocations: 19.8 kB / 0.7349 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.3775, allocations: 25.34 kB / 0.7349 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3775, allocations: 0 / 0.7349 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3775, allocations: 4 kB / 0.7349 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3775, allocations: 4 kB / 0.7349 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.3777, allocations: 209.5 kB / 0.7351 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3777, allocations: 0 / 0.7351 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.3778, allocations: 15.98 kB / 0.7352 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3778, allocations: 0 / 0.7352 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3778, allocations: 7.984 kB / 0.7352 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3778, allocations: 4 kB / 0.7352 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3778, allocations: 0 / 0.7352 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.3781, allocations: 182.5 kB / 0.7353 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.3781, allocations: 85.02 kB / 0.7354 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.3782, allocations: 4 kB / 0.7354 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.3782, allocations: 15.98 kB / 0.7354 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.3783, allocations: 7.984 kB / 0.7355 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3783, allocations: 4 kB / 0.7355 GB, free: 3.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001004/0.3784, allocations: 131.2 kB / 0.7356 GB, free: 3.785 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.332e-06/0.3784, allocations: 4 kB / 0.7356 GB, free: 3.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002167/0.3786, allocations: 31.94 kB / 0.7356 GB, free: 3.75 MB / 0.545 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.0008293/0.3795, allocations: 451.7 kB / 0.736 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3797, allocations: 95.88 kB / 0.7361 GB, free: 3.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3798, allocations: 3.938 kB / 0.7361 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3799, allocations: 43.92 kB / 0.7362 GB, free: 3.336 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.3801, allocations: 36.78 kB / 0.7362 GB, free: 3.301 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.3805, allocations: 270.8 kB / 0.7365 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.3808, allocations: 0.7082 MB / 0.7372 GB, free: 2.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.42e-05/0.3808, allocations: 24.84 kB / 0.7372 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.3809, allocations: 23.42 kB / 0.7372 GB, free: 2.219 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.3809, allocations: 0 / 0.7372 GB, free: 2.219 MB / 0.545 GB Notification: Performance of Templates: time 0.003941/0.3849, allocations: 1.905 MB / 0.7391 GB, free: 348 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) Environment - environmentSimulation: