Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.619/1.619, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 183.1 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 0.5783 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007579/0.0007579, allocations: 91.97 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004928, allocations: 8.562 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2604, allocations: 106.3 MB / 0.9008 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002326/0.2628, allocations: 1.379 MB / 0.9022 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2649, allocations: 1.328 MB / 0.9035 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.344e-05/0.265, allocations: 0 / 0.9035 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.2653, allocations: 31.84 kB / 0.9035 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.2656, allocations: 63.75 kB / 0.9036 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.2659, allocations: 71.84 kB / 0.9036 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.2661, allocations: 107.6 kB / 0.9037 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.2662, allocations: 17.05 kB / 0.9038 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2663, allocations: 51.77 kB / 0.9038 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.2665, allocations: 43.78 kB / 0.9039 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.2666, allocations: 4 kB / 0.9039 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.2667, allocations: 47.97 kB / 0.9039 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.2668, allocations: 31.91 kB / 0.9039 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.2668, allocations: 37.64 kB / 0.904 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.267, allocations: 103.8 kB / 0.9041 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.267, allocations: 4 kB / 0.9041 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.267, allocations: 0 / 0.9041 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.2671, allocations: 0 / 0.9041 GB, free: 61.08 MB / 0.6042 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.0006745/0.2677, allocations: 431 kB / 0.9045 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.2678, allocations: 12.03 kB / 0.9045 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.2679, allocations: 15.77 kB / 0.9045 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.2682, allocations: 218.8 kB / 0.9047 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.2682, allocations: 4 kB / 0.9047 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.2682, allocations: 4 kB / 0.9047 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.2685, allocations: 105 kB / 0.9048 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2686, allocations: 0 / 0.9048 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.2686, allocations: 4 kB / 0.9048 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2686, allocations: 0 / 0.9048 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.2688, allocations: 63.84 kB / 0.9049 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.2691, allocations: 207.5 kB / 0.9051 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.2694, allocations: 115.8 kB / 0.9052 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.2696, allocations: 58.61 kB / 0.9053 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.2697, allocations: 0 / 0.9053 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/0.27, allocations: 121.9 kB / 0.9054 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.27, allocations: 0 / 0.9054 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0006283/0.2707, allocations: 173.6 kB / 0.9055 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.2708, allocations: 132.5 kB / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.2709, allocations: 178.8 kB / 0.9058 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.271, allocations: 29.7 kB / 0.9059 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.271, allocations: 104.1 kB / 0.906 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.2711, allocations: 23.66 kB / 0.906 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-06/0.2711, allocations: 4 kB / 0.906 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.2712, allocations: 326.9 kB / 0.9063 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.2713, allocations: 35.97 kB / 0.9063 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.2715, allocations: 72.14 kB / 0.9064 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.2716, allocations: 44.02 kB / 0.9064 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2717, allocations: 0 / 0.9064 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003743/0.272, allocations: 137.7 kB / 0.9066 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2721, allocations: 11.98 kB / 0.9066 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2721, allocations: 4 kB / 0.9066 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2721, allocations: 0 / 0.9066 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.2723, allocations: 27.92 kB / 0.9066 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2723, allocations: 0 / 0.9066 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2724, allocations: 12 kB / 0.9066 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.2724, allocations: 15.98 kB / 0.9066 GB, free: 58.14 MB / 0.6042 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.0001121/0.2726, allocations: 122.7 kB / 0.9068 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.2726, allocations: 11.91 kB / 0.9068 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.2727, allocations: 21.39 kB / 0.9068 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2727, allocations: 0 / 0.9068 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.2727, allocations: 4 kB / 0.9068 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2727, allocations: 0 / 0.9068 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.2729, allocations: 209.4 kB / 0.907 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2729, allocations: 0 / 0.907 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.644e-05/0.273, allocations: 23.92 kB / 0.907 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.273, allocations: 0 / 0.907 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.273, allocations: 4 kB / 0.907 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2731, allocations: 0 / 0.907 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2731, allocations: 3.984 kB / 0.907 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.2735, allocations: 178.6 kB / 0.9072 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.2735, allocations: 96.84 kB / 0.9073 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.2736, allocations: 4 kB / 0.9073 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2737, allocations: 15.98 kB / 0.9073 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.2738, allocations: 8 kB / 0.9073 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.2738, allocations: 7.984 kB / 0.9073 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001173/0.2739, allocations: 127.2 kB / 0.9074 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2739, allocations: 0 / 0.9074 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003939/0.2743, allocations: 31.98 kB / 0.9075 GB, free: 57.19 MB / 0.6042 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.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.001283/0.2756, allocations: 459.1 kB / 0.9079 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.276, allocations: 83.89 kB / 0.908 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.276, allocations: 0 / 0.908 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.2762, allocations: 56.09 kB / 0.908 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.2766, allocations: 36.17 kB / 0.9081 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.2772, allocations: 289 kB / 0.9084 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.2773, allocations: 0.7004 MB / 0.909 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.2774, allocations: 27.38 kB / 0.9091 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.2774, allocations: 0 / 0.9091 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.004627/0.2821, allocations: 2.158 MB / 0.9112 GB, free: 53.52 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)