Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008705/0.0008705, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009228/0.0009229, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.569/1.569, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005073/0.0005074, allocations: 16 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5826/0.5831, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.00194/0.5851, allocations: 1.3 MB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.586, allocations: 0.6088 MB / 0.7298 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.586, allocations: 3.938 kB / 0.7298 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.5862, allocations: 11.92 kB / 0.7299 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.5864, allocations: 43.88 kB / 0.7299 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.5867, allocations: 91.83 kB / 0.73 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.5869, allocations: 95.83 kB / 0.7301 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.587, allocations: 29.03 kB / 0.7301 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.5872, allocations: 71.75 kB / 0.7302 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.5873, allocations: 67.8 kB / 0.7302 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.5873, allocations: 4 kB / 0.7302 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.5874, allocations: 12 kB / 0.7302 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.5875, allocations: 23.92 kB / 0.7303 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.226e-05/0.5875, allocations: 49.64 kB / 0.7303 GB, free: 9.027 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.5877, allocations: 121.7 kB / 0.7304 GB, free: 8.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.5877, allocations: 0 / 0.7304 GB, free: 8.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5877, allocations: 0 / 0.7304 GB, free: 8.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.5877, allocations: 0 / 0.7304 GB, free: 8.91 MB / 0.545 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.0007097/0.5885, allocations: 0.5314 MB / 0.731 GB, free: 8.309 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5885, allocations: 8.031 kB / 0.731 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.5886, allocations: 15.91 kB / 0.731 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.5889, allocations: 239.4 kB / 0.7312 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.5889, allocations: 8 kB / 0.7312 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.5889, allocations: 12 kB / 0.7312 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.5892, allocations: 121.5 kB / 0.7313 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5893, allocations: 0 / 0.7313 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.5893, allocations: 4 kB / 0.7313 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5893, allocations: 0 / 0.7313 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.5895, allocations: 87.92 kB / 0.7314 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/0.5902, allocations: 424.6 kB / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.5904, allocations: 86.53 kB / 0.7319 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.5904, allocations: 4 kB / 0.7319 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.5907, allocations: 186.6 kB / 0.7321 GB, free: 7.008 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.5907, allocations: 0 / 0.7321 GB, free: 7.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0008012/0.5915, allocations: 0.5148 MB / 0.7326 GB, free: 6.438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.5916, allocations: 166.2 kB / 0.7328 GB, free: 6.238 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.5918, allocations: 179.1 kB / 0.7329 GB, free: 6.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.5918, allocations: 29.7 kB / 0.733 GB, free: 6.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.5919, allocations: 108.4 kB / 0.7331 GB, free: 5.906 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.592, allocations: 23.66 kB / 0.7331 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.592, allocations: 4 kB / 0.7331 GB, free: 5.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5921, allocations: 330.8 kB / 0.7334 GB, free: 5.547 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.5922, allocations: 55.95 kB / 0.7335 GB, free: 5.492 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.5924, allocations: 102.8 kB / 0.7336 GB, free: 5.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.5926, allocations: 178.8 kB / 0.7337 GB, free: 5.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5926, allocations: 0 / 0.7337 GB, free: 5.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004952/0.5931, allocations: 360 kB / 0.7341 GB, free: 4.785 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.587e-05/0.5932, allocations: 114.8 kB / 0.7342 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5932, allocations: 4 kB / 0.7342 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5932, allocations: 0 / 0.7342 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.5933, allocations: 24.2 kB / 0.7342 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5933, allocations: 7.953 kB / 0.7342 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.5935, allocations: 24.09 kB / 0.7342 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.5935, allocations: 15.92 kB / 0.7342 GB, free: 4.574 MB / 0.545 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.0001458/0.5936, allocations: 194.3 kB / 0.7344 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.5937, allocations: 11.91 kB / 0.7344 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.5937, allocations: 13.41 kB / 0.7345 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.5937, allocations: 8 kB / 0.7345 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5937, allocations: 3.984 kB / 0.7345 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.5938, allocations: 3.953 kB / 0.7345 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/0.5945, allocations: 0.5876 MB / 0.735 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5945, allocations: 0 / 0.735 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.5946, allocations: 19.92 kB / 0.7351 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5946, allocations: 0 / 0.7351 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.5946, allocations: 15.98 kB / 0.7351 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.5946, allocations: 8.016 kB / 0.7351 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5946, allocations: 3.984 kB / 0.7351 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.5952, allocations: 402.7 kB / 0.7355 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.5953, allocations: 100.9 kB / 0.7356 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.5953, allocations: 7.938 kB / 0.7356 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.5954, allocations: 11.98 kB / 0.7356 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.5955, allocations: 11.95 kB / 0.7356 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.5955, allocations: 11.98 kB / 0.7356 GB, free: 3.039 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000105/0.5956, allocations: 123.2 kB / 0.7357 GB, free: 2.918 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5956, allocations: 0 / 0.7357 GB, free: 2.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000286/0.5959, allocations: 40 kB / 0.7358 GB, free: 2.879 MB / 0.545 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) * 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: 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.0002495/0.5962, allocations: 142.4 kB / 0.7359 GB, free: 2.738 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.5967, allocations: 369.6 kB / 0.7363 GB, free: 2.328 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5967, allocations: 4 kB / 0.7363 GB, free: 2.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.5969, allocations: 202.8 kB / 0.7365 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.5972, allocations: 16.17 kB / 0.7365 GB, free: 2.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.5977, allocations: 310.3 kB / 0.7368 GB, free: 1.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.5981, allocations: 0.716 MB / 0.7375 GB, free: 1.012 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.111e-05/0.5981, allocations: 20.48 kB / 0.7375 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.5982, allocations: 19.42 kB / 0.7375 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.5982, allocations: 0 / 0.7375 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of Templates: time 0.004968/0.6031, allocations: 1.925 MB / 0.7394 GB, free: 15.07 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) Environment - environmentSimulation: