Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001146/0.001146, allocations: 116.9 kB / 17.09 MB, free: 6.016 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.001207/0.001207, allocations: 196.7 kB / 18.02 MB, free: 5.094 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.444/1.444, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 69.2 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 76.17 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002895/0.1412, allocations: 1.663 MB / 0.6343 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1434, allocations: 1.514 MB / 0.6358 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.1435, allocations: 3.938 kB / 0.6358 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1438, allocations: 39.77 kB / 0.6359 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.144, allocations: 55.7 kB / 0.6359 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1443, allocations: 123.5 kB / 0.636 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.1445, allocations: 127.6 kB / 0.6362 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.1446, allocations: 13.11 kB / 0.6362 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1447, allocations: 63.75 kB / 0.6362 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006864/0.1454, allocations: 53.11 kB / 0.6363 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.1454, allocations: 8 kB / 0.6363 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1456, allocations: 55.98 kB / 0.6363 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.1456, allocations: 35.83 kB / 0.6364 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.1457, allocations: 35.75 kB / 0.6364 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.1459, allocations: 147.5 kB / 0.6366 GB, free: 480 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.146, allocations: 4 kB / 0.6366 GB, free: 476 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.146, allocations: 0 / 0.6366 GB, free: 476 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.146, allocations: 0 / 0.6366 GB, free: 476 kB / 478.1 MB 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.0006356/0.1466, allocations: 439 kB / 0.637 GB, free: 15.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1467, allocations: 12.03 kB / 0.637 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.1467, allocations: 8.844 kB / 0.637 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.147, allocations: 232.4 kB / 0.6372 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.147, allocations: 384 / 0.6372 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1471, allocations: 16.06 kB / 0.6372 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.1473, allocations: 93.09 kB / 0.6373 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1473, allocations: 0 / 0.6373 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1473, allocations: 3.984 kB / 0.6373 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1473, allocations: 0 / 0.6373 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1475, allocations: 51.91 kB / 0.6374 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.1477, allocations: 215.4 kB / 0.6376 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.148, allocations: 115.8 kB / 0.6377 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1481, allocations: 50.56 kB / 0.6377 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1482, allocations: 0 / 0.6377 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.1484, allocations: 117.9 kB / 0.6379 GB, free: 14.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1484, allocations: 0 / 0.6379 GB, free: 14.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004711/0.1489, allocations: 165.4 kB / 0.638 GB, free: 14.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.149, allocations: 132.5 kB / 0.6381 GB, free: 14.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1491, allocations: 170.4 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1492, allocations: 33.95 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.1492, allocations: 104.1 kB / 0.6384 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.1493, allocations: 27.64 kB / 0.6385 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.1493, allocations: 21.72 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1494, allocations: 322.8 kB / 0.6388 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1495, allocations: 31.97 kB / 0.6388 GB, free: 13.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1497, allocations: 76.2 kB / 0.6389 GB, free: 13.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.1499, allocations: 91.34 kB / 0.639 GB, free: 13.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1499, allocations: 0 / 0.639 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002764/0.1502, allocations: 145.6 kB / 0.6391 GB, free: 13.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1502, allocations: 4 kB / 0.6391 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1502, allocations: 4 kB / 0.6391 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1502, allocations: 0 / 0.6391 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1504, allocations: 19.98 kB / 0.6391 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1504, allocations: 0 / 0.6391 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.735e-05/0.1505, allocations: 11.91 kB / 0.6392 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1505, allocations: 16.08 kB / 0.6392 GB, free: 13.46 MB / 494.1 MB 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.665e-05/0.1506, allocations: 127.8 kB / 0.6393 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.1506, allocations: 7.906 kB / 0.6393 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.1507, allocations: 25.39 kB / 0.6393 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1507, allocations: 0 / 0.6393 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1507, allocations: 3.938 kB / 0.6393 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1507, allocations: 0 / 0.6393 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1509, allocations: 209.4 kB / 0.6395 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1509, allocations: 4 kB / 0.6395 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.151, allocations: 15.98 kB / 0.6395 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.151, allocations: 4 kB / 0.6395 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.151, allocations: 0 / 0.6395 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.151, allocations: 0 / 0.6395 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.151, allocations: 4 kB / 0.6396 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1513, allocations: 170.6 kB / 0.6397 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1514, allocations: 96.86 kB / 0.6398 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1514, allocations: 3.984 kB / 0.6398 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.1515, allocations: 4 kB / 0.6398 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.1515, allocations: 11.98 kB / 0.6398 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1516, allocations: 4 kB / 0.6398 GB, free: 12.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1517, allocations: 136.2 kB / 0.64 GB, free: 12.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1517, allocations: 0 / 0.64 GB, free: 12.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1519, allocations: 28 kB / 0.64 GB, free: 12.52 MB / 494.1 MB 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.0009753/0.1529, allocations: 454.1 kB / 0.6404 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.1532, allocations: 91.89 kB / 0.6405 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1532, allocations: 0 / 0.6405 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1533, allocations: 43.91 kB / 0.6405 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.1536, allocations: 47.83 kB / 0.6406 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.1541, allocations: 259 kB / 0.6408 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1544, allocations: 0.7002 MB / 0.6415 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.1545, allocations: 27.42 kB / 0.6416 GB, free: 11.03 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1545, allocations: 0 / 0.6416 GB, free: 11.03 MB / 494.1 MB Notification: Performance of Templates: time 0.004087/0.1586, allocations: 2.21 MB / 0.6437 GB, free: 8.832 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)