Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.IO.Files.Examples.CSVWriter.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.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003682/0.003688, allocations: 357.3 kB / 16.59 MB, free: 5.562 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.508/1.508, allocations: 165.8 MB / 183.1 MB, free: 5.461 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.744/3.744, allocations: 410.8 MB / 0.6001 GB, free: 15.16 MB / 298.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: 197.6 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006339/0.000634, allocations: 12 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3928, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.001929/0.3947, allocations: 1.286 MB / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3959, allocations: 0.6024 MB / 0.8106 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.3959, allocations: 4 kB / 0.8106 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.3961, allocations: 11.92 kB / 0.8106 GB, free: 26.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.3963, allocations: 37.95 kB / 0.8106 GB, free: 26.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.3969, allocations: 95.77 kB / 0.8107 GB, free: 26.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3971, allocations: 143.6 kB / 0.8109 GB, free: 26.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3972, allocations: 25.11 kB / 0.8109 GB, free: 26.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.3973, allocations: 71.81 kB / 0.811 GB, free: 26.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3975, allocations: 75.72 kB / 0.811 GB, free: 26.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.3975, allocations: 4 kB / 0.811 GB, free: 26.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.3976, allocations: 19.94 kB / 0.8111 GB, free: 26.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.3977, allocations: 23.91 kB / 0.8111 GB, free: 26.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.3978, allocations: 53.64 kB / 0.8111 GB, free: 26.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.3979, allocations: 113.9 kB / 0.8112 GB, free: 26.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.398, allocations: 0 / 0.8112 GB, free: 26.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.398, allocations: 0 / 0.8112 GB, free: 26.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.398, allocations: 0 / 0.8112 GB, free: 26.21 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006023/0.3986, allocations: 0.5249 MB / 0.8117 GB, free: 25.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3986, allocations: 8.031 kB / 0.8118 GB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.3987, allocations: 23.75 kB / 0.8118 GB, free: 25.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.399, allocations: 234.8 kB / 0.812 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3991, allocations: 4 kB / 0.812 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.3991, allocations: 16 kB / 0.812 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.3995, allocations: 121.5 kB / 0.8121 GB, free: 25.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3995, allocations: 3.938 kB / 0.8121 GB, free: 25.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3995, allocations: 4 kB / 0.8121 GB, free: 25.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3996, allocations: 7.938 kB / 0.8122 GB, free: 25.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.3999, allocations: 75.94 kB / 0.8122 GB, free: 25.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/0.4006, allocations: 428.5 kB / 0.8126 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.4009, allocations: 90.53 kB / 0.8127 GB, free: 24.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.4012, allocations: 76.81 kB / 0.8128 GB, free: 24.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.4012, allocations: 4 kB / 0.8128 GB, free: 24.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.4016, allocations: 182.9 kB / 0.813 GB, free: 24.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.4016, allocations: 0 / 0.813 GB, free: 24.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001013/0.4026, allocations: 368.8 kB / 0.8133 GB, free: 23.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.4027, allocations: 166.2 kB / 0.8135 GB, free: 23.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4029, allocations: 170.7 kB / 0.8136 GB, free: 23.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.4029, allocations: 33.7 kB / 0.8137 GB, free: 23.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.403, allocations: 112.3 kB / 0.8138 GB, free: 23.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.403, allocations: 27.64 kB / 0.8138 GB, free: 23.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.403, allocations: 4 kB / 0.8138 GB, free: 23.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4032, allocations: 330.8 kB / 0.8141 GB, free: 22.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.4034, allocations: 63.83 kB / 0.8142 GB, free: 22.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.4037, allocations: 106.8 kB / 0.8143 GB, free: 22.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.4041, allocations: 174.8 kB / 0.8145 GB, free: 22.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4041, allocations: 0 / 0.8145 GB, free: 22.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007794/0.4049, allocations: 360 kB / 0.8148 GB, free: 22.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.405, allocations: 114.8 kB / 0.8149 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.405, allocations: 0 / 0.8149 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.405, allocations: 8.25 kB / 0.8149 GB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.4052, allocations: 23.98 kB / 0.8149 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4052, allocations: 7.938 kB / 0.815 GB, free: 22.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.4054, allocations: 15.92 kB / 0.815 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.4054, allocations: 8 kB / 0.815 GB, free: 21.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001594/0.4056, allocations: 194 kB / 0.8152 GB, free: 21.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.4056, allocations: 19.77 kB / 0.8152 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.4057, allocations: 21.67 kB / 0.8152 GB, free: 21.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4057, allocations: 0 / 0.8152 GB, free: 21.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4057, allocations: 0 / 0.8152 GB, free: 21.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.4058, allocations: 92.86 kB / 0.8153 GB, free: 21.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.4058, allocations: 8 kB / 0.8153 GB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.406, allocations: 11.98 kB / 0.8153 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.406, allocations: 7.938 kB / 0.8153 GB, free: 21.6 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008322/0.4069, allocations: 0.4951 MB / 0.8158 GB, free: 21.06 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000798/0.4077, allocations: 485.9 kB / 0.8163 GB, free: 20.56 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002577/0.408, allocations: 91.95 kB / 0.8163 GB, free: 20.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.4081, allocations: 123.2 kB / 0.8165 GB, free: 20.35 MB / 378.7 MB Notification: Performance of Backend: time 7.62e-07/0.4081, allocations: 0 / 0.8165 GB, free: 20.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008764/0.409, allocations: 420 kB / 0.8169 GB, free: 19.88 MB / 378.7 MB Notification: Performance of SimCode: time 0.0006501/0.4097, allocations: 0.8186 MB / 0.8177 GB, free: 18.99 MB / 378.7 MB Notification: Performance of Templates: time 0.006413/0.4161, allocations: 2.055 MB / 0.8197 GB, free: 16.97 MB / 378.7 MB