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.001603/0.001603, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001804/0.001804, allocations: 193 kB / 16.25 MB, free: 6.629 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.603/1.603, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002532, allocations: 64.28 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3484, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.0029/0.3513, allocations: 1.749 MB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.3534, allocations: 1.479 MB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.3535, allocations: 4 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.3538, allocations: 31.89 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.3541, allocations: 55.7 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.3545, allocations: 103 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.3548, allocations: 127.6 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.3548, allocations: 9.109 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.355, allocations: 63.7 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.3553, allocations: 51.77 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3553, allocations: 8 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.3555, allocations: 59.97 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.3555, allocations: 27.86 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.3556, allocations: 47.72 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.3559, allocations: 147.8 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3559, allocations: 0 / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3559, allocations: 0 / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.3559, allocations: 0 / 1.072 GB, free: 6.82 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.0006564/0.3566, allocations: 438.9 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3566, allocations: 12.03 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.3567, allocations: 8.844 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.357, allocations: 223.9 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.357, allocations: 4.375 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.357, allocations: 12.11 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3572, allocations: 93.09 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3573, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3573, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3573, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.3575, allocations: 51.89 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.3577, allocations: 219.4 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.358, allocations: 111.7 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3581, allocations: 54.55 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3581, allocations: 4 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.3584, allocations: 109.9 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.3584, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004749/0.3589, allocations: 165.5 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.359, allocations: 136.5 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3591, allocations: 176.1 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3592, allocations: 33.7 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.3592, allocations: 104.1 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.3593, allocations: 23.7 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.3593, allocations: 25.88 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3595, allocations: 326.8 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3596, allocations: 31.97 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3597, allocations: 56.28 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.3599, allocations: 99.36 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3599, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003023/0.3603, allocations: 137.4 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3603, allocations: 4.094 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3603, allocations: 11.88 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3603, allocations: 7.984 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3604, allocations: 19.98 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3605, allocations: 0 / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.3605, allocations: 15.84 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3606, allocations: 4 kB / 1.074 GB, free: 3.832 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.0001025/0.3607, allocations: 132.3 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.3607, allocations: 7.906 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.3608, allocations: 21.39 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3608, allocations: 4 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3608, allocations: 3.938 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3608, allocations: 0 / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.361, allocations: 205.5 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.361, allocations: 4 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-05/0.3611, allocations: 12.3 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3611, allocations: 0 / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3611, allocations: 12 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3611, allocations: 192 / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3611, allocations: 8 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3615, allocations: 174.5 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.3615, allocations: 88.92 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.3615, allocations: 4 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.3616, allocations: 11.98 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.3617, allocations: 7.984 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3617, allocations: 4 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001156/0.3618, allocations: 139.2 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3618, allocations: 0 / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002558/0.3621, allocations: 28 kB / 1.075 GB, free: 2.879 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.0009791/0.3631, allocations: 452 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.3634, allocations: 87.88 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3634, allocations: 0 / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3635, allocations: 44.11 kB / 1.076 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3638, allocations: 31.91 kB / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.3643, allocations: 268.8 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3645, allocations: 0.7002 MB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.574e-05/0.3646, allocations: 24.86 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.3647, allocations: 19.42 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3647, allocations: 0 / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of Templates: time 0.004705/0.3694, allocations: 1.979 MB / 1.078 GB, free: 15.42 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)