Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.IO.Files.Examples.CSVReader.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002363/0.002369, allocations: 355.5 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.209/1.209, allocations: 165.8 MB / 182.5 MB, free: 5.918 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.213/4.213, allocations: 410.7 MB / 0.5995 GB, free: 2.078 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001739/0.001739, allocations: 187.4 kB / 0.6662 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004532, allocations: 8 kB / 0.7423 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3851, allocations: 67.44 MB / 0.8081 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.001971/0.3871, allocations: 1.35 MB / 0.8095 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.3891, allocations: 1.319 MB / 0.8108 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.3892, allocations: 1.438 kB / 0.8108 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.3895, allocations: 39.39 kB / 0.8108 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.3897, allocations: 51.95 kB / 0.8108 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.39, allocations: 77.86 kB / 0.8109 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.3902, allocations: 109 kB / 0.811 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.3903, allocations: 8.594 kB / 0.811 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3904, allocations: 45.84 kB / 0.8111 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.3906, allocations: 49.25 kB / 0.8111 GB, free: 244 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.3906, allocations: 4.5 kB / 0.8111 GB, free: 244 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.3908, allocations: 51.75 kB / 0.8112 GB, free: 244 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.3909, allocations: 20.81 kB / 0.8112 GB, free: 244 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.3909, allocations: 40.17 kB / 0.8112 GB, free: 244 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3911, allocations: 117.7 kB / 0.8113 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.953e-06/0.3912, allocations: 1.031 kB / 0.8113 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3912, allocations: 0 / 0.8113 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3912, allocations: 0 / 0.8113 GB, free: 243.9 MB / 0.5886 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.0005489/0.3917, allocations: 435.7 kB / 0.8118 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3918, allocations: 10.41 kB / 0.8118 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.3919, allocations: 10.8 kB / 0.8118 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.3921, allocations: 213.1 kB / 0.812 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3921, allocations: 1.25 kB / 0.812 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3922, allocations: 11.27 kB / 0.812 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.3924, allocations: 106 kB / 0.8121 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3925, allocations: 0.6094 kB / 0.8121 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3925, allocations: 1.125 kB / 0.8121 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.3925, allocations: 1.688 kB / 0.8121 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.3928, allocations: 63.78 kB / 0.8122 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.393, allocations: 204.7 kB / 0.8124 GB, free: 243 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.3933, allocations: 118.7 kB / 0.8125 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.3935, allocations: 56.66 kB / 0.8125 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.3935, allocations: 4.609 kB / 0.8125 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.3938, allocations: 115.5 kB / 0.8126 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.553e-06/0.3939, allocations: 0 / 0.8126 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0005994/0.3945, allocations: 176.4 kB / 0.8128 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.3945, allocations: 130.6 kB / 0.8129 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.3947, allocations: 177.9 kB / 0.8131 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3948, allocations: 27.88 kB / 0.8131 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.3948, allocations: 103.8 kB / 0.8132 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.3949, allocations: 22.75 kB / 0.8132 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-06/0.3949, allocations: 2.031 kB / 0.8132 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.395, allocations: 327.3 kB / 0.8136 GB, free: 242 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3951, allocations: 33.11 kB / 0.8136 GB, free: 242 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.3953, allocations: 74.52 kB / 0.8137 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.3955, allocations: 39.53 kB / 0.8137 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.882e-06/0.3955, allocations: 0 / 0.8137 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004008/0.3959, allocations: 146.2 kB / 0.8138 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3959, allocations: 11.72 kB / 0.8138 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3959, allocations: 1.375 kB / 0.8139 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.396, allocations: 2.625 kB / 0.8139 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.3961, allocations: 25.56 kB / 0.8139 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.952e-06/0.3962, allocations: 2.922 kB / 0.8139 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3963, allocations: 11.05 kB / 0.8139 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3963, allocations: 4.484 kB / 0.8139 GB, free: 241.8 MB / 0.5886 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.0001013/0.3964, allocations: 130.4 kB / 0.814 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.3965, allocations: 14.44 kB / 0.814 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.3965, allocations: 25.8 kB / 0.8141 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.587e-06/0.3966, allocations: 1.344 kB / 0.8141 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/0.3966, allocations: 5.844 kB / 0.8141 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.972e-06/0.3966, allocations: 4.453 kB / 0.8141 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.3968, allocations: 198.7 kB / 0.8143 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.451e-06/0.3968, allocations: 0.6562 kB / 0.8143 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3969, allocations: 25.3 kB / 0.8143 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.956e-06/0.3969, allocations: 0 / 0.8143 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.397, allocations: 8.203 kB / 0.8143 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.143e-06/0.397, allocations: 6.141 kB / 0.8143 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.121e-06/0.397, allocations: 0 / 0.8143 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.3974, allocations: 172.5 kB / 0.8145 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.3975, allocations: 91.94 kB / 0.8145 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.3975, allocations: 4.562 kB / 0.8146 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3976, allocations: 10.17 kB / 0.8146 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.3977, allocations: 22.19 kB / 0.8146 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.3977, allocations: 6.531 kB / 0.8146 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001326/0.3979, allocations: 133.6 kB / 0.8147 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.11e-07/0.3979, allocations: 0 / 0.8147 GB, free: 241.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003431/0.3983, allocations: 32.69 kB / 0.8147 GB, free: 241.2 MB / 0.5886 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.001491/0.3998, allocations: 438.8 kB / 0.8152 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.4002, allocations: 94.77 kB / 0.8153 GB, free: 241 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.711e-06/0.4002, allocations: 4.188 kB / 0.8153 GB, free: 241 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.4004, allocations: 46.95 kB / 0.8153 GB, free: 241 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4008, allocations: 30.61 kB / 0.8153 GB, free: 241 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.4014, allocations: 261.5 kB / 0.8156 GB, free: 240.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.4015, allocations: 0.7114 MB / 0.8163 GB, free: 240.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000115/0.4017, allocations: 21.98 kB / 0.8163 GB, free: 240.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.4017, allocations: 23.91 kB / 0.8163 GB, free: 240.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.48e-06/0.4018, allocations: 1.875 kB / 0.8163 GB, free: 240.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.006354/0.4081, allocations: 1.866 MB / 0.8181 GB, free: 240.1 MB / 0.5886 GB