Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadModel(Buildings): time 4.386/4.386, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.946e-05, allocations: 4 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4929, allocations: 98.7 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.6841, allocations: 125.7 MB / 0.7517 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.6844, allocations: 79.77 kB / 0.7518 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.6944, allocations: 2.519 MB / 0.7542 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.143e-06/0.6945, allocations: 0 / 0.7542 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.6945, allocations: 4 kB / 0.7542 GB, free: 15.19 MB / 0.6355 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.000635/0.6951, allocations: 0.501 MB / 0.7547 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6952, allocations: 16.02 kB / 0.7547 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.6953, allocations: 19.77 kB / 0.7548 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.6956, allocations: 218.8 kB / 0.755 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.6957, allocations: 4 kB / 0.755 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.6957, allocations: 4 kB / 0.755 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001753/0.6959, allocations: 39.98 kB / 0.755 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.6961, allocations: 89.64 kB / 0.7551 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6961, allocations: 7.922 kB / 0.7551 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.6962, allocations: 0 / 0.7551 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-06/0.6962, allocations: 7.938 kB / 0.7551 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.6969, allocations: 377.2 kB / 0.7555 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.6971, allocations: 62.56 kB / 0.7555 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.6973, allocations: 60.78 kB / 0.7556 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.6973, allocations: 4.031 kB / 0.7556 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.6976, allocations: 154.8 kB / 0.7558 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.551e-06/0.6976, allocations: 0 / 0.7558 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005322/0.6981, allocations: 181.5 kB / 0.7559 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.6983, allocations: 170.1 kB / 0.7561 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.6985, allocations: 149.9 kB / 0.7562 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.6985, allocations: 33.7 kB / 0.7563 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.6986, allocations: 104.4 kB / 0.7564 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.6987, allocations: 23.56 kB / 0.7564 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.6987, allocations: 8 kB / 0.7564 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6989, allocations: 326.8 kB / 0.7567 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/0.699, allocations: 28 kB / 0.7567 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.6991, allocations: 82.86 kB / 0.7568 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.6993, allocations: 46.11 kB / 0.7569 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.475e-06/0.6993, allocations: 3.938 kB / 0.7569 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004625/0.6998, allocations: 173.4 kB / 0.757 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.654e-05/0.6999, allocations: 118.8 kB / 0.7571 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.137e-06/0.6999, allocations: 0 / 0.7571 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6999, allocations: 4 kB / 0.7571 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.7001, allocations: 19.98 kB / 0.7572 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.202e-06/0.7001, allocations: 4 kB / 0.7572 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.7003, allocations: 24.09 kB / 0.7572 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.7003, allocations: 4.078 kB / 0.7572 GB, free: 11.86 MB / 0.6355 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 () * 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.0001636/0.7005, allocations: 174.2 kB / 0.7574 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.7005, allocations: 19.8 kB / 0.7574 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.7006, allocations: 13.84 kB / 0.7574 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.7006, allocations: 3.938 kB / 0.7574 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.7006, allocations: 0 / 0.7574 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.926e-06/0.7006, allocations: 4 kB / 0.7574 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.7014, allocations: 462.8 kB / 0.7578 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.329e-06/0.7014, allocations: 0 / 0.7578 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-05/0.7015, allocations: 15.98 kB / 0.7579 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.83e-06/0.7015, allocations: 0 / 0.7579 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.7016, allocations: 7.984 kB / 0.7579 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.238e-06/0.7016, allocations: 0 / 0.7579 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.432e-06/0.7016, allocations: 0 / 0.7579 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.7021, allocations: 299.2 kB / 0.7581 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.7022, allocations: 92.94 kB / 0.7582 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.7023, allocations: 4 kB / 0.7582 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.7024, allocations: 4 kB / 0.7582 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.7025, allocations: 11.97 kB / 0.7583 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.7025, allocations: 12 kB / 0.7583 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001367/0.7027, allocations: 128.3 kB / 0.7584 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.14e-07/0.7027, allocations: 0 / 0.7584 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000401/0.7031, allocations: 31.95 kB / 0.7584 GB, free: 10.51 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0002888/0.7034, allocations: 138.5 kB / 0.7585 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.7039, allocations: 313.8 kB / 0.7588 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.912e-06/0.7039, allocations: 4.188 kB / 0.7589 GB, free: 10 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.7042, allocations: 170.8 kB / 0.759 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.7045, allocations: 16.17 kB / 0.759 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.705, allocations: 184.7 kB / 0.7592 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.7054, allocations: 0.708 MB / 0.7599 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.182e-05/0.7055, allocations: 28.47 kB / 0.7599 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.7056, allocations: 15.44 kB / 0.7599 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of SimCode: time 1.557e-06/0.7056, allocations: 0 / 0.7599 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of Templates: time 0.005908/0.7115, allocations: 1.568 MB / 0.7615 GB, free: 7.27 MB / 0.6355 GB