Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009152/0.0009152, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0009488/0.000949, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001746/0.001746, allocations: 270.9 kB / 291.2 MB, free: 1.883 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7731/0.7731, allocations: 144.6 MB / 487 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 13.53 kB / 0.5683 GB, free: 38.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 83.08 MB / 0.6494 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.00169/0.1321, allocations: 1.354 MB / 0.6507 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1337, allocations: 1.381 MB / 0.6521 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.1338, allocations: 4 kB / 0.6521 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.134, allocations: 31.78 kB / 0.6521 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.1341, allocations: 57.86 kB / 0.6522 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1344, allocations: 99.69 kB / 0.6523 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1345, allocations: 75.83 kB / 0.6524 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.1346, allocations: 13.88 kB / 0.6524 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.1347, allocations: 47.83 kB / 0.6524 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.1348, allocations: 44.48 kB / 0.6525 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1349, allocations: 5.25 kB / 0.6525 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.312e-05/0.135, allocations: 43.92 kB / 0.6525 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.135, allocations: 15.92 kB / 0.6525 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.1351, allocations: 45.64 kB / 0.6526 GB, free: 484 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1352, allocations: 104.8 kB / 0.6527 GB, free: 380 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1352, allocations: 0.5312 kB / 0.6527 GB, free: 380 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1352, allocations: 0 / 0.6527 GB, free: 380 kB / 446.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1352, allocations: 0.5938 kB / 0.6527 GB, free: 380 kB / 446.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.0005086/0.1357, allocations: 429.5 kB / 0.6531 GB, free: 15.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.1358, allocations: 8.031 kB / 0.6531 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1358, allocations: 7.906 kB / 0.6531 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1361, allocations: 226.7 kB / 0.6533 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1361, allocations: 5.016 kB / 0.6533 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1361, allocations: 4 kB / 0.6533 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1363, allocations: 103.9 kB / 0.6534 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1363, allocations: 3.984 kB / 0.6534 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1364, allocations: 0.6562 kB / 0.6534 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1364, allocations: 0 / 0.6534 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.1365, allocations: 62.3 kB / 0.6535 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.1367, allocations: 209 kB / 0.6537 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.137, allocations: 119.9 kB / 0.6538 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.137, allocations: 7.938 kB / 0.6538 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.1373, allocations: 116.5 kB / 0.6539 GB, free: 14.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1373, allocations: 0 / 0.6539 GB, free: 14.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004531/0.1377, allocations: 173.2 kB / 0.6541 GB, free: 14.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.1378, allocations: 137.3 kB / 0.6542 GB, free: 14.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.138, allocations: 170.9 kB / 0.6544 GB, free: 14.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.138, allocations: 30.3 kB / 0.6544 GB, free: 14.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.1381, allocations: 101.8 kB / 0.6545 GB, free: 14.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.1381, allocations: 27.59 kB / 0.6545 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.1381, allocations: 4 kB / 0.6545 GB, free: 14.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1382, allocations: 322.8 kB / 0.6548 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1383, allocations: 39.56 kB / 0.6549 GB, free: 13.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1385, allocations: 72.2 kB / 0.6549 GB, free: 13.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1386, allocations: 38.64 kB / 0.655 GB, free: 13.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1386, allocations: 0 / 0.655 GB, free: 13.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002758/0.1389, allocations: 145.7 kB / 0.6551 GB, free: 13.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1389, allocations: 7.984 kB / 0.6551 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1389, allocations: 0 / 0.6551 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1389, allocations: 4 kB / 0.6551 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1391, allocations: 19.98 kB / 0.6551 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1391, allocations: 8.094 kB / 0.6551 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.132e-05/0.1392, allocations: 15.91 kB / 0.6552 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1392, allocations: 4 kB / 0.6552 GB, free: 13.54 MB / 462.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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.405e-05/0.1393, allocations: 129.7 kB / 0.6553 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.1393, allocations: 11.86 kB / 0.6553 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.1394, allocations: 21.39 kB / 0.6553 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1394, allocations: 4.312 kB / 0.6553 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1394, allocations: 0 / 0.6553 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1394, allocations: 4 kB / 0.6553 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.1395, allocations: 205.6 kB / 0.6555 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1396, allocations: 4 kB / 0.6555 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.1396, allocations: 15.98 kB / 0.6555 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1396, allocations: 0 / 0.6555 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1397, allocations: 3.953 kB / 0.6556 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1397, allocations: 4 kB / 0.6556 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1397, allocations: 0 / 0.6556 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.14, allocations: 201.9 kB / 0.6557 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.14, allocations: 100.9 kB / 0.6558 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1401, allocations: 4 kB / 0.6558 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.1402, allocations: 7.984 kB / 0.6559 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.1402, allocations: 4 kB / 0.6559 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1402, allocations: 11.98 kB / 0.6559 GB, free: 12.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.972e-05/0.1403, allocations: 130 kB / 0.656 GB, free: 12.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1403, allocations: 0 / 0.656 GB, free: 12.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1406, allocations: 36.17 kB / 0.656 GB, free: 12.54 MB / 462.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 (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.0008532/0.1414, allocations: 466.5 kB / 0.6565 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1417, allocations: 91.89 kB / 0.6566 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1417, allocations: 0 / 0.6566 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.1419, allocations: 47.97 kB / 0.6566 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.1421, allocations: 35.11 kB / 0.6566 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.1425, allocations: 255.5 kB / 0.6569 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1427, allocations: 0.716 MB / 0.6576 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.926e-05/0.1428, allocations: 16.88 kB / 0.6576 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.1429, allocations: 23.42 kB / 0.6576 GB, free: 11.02 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1429, allocations: 0 / 0.6576 GB, free: 11.02 MB / 462.1 MB Notification: Performance of Templates: time 0.004014/0.1469, allocations: 1.87 MB / 0.6594 GB, free: 9.172 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) Environment - environmentSimulation: