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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009637/0.0009637, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008954/0.0008954, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9312/0.9312, allocations: 177.1 MB / 203.4 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002557/0.002557, allocations: 249.8 kB / 260.2 MB, free: 12.81 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7726/0.7726, allocations: 138.4 MB / 455.2 MB, free: 1.562 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.729e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002527/0.002544, allocations: 1.747 MB / 0.5568 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.004538, allocations: 1.773 MB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.004616, allocations: 7.938 kB / 0.5586 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.004889, allocations: 43.66 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.005224, allocations: 115.4 kB / 0.5587 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.005439, allocations: 99.52 kB / 0.5588 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.005628, allocations: 139.5 kB / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.005667, allocations: 13.62 kB / 0.5589 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.005839, allocations: 79.75 kB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.005983, allocations: 43.88 kB / 0.5591 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.006002, allocations: 4 kB / 0.5591 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.006166, allocations: 111.8 kB / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.006218, allocations: 35.84 kB / 0.5592 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.006261, allocations: 27.86 kB / 0.5592 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.006529, allocations: 187.4 kB / 0.5594 GB, free: 12.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.006531, allocations: 0 / 0.5594 GB, free: 12.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006532, allocations: 0 / 0.5594 GB, free: 12.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.006535, allocations: 0 / 0.5594 GB, free: 12.1 MB / 490.7 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.0005151/0.00705, allocations: 499.4 kB / 0.5599 GB, free: 11.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.007085, allocations: 16.73 kB / 0.5599 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.007217, allocations: 20.84 kB / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.007412, allocations: 173.1 kB / 0.5601 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.007429, allocations: 4.359 kB / 0.5601 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.007441, allocations: 4.375 kB / 0.5601 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.007622, allocations: 143.3 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.007631, allocations: 3.938 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.007641, allocations: 0 / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.007648, allocations: 0 / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.007702, allocations: 15.98 kB / 0.5603 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.007874, allocations: 172 kB / 0.5604 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.008022, allocations: 113.2 kB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.008069, allocations: 35.17 kB / 0.5606 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.008084, allocations: 8 kB / 0.5606 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.008204, allocations: 100.1 kB / 0.5607 GB, free: 10.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.008205, allocations: 0 / 0.5607 GB, free: 10.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002542/0.00846, allocations: 125.6 kB / 0.5608 GB, free: 10.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.008511, allocations: 132.5 kB / 0.5609 GB, free: 10.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.008675, allocations: 239 kB / 0.5611 GB, free: 10.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.008689, allocations: 33.64 kB / 0.5612 GB, free: 10.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.008749, allocations: 158.9 kB / 0.5613 GB, free: 9.867 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.008782, allocations: 27.78 kB / 0.5613 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.008825, allocations: 27.38 kB / 0.5614 GB, free: 9.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.008946, allocations: 0.5001 MB / 0.5619 GB, free: 9.293 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.008977, allocations: 8 kB / 0.5619 GB, free: 9.285 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.009039, allocations: 88.06 kB / 0.562 GB, free: 9.172 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.719e-05/0.009126, allocations: 66.67 kB / 0.562 GB, free: 9.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.009128, allocations: 4.031 kB / 0.562 GB, free: 9.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001515/0.009279, allocations: 97.53 kB / 0.5621 GB, free: 8.984 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.009293, allocations: 8 kB / 0.5621 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.009298, allocations: 3.938 kB / 0.5621 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.00931, allocations: 0 / 0.5621 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.009399, allocations: 23.92 kB / 0.5621 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.009404, allocations: 0 / 0.5621 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.009457, allocations: 19.94 kB / 0.5622 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.009464, allocations: 0 / 0.5622 GB, free: 8.93 MB / 490.7 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 8.036e-05/0.009545, allocations: 168.6 kB / 0.5623 GB, free: 8.754 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.009572, allocations: 19.91 kB / 0.5623 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.009727, allocations: 111 kB / 0.5625 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.00973, allocations: 4 kB / 0.5625 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.009733, allocations: 0 / 0.5625 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009737, allocations: 0 / 0.5625 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.009857, allocations: 156.6 kB / 0.5626 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009858, allocations: 0 / 0.5626 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.009905, allocations: 15.98 kB / 0.5626 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009907, allocations: 0 / 0.5626 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.009916, allocations: 8 kB / 0.5626 GB, free: 8.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.00992, allocations: 8 kB / 0.5626 GB, free: 8.398 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.009921, allocations: 0 / 0.5626 GB, free: 8.398 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.01009, allocations: 163.8 kB / 0.5628 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.01011, allocations: 19.89 kB / 0.5628 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.01013, allocations: 0 / 0.5628 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.01018, allocations: 7.938 kB / 0.5628 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.01022, allocations: 15.97 kB / 0.5628 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01024, allocations: 4 kB / 0.5628 GB, free: 8.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.01034, allocations: 189 kB / 0.563 GB, free: 7.977 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01034, allocations: 7.938 kB / 0.563 GB, free: 7.969 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002551/0.01059, allocations: 43.88 kB / 0.5631 GB, free: 7.926 MB / 490.7 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.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 (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.001113/0.01171, allocations: 492.6 kB / 0.5635 GB, free: 7.617 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.01185, allocations: 67.58 kB / 0.5636 GB, free: 7.547 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01186, allocations: 0 / 0.5636 GB, free: 7.547 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.529e-05/0.01191, allocations: 35.61 kB / 0.5636 GB, free: 7.508 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.01214, allocations: 43.41 kB / 0.5637 GB, free: 7.469 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.0127, allocations: 267.5 kB / 0.5639 GB, free: 7.168 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.027e-05/0.01274, allocations: 67.34 kB / 0.564 GB, free: 7.082 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.887e-05/0.01279, allocations: 25.09 kB / 0.564 GB, free: 7.055 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.01283, allocations: 24.5 kB / 0.564 GB, free: 7.031 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01283, allocations: 0 / 0.564 GB, free: 7.031 MB / 490.7 MB Notification: Performance of Templates: time 0.00423/0.01706, allocations: 2.9 MB / 0.5669 GB, free: 4.172 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.599029056262225]