Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00092/0.00092, allocations: 80.81 kB / 21.55 MB, free: 2.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 162.3 kB / 24.96 MB, free: 8.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.076/1.076, allocations: 177.1 MB / 205.4 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.993/1.993, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.785e-05, allocations: 2.312 kB / 0.776 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002865/0.002893, allocations: 1.727 MB / 0.7777 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.003821, allocations: 0.6736 MB / 0.7783 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.573e-05/0.003907, allocations: 4 kB / 0.7783 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.004064, allocations: 20.83 kB / 0.7783 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.004262, allocations: 49.14 kB / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.004575, allocations: 123.7 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.004798, allocations: 186 kB / 0.7787 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.004894, allocations: 26.2 kB / 0.7787 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.005101, allocations: 119.8 kB / 0.7788 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.005196, allocations: 71.19 kB / 0.7789 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.005223, allocations: 12 kB / 0.7789 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.0053, allocations: 31.98 kB / 0.7789 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.005362, allocations: 31.8 kB / 0.779 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.005557, allocations: 55.89 kB / 0.779 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.005753, allocations: 155.5 kB / 0.7792 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.005756, allocations: 0 / 0.7792 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005757, allocations: 0 / 0.7792 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.005762, allocations: 1.531 kB / 0.7792 GB, free: 2.137 MB / 0.7292 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.0004314/0.006193, allocations: 467 kB / 0.7796 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.006228, allocations: 9.344 kB / 0.7796 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.006354, allocations: 34.19 kB / 0.7796 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.006543, allocations: 173.5 kB / 0.7798 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.006558, allocations: 13.03 kB / 0.7798 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.006574, allocations: 12.38 kB / 0.7798 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.006736, allocations: 155.4 kB / 0.78 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.006743, allocations: 192 / 0.78 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.006753, allocations: 384 / 0.78 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.006758, allocations: 12.94 kB / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.795e-05/0.006816, allocations: 83.38 kB / 0.7801 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.007139, allocations: 243.6 kB / 0.7803 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.528e-05/0.007225, allocations: 106.7 kB / 0.7804 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.007279, allocations: 93.3 kB / 0.7805 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.007297, allocations: 4 kB / 0.7805 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.007423, allocations: 210.2 kB / 0.7807 GB, free: 376 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.007425, allocations: 0.875 kB / 0.7807 GB, free: 376 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0002479/0.007673, allocations: 319.7 kB / 0.781 GB, free: 12 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.007739, allocations: 167.4 kB / 0.7812 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.007837, allocations: 168 kB / 0.7813 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.007852, allocations: 29.7 kB / 0.7814 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.00789, allocations: 101.9 kB / 0.7815 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.007913, allocations: 31.73 kB / 0.7815 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.007961, allocations: 37.69 kB / 0.7815 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.419e-05/0.008035, allocations: 326.8 kB / 0.7818 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.008108, allocations: 138.3 kB / 0.782 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.401e-05/0.008192, allocations: 189.6 kB / 0.7821 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.008334, allocations: 281.7 kB / 0.7824 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008336, allocations: 0 / 0.7824 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001987/0.008534, allocations: 350.3 kB / 0.7827 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.008584, allocations: 120.4 kB / 0.7829 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.008593, allocations: 3.938 kB / 0.7829 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.008606, allocations: 5.125 kB / 0.7829 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.008675, allocations: 23.92 kB / 0.7829 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.008679, allocations: 4 kB / 0.7829 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.008726, allocations: 16.98 kB / 0.7829 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.008739, allocations: 4 kB / 0.7829 GB, free: 13.77 MB / 0.7448 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 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.00884, allocations: 198.4 kB / 0.7831 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.008863, allocations: 19.98 kB / 0.7831 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.008894, allocations: 21.39 kB / 0.7831 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008897, allocations: 1.031 kB / 0.7831 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008898, allocations: 0 / 0.7831 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.008909, allocations: 7.953 kB / 0.7832 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.008931, allocations: 9.312 kB / 0.7832 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.093e-05/0.008961, allocations: 4 kB / 0.7832 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.008993, allocations: 11.98 kB / 0.7832 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001729/0.009166, allocations: 308.7 kB / 0.7835 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001969/0.009363, allocations: 408.3 kB / 0.7839 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.527e-05/0.009438, allocations: 100.2 kB / 0.784 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.009478, allocations: 52.64 kB / 0.784 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of Backend: time 4.31e-07/0.009479, allocations: 0 / 0.784 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.009967, allocations: 482.3 kB / 0.7845 GB, free: 12 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0006508/0.01062, allocations: 0.8908 MB / 0.7853 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.004401/0.01502, allocations: 2.568 MB / 0.7878 GB, free: 8.641 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.025307452306151]