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.00098/0.00098, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002326, allocations: 449.8 kB / 10.44 MB, free: 252 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.001094/0.001094, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.00244, allocations: 479.5 kB / 11.83 MB, free: 2.344 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 1.014/1.014, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09676/1.11, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.908/1.908, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4663/2.374, allocations: 127.1 MB / 0.7435 GB, free: 4.547 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.373e-06/1.373e-06, allocations: 0 / 0.7448 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.132e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003248/0.00327, allocations: 1.721 MB / 0.7465 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009797/0.004249, allocations: 0.6721 MB / 0.7471 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.004315, allocations: 7.938 kB / 0.7471 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.428e-05/0.004409, allocations: 24.39 kB / 0.7472 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.004565, allocations: 57.84 kB / 0.7472 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.004893, allocations: 119.7 kB / 0.7473 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.005162, allocations: 182.7 kB / 0.7475 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.005264, allocations: 22.2 kB / 0.7475 GB, free: 488 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.005521, allocations: 139.7 kB / 0.7477 GB, free: 348 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.005647, allocations: 75.83 kB / 0.7477 GB, free: 272 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.005681, allocations: 15.94 kB / 0.7478 GB, free: 256 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.005771, allocations: 28.72 kB / 0.7478 GB, free: 228 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.005844, allocations: 23.92 kB / 0.7478 GB, free: 204 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.005913, allocations: 40.66 kB / 0.7478 GB, free: 164 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.006129, allocations: 131.5 kB / 0.748 GB, free: 32 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-05/0.006145, allocations: 0.6562 kB / 0.748 GB, free: 32 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.984e-06/0.006147, allocations: 3.984 kB / 0.748 GB, free: 28 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.006161, allocations: 0.5312 kB / 0.748 GB, free: 28 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.0006546/0.006816, allocations: 496.1 kB / 0.7484 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.006849, allocations: 8.031 kB / 0.7485 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.007047, allocations: 110 kB / 0.7486 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.007295, allocations: 166.5 kB / 0.7487 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.007314, allocations: 12.97 kB / 0.7487 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.007344, allocations: 12.31 kB / 0.7487 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.007547, allocations: 158.9 kB / 0.7489 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.007555, allocations: 4.781 kB / 0.7489 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.007569, allocations: 0.9375 kB / 0.7489 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.007578, allocations: 7.938 kB / 0.7489 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.00766, allocations: 80.05 kB / 0.749 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.008079, allocations: 256.1 kB / 0.7492 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.008204, allocations: 102 kB / 0.7493 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.008286, allocations: 92.83 kB / 0.7494 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.008308, allocations: 4 kB / 0.7494 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.008493, allocations: 215.6 kB / 0.7496 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.008495, allocations: 0 / 0.7496 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003452/0.00884, allocations: 327.6 kB / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.008949, allocations: 275.5 kB / 0.7502 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.009082, allocations: 164 kB / 0.7504 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.009105, allocations: 33.7 kB / 0.7504 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.009159, allocations: 100.3 kB / 0.7505 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.009188, allocations: 27.75 kB / 0.7505 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.009253, allocations: 37.69 kB / 0.7505 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.009353, allocations: 329 kB / 0.7509 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.811e-05/0.009451, allocations: 145.5 kB / 0.751 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.009572, allocations: 185.6 kB / 0.7512 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.009764, allocations: 279.9 kB / 0.7514 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.009766, allocations: 0 / 0.7514 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002879/0.01005, allocations: 355.5 kB / 0.7518 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.215e-05/0.01013, allocations: 126.7 kB / 0.7519 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01013, allocations: 0 / 0.7519 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.01015, allocations: 4 kB / 0.7519 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.01023, allocations: 15.98 kB / 0.7519 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.01024, allocations: 11.62 kB / 0.7519 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.01034, allocations: 15.94 kB / 0.7519 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.01036, allocations: 8 kB / 0.752 GB, free: 11.39 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 0.0001216/0.01048, allocations: 188 kB / 0.7521 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.01051, allocations: 19.98 kB / 0.7521 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.01054, allocations: 21.41 kB / 0.7522 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01055, allocations: 3.984 kB / 0.7522 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.01055, allocations: 0 / 0.7522 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01055, allocations: 3.938 kB / 0.7522 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.01091, allocations: 394.1 kB / 0.7526 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01091, allocations: 4.906 kB / 0.7526 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.01097, allocations: 19.92 kB / 0.7526 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.01099, allocations: 17.16 kB / 0.7526 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01099, allocations: 0 / 0.7526 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.01101, allocations: 11.97 kB / 0.7526 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01101, allocations: 0 / 0.7526 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01101, allocations: 0.7812 kB / 0.7526 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.01126, allocations: 330.3 kB / 0.7529 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.01129, allocations: 13.34 kB / 0.7529 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.01137, allocations: 8 kB / 0.7529 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.01141, allocations: 11.92 kB / 0.753 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.01143, allocations: 12.52 kB / 0.753 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.186e-05/0.01148, allocations: 47.27 kB / 0.753 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01148, allocations: 0.8125 kB / 0.753 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002824/0.01176, allocations: 39.94 kB / 0.753 GB, free: 10.16 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.000219/0.01198, allocations: 110.5 kB / 0.7532 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.01233, allocations: 478.1 kB / 0.7536 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.01234, allocations: 4 kB / 0.7536 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.01249, allocations: 227.5 kB / 0.7538 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.01276, allocations: 100.6 kB / 0.7539 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.01379, allocations: 335.1 kB / 0.7542 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.487e-05/0.01384, allocations: 71.33 kB / 0.7543 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.01388, allocations: 5.094 kB / 0.7543 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.01403, allocations: 96.69 kB / 0.7544 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.01403, allocations: 0 / 0.7544 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of Templates: time 0.004876/0.01891, allocations: 2.349 MB / 0.7567 GB, free: 6.402 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.797948884777725]