Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.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_3.0.0_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.001481/0.001481, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 193.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7451 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 71.58 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3538, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003365/0.3572, allocations: 1.681 MB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.3594, allocations: 1.507 MB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.3595, allocations: 4 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.3598, allocations: 35.77 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.3601, allocations: 67.61 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.3605, allocations: 119.1 kB / 1.072 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.3607, allocations: 123.6 kB / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.3608, allocations: 13.09 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.3609, allocations: 55.78 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.3611, allocations: 51.7 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.3611, allocations: 12 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.3613, allocations: 59.97 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.3613, allocations: 27.91 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.3614, allocations: 39.73 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.3616, allocations: 151.8 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3617, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3617, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3617, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 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.0005831/0.3623, allocations: 442.8 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3623, allocations: 12.03 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.3624, allocations: 8.844 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.3626, allocations: 217.2 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3626, allocations: 8.375 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.3626, allocations: 4.125 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.3629, allocations: 109 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3629, allocations: 0 / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3629, allocations: 7.984 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3629, allocations: 0 / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.3631, allocations: 47.95 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.3633, allocations: 215.3 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.3636, allocations: 123.7 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3638, allocations: 50.56 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3638, allocations: 8 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.3641, allocations: 105.9 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3641, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005038/0.3646, allocations: 169.5 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.3647, allocations: 132.5 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3649, allocations: 174.4 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3649, allocations: 29.7 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.365, allocations: 100.1 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.365, allocations: 23.7 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.3651, allocations: 29.7 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3652, allocations: 322.9 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3653, allocations: 31.98 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3655, allocations: 64.2 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.3657, allocations: 95.38 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3657, allocations: 3.938 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003227/0.3661, allocations: 137.4 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3661, allocations: 4 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3661, allocations: 4.094 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3661, allocations: 4 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.3663, allocations: 19.98 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3663, allocations: 3.938 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.3664, allocations: 15.83 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3664, allocations: 4 kB / 1.075 GB, free: 3.473 MB / 0.8262 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 0.0001075/0.3665, allocations: 128.3 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.3665, allocations: 15.89 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.3666, allocations: 21.41 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3666, allocations: 4 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3666, allocations: 0 / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3666, allocations: 0 / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3668, allocations: 209.4 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3668, allocations: 0 / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.3669, allocations: 15.98 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3669, allocations: 0 / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3669, allocations: 8 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3669, allocations: 4.172 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3669, allocations: 3.938 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3673, allocations: 166.6 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.3673, allocations: 88.92 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3674, allocations: 8 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.3675, allocations: 11.98 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.3675, allocations: 4 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.3676, allocations: 7.984 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001127/0.3677, allocations: 132.2 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3677, allocations: 0 / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002562/0.3679, allocations: 35.98 kB / 1.075 GB, free: 2.523 MB / 0.8262 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.001019/0.369, allocations: 454.5 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.3693, allocations: 87.89 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3693, allocations: 0 / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3694, allocations: 48.16 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.3697, allocations: 33.14 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.3703, allocations: 244.8 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.3705, allocations: 0.7002 MB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.902e-05/0.3706, allocations: 16.88 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.3707, allocations: 23.42 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3707, allocations: 0 / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of Templates: time 0.004802/0.3755, allocations: 2.046 MB / 1.079 GB, free: 15.02 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)