Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6881/0.6881, allocations: 117.9 MB / 133.9 MB, free: 4.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 180.6 kB / 161.7 MB, free: 2.734 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 394.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008411/0.0008413, allocations: 93.28 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003865, allocations: 15.98 kB / 0.5423 GB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4551, allocations: 74.54 MB / 0.6151 GB, free: 54.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5951, allocations: 105.4 MB / 0.718 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5954, allocations: 83.95 kB / 0.7181 GB, free: 12.52 MB / 0.4948 GB Error: Failed to lookup URI (is the package loaded?) modelica://IBPSA//Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.csv Notification: Performance of FrontEnd - DAE generated: time 0.01371/0.6091, allocations: 4.77 MB / 0.7227 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.935e-06/0.6092, allocations: 0 / 0.7227 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.447e-05/0.6092, allocations: 7.938 kB / 0.7228 GB, free: 7.738 MB / 0.4948 GB Error: Failed to lookup URI (is the package loaded?) modelica://IBPSA//Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.csv 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.0009705/0.6102, allocations: 446.8 kB / 0.7232 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.558e-05/0.6103, allocations: 12.03 kB / 0.7232 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.6104, allocations: 12.75 kB / 0.7232 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.6109, allocations: 224 kB / 0.7234 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.6109, allocations: 4.375 kB / 0.7234 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.611, allocations: 4.375 kB / 0.7234 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.6113, allocations: 101.6 kB / 0.7235 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6113, allocations: 192 / 0.7235 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.6114, allocations: 7.938 kB / 0.7235 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.6114, allocations: 4 kB / 0.7235 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.6116, allocations: 63.88 kB / 0.7236 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.612, allocations: 219.4 kB / 0.7238 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.6124, allocations: 119.8 kB / 0.7239 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.6125, allocations: 62.55 kB / 0.724 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.6126, allocations: 4 kB / 0.724 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/0.6129, allocations: 117.9 kB / 0.7241 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.435e-06/0.6129, allocations: 0 / 0.7241 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005847/0.6135, allocations: 177.6 kB / 0.7243 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.6136, allocations: 140.5 kB / 0.7244 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.6138, allocations: 182.4 kB / 0.7246 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.6139, allocations: 33.69 kB / 0.7246 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.614, allocations: 96.14 kB / 0.7247 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.614, allocations: 27.64 kB / 0.7247 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.614, allocations: 4 kB / 0.7247 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6142, allocations: 322.8 kB / 0.725 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.6143, allocations: 43.97 kB / 0.7251 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.6144, allocations: 64.27 kB / 0.7251 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.6147, allocations: 107.4 kB / 0.7252 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6147, allocations: 0 / 0.7252 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000336/0.615, allocations: 145.6 kB / 0.7254 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.6151, allocations: 15.88 kB / 0.7254 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6151, allocations: 4.062 kB / 0.7254 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6151, allocations: 0 / 0.7254 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.6152, allocations: 27.97 kB / 0.7254 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.6153, allocations: 0 / 0.7254 GB, free: 4.68 MB / 0.4948 GB Error: Failed to lookup URI (is the package loaded?) modelica://IBPSA//Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.csv Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.6154, allocations: 17.53 kB / 0.7254 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.6154, allocations: 4 kB / 0.7254 GB, free: 4.66 MB / 0.4948 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 ($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 0.0001429/0.6155, allocations: 129.8 kB / 0.7256 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.6156, allocations: 19.75 kB / 0.7256 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.6159, allocations: 123 kB / 0.7257 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.6159, allocations: 0 / 0.7257 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.6159, allocations: 3.984 kB / 0.7257 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.6159, allocations: 11.98 kB / 0.7257 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.6162, allocations: 201.5 kB / 0.7259 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6162, allocations: 0 / 0.7259 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.6163, allocations: 19.98 kB / 0.7259 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.6163, allocations: 3.938 kB / 0.7259 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.6163, allocations: 11.98 kB / 0.7259 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.6163, allocations: 0 / 0.7259 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6163, allocations: 11.88 kB / 0.726 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.6167, allocations: 182.5 kB / 0.7261 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.6168, allocations: 97 kB / 0.7262 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.6168, allocations: 3.938 kB / 0.7262 GB, free: 3.754 MB / 0.4948 GB Error: Failed to lookup URI (is the package loaded?) modelica://IBPSA//Resources/Data/Utilities/IO/Files/Examples/CSVReader/Data.csv Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.6169, allocations: 15.98 kB / 0.7262 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.617, allocations: 8 kB / 0.7263 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.617, allocations: 7.984 kB / 0.7263 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001613/0.6172, allocations: 135.2 kB / 0.7264 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6172, allocations: 0 / 0.7264 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003082/0.6175, allocations: 35.98 kB / 0.7264 GB, free: 3.555 MB / 0.4948 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0013/0.6188, allocations: 464.9 kB / 0.7269 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.6192, allocations: 111.9 kB / 0.727 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6192, allocations: 0 / 0.727 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.6194, allocations: 51.91 kB / 0.727 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.6197, allocations: 27.92 kB / 0.7271 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/0.6205, allocations: 283 kB / 0.7273 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.6209, allocations: 0.7083 MB / 0.728 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.621, allocations: 24.98 kB / 0.728 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.6211, allocations: 19.42 kB / 0.7281 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.6211, allocations: 0 / 0.7281 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of Templates: time 0.005562/0.6267, allocations: 2.002 MB / 0.73 GB, free: 12 kB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)