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/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7183/0.7183, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 181.3 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 426.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007887/0.0007887, allocations: 78.41 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001655/0.001655, allocations: 268.2 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 16 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3465, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.477, allocations: 111 MB / 0.8479 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4773, allocations: 83.95 kB / 0.848 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.012/0.4893, allocations: 4.75 MB / 0.8526 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4893, allocations: 0 / 0.8526 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.4894, allocations: 8 kB / 0.8526 GB, free: 10.33 MB / 0.5261 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.0005826/0.49, allocations: 442.9 kB / 0.853 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.49, allocations: 8.031 kB / 0.853 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.4901, allocations: 16.83 kB / 0.8531 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.4903, allocations: 231.9 kB / 0.8533 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4904, allocations: 4.375 kB / 0.8533 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.4904, allocations: 8.375 kB / 0.8533 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.4906, allocations: 101.6 kB / 0.8534 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4906, allocations: 4.172 kB / 0.8534 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4906, allocations: 3.938 kB / 0.8534 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4907, allocations: 0 / 0.8534 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.4908, allocations: 71.88 kB / 0.8535 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.4911, allocations: 207.5 kB / 0.8537 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.4914, allocations: 123.7 kB / 0.8538 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.4915, allocations: 50.62 kB / 0.8538 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.4915, allocations: 12 kB / 0.8538 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.4918, allocations: 117.8 kB / 0.8539 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.4918, allocations: 0 / 0.8539 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0004791/0.4923, allocations: 185.3 kB / 0.8541 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.4923, allocations: 140.7 kB / 0.8543 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.4925, allocations: 178.4 kB / 0.8544 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.4926, allocations: 33.7 kB / 0.8545 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.4926, allocations: 96.14 kB / 0.8546 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.4927, allocations: 27.64 kB / 0.8546 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.4927, allocations: 4 kB / 0.8546 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4928, allocations: 322.8 kB / 0.8549 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4929, allocations: 35.97 kB / 0.8549 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.493, allocations: 72.27 kB / 0.855 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.4933, allocations: 115.6 kB / 0.8551 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4933, allocations: 192 / 0.8551 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003174/0.4936, allocations: 141.5 kB / 0.8552 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4936, allocations: 11.88 kB / 0.8553 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4937, allocations: 7.984 kB / 0.8553 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4937, allocations: 0 / 0.8553 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4938, allocations: 19.98 kB / 0.8553 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4938, allocations: 4 kB / 0.8553 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.849e-05/0.4939, allocations: 19.84 kB / 0.8553 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4939, allocations: 8.062 kB / 0.8553 GB, free: 7.242 MB / 0.5261 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 9.709e-05/0.494, allocations: 123.2 kB / 0.8554 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.4941, allocations: 15.84 kB / 0.8554 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.4943, allocations: 130.9 kB / 0.8556 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4943, allocations: 4 kB / 0.8556 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4943, allocations: 0 / 0.8556 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4943, allocations: 0 / 0.8556 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.4945, allocations: 209.5 kB / 0.8558 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4945, allocations: 4 kB / 0.8558 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.4946, allocations: 19.98 kB / 0.8558 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.4946, allocations: 3.938 kB / 0.8558 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4947, allocations: 11.98 kB / 0.8558 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4947, allocations: 3.938 kB / 0.8558 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4947, allocations: 0 / 0.8558 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.495, allocations: 186.5 kB / 0.856 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.4951, allocations: 93 kB / 0.8561 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.4951, allocations: 7.938 kB / 0.8561 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.4952, allocations: 11.98 kB / 0.8561 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.4952, allocations: 15.98 kB / 0.8561 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4953, allocations: 4 kB / 0.8561 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001221/0.4954, allocations: 132.2 kB / 0.8562 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4954, allocations: 0 / 0.8562 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002469/0.4957, allocations: 40 kB / 0.8563 GB, free: 6.141 MB / 0.5261 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.0009066/0.4966, allocations: 461.6 kB / 0.8567 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002858/0.4969, allocations: 99.88 kB / 0.8568 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4969, allocations: 0 / 0.8568 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.497, allocations: 60.09 kB / 0.8569 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.4973, allocations: 30.11 kB / 0.8569 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.4978, allocations: 286.8 kB / 0.8572 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4981, allocations: 0.7083 MB / 0.8579 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.433e-05/0.4982, allocations: 21.02 kB / 0.8579 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.4982, allocations: 23.42 kB / 0.8579 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.4983, allocations: 0 / 0.8579 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of Templates: time 0.004493/0.5028, allocations: 1.992 MB / 0.8599 GB, free: 2.559 MB / 0.5261 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)