Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 285.4 MB / 298 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.002152, allocations: 172.8 kB / 366.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 0.6248 GB, free: 7.719 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009167/0.0009168, allocations: 84.38 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.66e-05/4.682e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8544/0.8544, allocations: 115.3 MB / 0.9709 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.221/1.076, allocations: 140.1 MB / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/1.076, allocations: 79.94 kB / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01397/1.09, allocations: 4.997 MB / 1.113 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.305e-06/1.09, allocations: 0 / 1.113 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.137e-05/1.09, allocations: 0 / 1.113 GB, free: 6.672 MB / 0.7136 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.0008694/1.091, allocations: 0.5202 MB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/1.091, allocations: 8.031 kB / 1.113 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/1.091, allocations: 19.81 kB / 1.113 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/1.091, allocations: 231.7 kB / 1.113 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/1.091, allocations: 12.66 kB / 1.113 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/1.091, allocations: 15.16 kB / 1.113 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/1.092, allocations: 97.64 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.092, allocations: 0 / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/1.092, allocations: 8 kB / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.092, allocations: 0 / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/1.092, allocations: 55.92 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008808/1.093, allocations: 415.2 kB / 1.114 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/1.093, allocations: 79.31 kB / 1.114 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/1.093, allocations: 71.44 kB / 1.114 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/1.093, allocations: 4.156 kB / 1.114 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/1.094, allocations: 174.6 kB / 1.114 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.375e-06/1.094, allocations: 0 / 1.114 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005791/1.094, allocations: 268.9 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.094, allocations: 174 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/1.094, allocations: 161.7 kB / 1.115 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/1.094, allocations: 29.7 kB / 1.115 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/1.095, allocations: 104.4 kB / 1.115 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/1.095, allocations: 27.64 kB / 1.115 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/1.095, allocations: 8 kB / 1.115 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.095, allocations: 327.5 kB / 1.115 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/1.095, allocations: 43.98 kB / 1.115 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/1.095, allocations: 94.92 kB / 1.115 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/1.095, allocations: 166.8 kB / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.095, allocations: 0 / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004658/1.096, allocations: 328 kB / 1.116 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-05/1.096, allocations: 115 kB / 1.116 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.096, allocations: 8 kB / 1.116 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.096, allocations: 4 kB / 1.116 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/1.096, allocations: 19.98 kB / 1.116 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.096, allocations: 5.094 kB / 1.116 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/1.096, allocations: 12 kB / 1.116 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/1.096, allocations: 19.83 kB / 1.116 GB, free: 2.742 MB / 0.7136 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.0001668/1.096, allocations: 180.4 kB / 1.116 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/1.096, allocations: 15.81 kB / 1.116 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/1.096, allocations: 17.52 kB / 1.116 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/1.097, allocations: 4 kB / 1.116 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.097, allocations: 0 / 1.116 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.097, allocations: 0 / 1.116 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/1.097, allocations: 0.5694 MB / 1.117 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.097, allocations: 2.812 kB / 1.117 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/1.097, allocations: 19.98 kB / 1.117 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.097, allocations: 0 / 1.117 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.097, allocations: 4 kB / 1.117 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.097, allocations: 4 kB / 1.117 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.097, allocations: 0 / 1.117 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/1.098, allocations: 392.4 kB / 1.117 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/1.098, allocations: 92.91 kB / 1.117 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/1.098, allocations: 8 kB / 1.117 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.098, allocations: 12 kB / 1.117 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/1.098, allocations: 7.984 kB / 1.117 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/1.098, allocations: 11.98 kB / 1.117 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001102/1.098, allocations: 129.1 kB / 1.118 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.098, allocations: 0 / 1.118 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002987/1.099, allocations: 35.95 kB / 1.118 GB, free: 1.117 MB / 0.7136 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.0003261/1.099, allocations: 136.8 kB / 1.118 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00043/1.099, allocations: 335.5 kB / 1.118 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.099, allocations: 0 / 1.118 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/1.1, allocations: 198.7 kB / 1.118 GB, free: 400 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/1.1, allocations: 18.22 kB / 1.118 GB, free: 380 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/1.1, allocations: 208.1 kB / 1.118 GB, free: 152 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/1.101, allocations: 0.7082 MB / 1.119 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.729e-05/1.101, allocations: 20.53 kB / 1.119 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/1.101, allocations: 15.44 kB / 1.119 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of SimCode: time 9.21e-07/1.101, allocations: 0 / 1.119 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.005721/1.107, allocations: 1.909 MB / 1.121 GB, free: 13.55 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)