Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.917/4.917, allocations: 0.5623 GB / 0.5776 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002528/0.002528, allocations: 355.9 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.403/4.403, allocations: 410.7 MB / 1.113 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001882/0.001882, allocations: 190.7 kB / 1.226 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005031, allocations: 16 kB / 1.349 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7479/0.7484, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002048/0.7505, allocations: 1.311 MB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.7517, allocations: 0.5886 MB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.7518, allocations: 3.938 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.752, allocations: 23.84 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.7522, allocations: 36.83 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.7527, allocations: 92.59 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.7529, allocations: 147.6 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.753, allocations: 22.73 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.7532, allocations: 66.23 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.7534, allocations: 79.72 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.7534, allocations: 8 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.7535, allocations: 15.98 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.7536, allocations: 27.91 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.7537, allocations: 45.64 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.7539, allocations: 115.5 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7539, allocations: 8 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7539, allocations: 0 / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.7539, allocations: 0 / 1.464 GB, free: 281.8 MB / 0.8542 GB 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.0006748/0.7546, allocations: 0.5226 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.7546, allocations: 11.62 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.7547, allocations: 16.59 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.7551, allocations: 230.7 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.7551, allocations: 17.72 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.7551, allocations: 12 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.7555, allocations: 120.7 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.7555, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.7556, allocations: 8.656 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.7556, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.7559, allocations: 73.92 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008145/0.7568, allocations: 427.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.7571, allocations: 91.81 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.7573, allocations: 82.56 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.7574, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.7578, allocations: 185.7 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/0.7578, allocations: 0 / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.001044/0.7588, allocations: 367.2 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.7589, allocations: 170.7 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.7591, allocations: 176.8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.7592, allocations: 33.7 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.7593, allocations: 104.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.7593, allocations: 35.53 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.7593, allocations: 2.188 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.7594, allocations: 326.8 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.7596, allocations: 55.89 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.7599, allocations: 113.1 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.7602, allocations: 174.5 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7602, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007516/0.761, allocations: 351.6 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.761, allocations: 119.3 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.7611, allocations: 4 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.7611, allocations: 4.781 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.7613, allocations: 16.83 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.7613, allocations: 11.89 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.7615, allocations: 25.44 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.7615, allocations: 11.98 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB 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.0001775/0.7617, allocations: 190.4 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.7618, allocations: 25 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.7618, allocations: 17.41 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.7618, allocations: 3.984 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7619, allocations: 0.9688 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.7619, allocations: 88.97 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.762, allocations: 4 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.7621, allocations: 16.86 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.7622, allocations: 9.516 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000857/0.7631, allocations: 0.494 MB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008056/0.7639, allocations: 491.1 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002658/0.7642, allocations: 100.1 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001169/0.7643, allocations: 127.2 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of Backend: time 7.72e-07/0.7643, allocations: 0 / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.7654, allocations: 409.8 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0007542/0.7661, allocations: 0.8109 MB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.007397/0.7735, allocations: 2.047 MB / 1.472 GB, free: 272.8 MB / 0.8542 GB