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.001052/0.001052, allocations: 100.2 kB / 16.35 MB, free: 5.824 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.001102/0.001102, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 284.9 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8934/0.8934, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 91.89 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1507, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002713/0.1534, allocations: 1.679 MB / 0.6832 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1553, allocations: 1.507 MB / 0.6847 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.1554, allocations: 0 / 0.6847 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.1556, allocations: 39.77 kB / 0.6847 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1559, allocations: 63.64 kB / 0.6848 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1561, allocations: 118.7 kB / 0.6849 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1563, allocations: 127.6 kB / 0.685 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.1563, allocations: 17.09 kB / 0.6851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1565, allocations: 59.7 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008585/0.1573, allocations: 55.75 kB / 0.6852 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1574, allocations: 4 kB / 0.6852 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1575, allocations: 63.98 kB / 0.6852 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.1575, allocations: 19.92 kB / 0.6852 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.1576, allocations: 51.66 kB / 0.6853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.1578, allocations: 147.5 kB / 0.6854 GB, free: 3.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1579, allocations: 3.984 kB / 0.6854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1579, allocations: 0 / 0.6854 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1579, allocations: 0 / 0.6854 GB, free: 3.48 MB / 494.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.0005813/0.1585, allocations: 438.9 kB / 0.6859 GB, free: 3.004 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.1585, allocations: 11.97 kB / 0.6859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.1586, allocations: 16.84 kB / 0.6859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1588, allocations: 216 kB / 0.6861 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1588, allocations: 4.375 kB / 0.6861 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1588, allocations: 12.06 kB / 0.6861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.1591, allocations: 93.08 kB / 0.6862 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1591, allocations: 0 / 0.6862 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1591, allocations: 8 kB / 0.6862 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1591, allocations: 4 kB / 0.6862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1593, allocations: 51.89 kB / 0.6863 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.1595, allocations: 199.5 kB / 0.6865 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1597, allocations: 115.8 kB / 0.6866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1599, allocations: 54.55 kB / 0.6866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1599, allocations: 8 kB / 0.6866 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.1601, allocations: 117.8 kB / 0.6867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1601, allocations: 0 / 0.6867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004398/0.1606, allocations: 157.7 kB / 0.6869 GB, free: 1.781 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1606, allocations: 132.5 kB / 0.687 GB, free: 1.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.1608, allocations: 184.5 kB / 0.6872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1608, allocations: 25.7 kB / 0.6872 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.1609, allocations: 108.1 kB / 0.6873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.1609, allocations: 19.75 kB / 0.6873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.161, allocations: 21.7 kB / 0.6874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1611, allocations: 330.8 kB / 0.6877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.1612, allocations: 35.98 kB / 0.6877 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1613, allocations: 60.52 kB / 0.6878 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.1615, allocations: 103.4 kB / 0.6879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1615, allocations: 0 / 0.6879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002694/0.1618, allocations: 129.3 kB / 0.688 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1618, allocations: 10.81 kB / 0.688 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1618, allocations: 0 / 0.688 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1618, allocations: 0 / 0.688 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.162, allocations: 32.02 kB / 0.688 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.162, allocations: 11.92 kB / 0.688 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.1621, allocations: 4 kB / 0.688 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1621, allocations: 4 kB / 0.688 GB, free: 0.5 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.931e-05/0.1622, allocations: 131.1 kB / 0.6882 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.1622, allocations: 15.81 kB / 0.6882 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.1623, allocations: 13.41 kB / 0.6882 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1623, allocations: 7.969 kB / 0.6882 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1623, allocations: 8 kB / 0.6882 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1623, allocations: 0 / 0.6882 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1624, allocations: 201.5 kB / 0.6884 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1625, allocations: 0 / 0.6884 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.1625, allocations: 19.92 kB / 0.6884 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1625, allocations: 0 / 0.6884 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1626, allocations: 4 kB / 0.6884 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1626, allocations: 0 / 0.6884 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1626, allocations: 0 / 0.6884 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2328/0.3953, allocations: 169.9 kB / 0.6886 GB, free: 18.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.3954, allocations: 95.36 kB / 0.6887 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.3955, allocations: 5.594 kB / 0.6887 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.3956, allocations: 7.125 kB / 0.6887 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.3957, allocations: 11.69 kB / 0.6887 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.3957, allocations: 4.688 kB / 0.6887 GB, free: 18.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.3959, allocations: 133.8 kB / 0.6888 GB, free: 18.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3959, allocations: 0 / 0.6888 GB, free: 18.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.3963, allocations: 31.61 kB / 0.6889 GB, free: 18.07 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.001089/0.3973, allocations: 447.2 kB / 0.6893 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.3977, allocations: 84.67 kB / 0.6894 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3977, allocations: 1.562 kB / 0.6894 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.3978, allocations: 42.27 kB / 0.6894 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3981, allocations: 31.14 kB / 0.6894 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.3986, allocations: 239.7 kB / 0.6897 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.3988, allocations: 0.7038 MB / 0.6904 GB, free: 17.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.335e-05/0.3989, allocations: 22.48 kB / 0.6904 GB, free: 17.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.399, allocations: 23.59 kB / 0.6904 GB, free: 17.07 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.399, allocations: 3.656 kB / 0.6904 GB, free: 17.07 MB / 494.1 MB Notification: Performance of Templates: time 0.005743/0.4047, allocations: 2.033 MB / 0.6924 GB, free: 16.93 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)