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.002511/0.002511, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.00302/0.00302, allocations: 216 kB / 23.02 MB, free: 2.957 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.671/1.671, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 178] 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 3.325/3.325, allocations: 0.5045 GB / 0.8104 GB, free: 2.801 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003656/0.003656, allocations: 71.89 kB / 1.177 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8025/0.8062, allocations: 180 MB / 1.353 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003221/0.8094, allocations: 1.627 MB / 1.354 GB, free: 4 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.8106, allocations: 0.6507 MB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.8107, allocations: 3.938 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.8109, allocations: 23.86 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.8111, allocations: 43.7 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.8115, allocations: 127.7 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.8118, allocations: 183.6 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.8119, allocations: 13.64 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.8121, allocations: 95.73 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.8123, allocations: 79.72 kB / 1.356 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.8123, allocations: 15.94 kB / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-05/0.8124, allocations: 36 kB / 1.356 GB, free: 14.73 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.809e-05/0.8125, allocations: 31.91 kB / 1.356 GB, free: 14.7 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 9.668e-05/0.8126, allocations: 63.72 kB / 1.356 GB, free: 14.64 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.8129, allocations: 182.1 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8129, allocations: 0 / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.747e-06/0.8129, allocations: 3.984 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.8129, allocations: 0 / 1.356 GB, free: 14.46 MB / 1.042 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.0008349/0.8137, allocations: 492.4 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.8137, allocations: 12.91 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.8139, allocations: 24.84 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.8143, allocations: 187 kB / 1.357 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.8143, allocations: 8.375 kB / 1.357 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.8143, allocations: 12.38 kB / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.8147, allocations: 181.1 kB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.8147, allocations: 3.938 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.8147, allocations: 4 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8147, allocations: 0 / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.815, allocations: 131.3 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.8156, allocations: 348.2 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.8159, allocations: 137.9 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.8161, allocations: 128.2 kB / 1.358 GB, free: 12.65 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.8161, allocations: 0 / 1.358 GB, free: 12.65 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.8164, allocations: 238.2 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.8164, allocations: 4 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of matching and sorting (n=10): time 0.0008781/0.8173, allocations: 479.7 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.8174, allocations: 166.2 kB / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.8177, allocations: 179.6 kB / 1.359 GB, free: 11.48 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.8177, allocations: 29.7 kB / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.97e-05/0.8178, allocations: 108.4 kB / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.8178, allocations: 27.78 kB / 1.359 GB, free: 11.3 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.8179, allocations: 41.7 kB / 1.359 GB, free: 11.26 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.8181, allocations: 334.8 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.8183, allocations: 162.8 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.8186, allocations: 206.3 kB / 1.359 GB, free: 10.49 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.819, allocations: 316.9 kB / 1.36 GB, free: 10.12 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.819, allocations: 288 / 1.36 GB, free: 10.12 MB / 1.042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007117/0.8197, allocations: 470.9 kB / 1.36 GB, free: 9.602 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.857e-05/0.8198, allocations: 114.8 kB / 1.36 GB, free: 9.465 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8198, allocations: 8.188 kB / 1.36 GB, free: 9.457 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8198, allocations: 8 kB / 1.36 GB, free: 9.449 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.8199, allocations: 15.98 kB / 1.36 GB, free: 9.434 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.8199, allocations: 0 / 1.36 GB, free: 9.434 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.82, allocations: 27.83 kB / 1.36 GB, free: 9.406 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.8201, allocations: 11.98 kB / 1.36 GB, free: 9.395 MB / 1.042 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.000193/0.8203, allocations: 197.1 kB / 1.361 GB, free: 9.18 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.8203, allocations: 19.91 kB / 1.361 GB, free: 9.16 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.8204, allocations: 13.41 kB / 1.361 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.8204, allocations: 0 / 1.361 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.8204, allocations: 7.984 kB / 1.361 GB, free: 9.129 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8204, allocations: 0 / 1.361 GB, free: 9.129 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008236/0.8212, allocations: 0.575 MB / 1.361 GB, free: 8.492 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8212, allocations: 0 / 1.361 GB, free: 8.492 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.8213, allocations: 11.98 kB / 1.361 GB, free: 8.48 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8213, allocations: 0 / 1.361 GB, free: 8.48 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.8213, allocations: 7.984 kB / 1.361 GB, free: 8.473 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.8213, allocations: 4 kB / 1.361 GB, free: 8.469 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8213, allocations: 0 / 1.361 GB, free: 8.469 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.822, allocations: 474 kB / 1.362 GB, free: 7.965 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.822, allocations: 15.84 kB / 1.362 GB, free: 7.949 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.822, allocations: 8 kB / 1.362 GB, free: 7.941 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.8221, allocations: 4 kB / 1.362 GB, free: 7.938 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.8222, allocations: 7.984 kB / 1.362 GB, free: 7.93 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.8222, allocations: 19.97 kB / 1.362 GB, free: 7.91 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001504/0.8224, allocations: 126.3 kB / 1.362 GB, free: 7.789 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8224, allocations: 4 kB / 1.362 GB, free: 7.785 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002915/0.8226, allocations: 35.94 kB / 1.362 GB, free: 7.75 MB / 1.042 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.0003105/0.823, allocations: 147.9 kB / 1.362 GB, free: 7.605 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.00072/0.8237, allocations: 0.5117 MB / 1.363 GB, free: 7.008 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8237, allocations: 4.125 kB / 1.363 GB, free: 7.004 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003829/0.8241, allocations: 246.1 kB / 1.363 GB, free: 6.727 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.8244, allocations: 23.73 kB / 1.363 GB, free: 6.703 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.8251, allocations: 347.5 kB / 1.363 GB, free: 6.328 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.8252, allocations: 89.19 kB / 1.363 GB, free: 6.223 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.923e-05/0.8252, allocations: 24.47 kB / 1.363 GB, free: 6.199 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.8253, allocations: 23.42 kB / 1.363 GB, free: 6.176 MB / 1.042 GB Notification: Performance of SimCode: time 5.11e-07/0.8253, allocations: 0 / 1.363 GB, free: 6.176 MB / 1.042 GB Notification: Performance of Templates: time 0.006364/0.8317, allocations: 2.26 MB / 1.365 GB, free: 3.969 MB / 1.042 GB " [Timeout remaining time 299] 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: 9.899335291236639]