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.0006897/0.0006897, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009871/0.001677, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006834/0.0006834, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009042/0.001588, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.971/0.971, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07973/1.051, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.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.934/1.934, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4524/2.386, allocations: 127.1 MB / 0.7432 GB, free: 4.625 MB / 0.7136 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 1.142e-06/1.142e-06, allocations: 0 / 0.7445 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.141e-05, allocations: 3.734 kB / 0.7445 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001886/0.001897, allocations: 1.711 MB / 0.7461 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007401/0.002637, allocations: 0.6698 MB / 0.7468 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.002695, allocations: 5.906 kB / 0.7468 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.606e-05/0.002781, allocations: 28.38 kB / 0.7468 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.002909, allocations: 42.28 kB / 0.7469 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.003173, allocations: 124.7 kB / 0.747 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.003377, allocations: 186.7 kB / 0.7472 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.003459, allocations: 19.86 kB / 0.7472 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.003645, allocations: 135.7 kB / 0.7473 GB, free: 460 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.003743, allocations: 75.83 kB / 0.7474 GB, free: 384 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.003768, allocations: 22.31 kB / 0.7474 GB, free: 364 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.097e-05/0.003839, allocations: 28 kB / 0.7474 GB, free: 336 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.003898, allocations: 27.92 kB / 0.7475 GB, free: 308 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.003948, allocations: 43.92 kB / 0.7475 GB, free: 264 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.004109, allocations: 119.6 kB / 0.7476 GB, free: 144 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.004122, allocations: 0 / 0.7476 GB, free: 144 kB / 0.7136 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004123, allocations: 0 / 0.7476 GB, free: 144 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.004138, allocations: 2.062 kB / 0.7476 GB, free: 144 kB / 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.0005053/0.004644, allocations: 0.4908 MB / 0.7481 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.649e-05/0.00467, allocations: 8.031 kB / 0.7481 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.004817, allocations: 114 kB / 0.7482 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.004999, allocations: 177.3 kB / 0.7484 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.005011, allocations: 8.375 kB / 0.7484 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.005029, allocations: 12.38 kB / 0.7484 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.005178, allocations: 158.2 kB / 0.7486 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.005186, allocations: 4.125 kB / 0.7486 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.005197, allocations: 8.359 kB / 0.7486 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005204, allocations: 7.938 kB / 0.7486 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.00526, allocations: 75.98 kB / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.005572, allocations: 251.6 kB / 0.7489 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.122e-05/0.005663, allocations: 102.7 kB / 0.749 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.005718, allocations: 92.77 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.005737, allocations: 0 / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.005868, allocations: 214.8 kB / 0.7493 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.00587, allocations: 1.5 kB / 0.7493 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0002427/0.006112, allocations: 323.8 kB / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.006251, allocations: 162.2 kB / 0.7497 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.327e-05/0.006344, allocations: 171.4 kB / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.00636, allocations: 30.67 kB / 0.7499 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.006397, allocations: 100.3 kB / 0.75 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.006419, allocations: 32.31 kB / 0.7501 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.006465, allocations: 41.69 kB / 0.7501 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.006535, allocations: 327.4 kB / 0.7504 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.006602, allocations: 141.5 kB / 0.7506 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.394e-05/0.006686, allocations: 194.2 kB / 0.7507 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.006815, allocations: 272.1 kB / 0.751 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006817, allocations: 5.312 kB / 0.751 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001894/0.007006, allocations: 350.3 kB / 0.7513 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.007058, allocations: 126.7 kB / 0.7515 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.007063, allocations: 5.5 kB / 0.7515 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.007073, allocations: 4 kB / 0.7515 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.007146, allocations: 15.98 kB / 0.7515 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.007151, allocations: 4 kB / 0.7515 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.007196, allocations: 16.7 kB / 0.7515 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.007208, allocations: 4 kB / 0.7515 GB, free: 11.62 MB / 0.7292 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 9.607e-05/0.007304, allocations: 195 kB / 0.7517 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.007327, allocations: 27.97 kB / 0.7517 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.007352, allocations: 13.41 kB / 0.7517 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.007355, allocations: 4 kB / 0.7517 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.007356, allocations: 2.75 kB / 0.7517 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.00736, allocations: 0 / 0.7517 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.007609, allocations: 413.5 kB / 0.7521 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.007611, allocations: 0 / 0.7521 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.007644, allocations: 11.98 kB / 0.7521 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.007655, allocations: 15.84 kB / 0.7522 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.007656, allocations: 0 / 0.7522 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.007665, allocations: 7.438 kB / 0.7522 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007666, allocations: 0 / 0.7522 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.007667, allocations: 0 / 0.7522 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.007836, allocations: 346.2 kB / 0.7525 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.007858, allocations: 7.938 kB / 0.7525 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.007907, allocations: 8 kB / 0.7525 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.007937, allocations: 7.984 kB / 0.7525 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.007946, allocations: 4 kB / 0.7525 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.007978, allocations: 43.91 kB / 0.7526 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.007978, allocations: 1.594 kB / 0.7526 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000164/0.008142, allocations: 39.94 kB / 0.7526 GB, free: 10.4 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.0083, allocations: 120 kB / 0.7527 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.00855, allocations: 477.9 kB / 0.7532 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.008558, allocations: 4 kB / 0.7532 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.008655, allocations: 223.8 kB / 0.7534 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.008814, allocations: 51.75 kB / 0.7534 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/0.009591, allocations: 338.3 kB / 0.7538 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.009626, allocations: 64.47 kB / 0.7538 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.009655, allocations: 13.55 kB / 0.7538 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.009765, allocations: 91.34 kB / 0.7539 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.009766, allocations: 0 / 0.7539 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of Templates: time 0.003919/0.01369, allocations: 2.354 MB / 0.7562 GB, free: 6.691 MB / 0.7292 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: 4.7820641696453094]