Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001055/0.001055, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002645, allocations: 452 kB / 10.43 MB, free: 268 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.001114/0.001114, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001522/0.002636, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9358/0.9358, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08234/1.018, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7152/0.7152, allocations: 120.1 MB / 364.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06742/0.7826, allocations: 38.15 MB / 402.4 MB, free: 12.26 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 403.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.511e-05, allocations: 6.25 kB / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003263/0.003288, allocations: 1.724 MB / 405.4 MB, free: 9.211 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.004356, allocations: 0.6697 MB / 406.1 MB, free: 8.535 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.00443, allocations: 4 kB / 406.1 MB, free: 8.531 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.004542, allocations: 27.73 kB / 406.1 MB, free: 8.504 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.004716, allocations: 47.69 kB / 406.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.005103, allocations: 119.7 kB / 406.3 MB, free: 8.34 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.005386, allocations: 191.5 kB / 406.5 MB, free: 8.152 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.005488, allocations: 10.3 kB / 406.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.005771, allocations: 139.7 kB / 406.6 MB, free: 8.004 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.0059, allocations: 75.78 kB / 406.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.005933, allocations: 12 kB / 406.7 MB, free: 7.918 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.00603, allocations: 32 kB / 406.8 MB, free: 7.887 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.006e-05/0.006111, allocations: 27.92 kB / 406.8 MB, free: 7.859 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.006183, allocations: 43.92 kB / 406.8 MB, free: 7.816 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.006429, allocations: 127.5 kB / 406.9 MB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.349e-05/0.006443, allocations: 0 / 406.9 MB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.006444, allocations: 0 / 406.9 MB, free: 7.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.006458, allocations: 0 / 406.9 MB, free: 7.691 MB / 394.7 MB 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.0006655/0.007123, allocations: 494.6 kB / 407.4 MB, free: 7.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.00716, allocations: 8.031 kB / 407.4 MB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.007369, allocations: 114 kB / 407.5 MB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.007635, allocations: 181.5 kB / 407.7 MB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.007652, allocations: 8.375 kB / 407.7 MB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.007681, allocations: 12.38 kB / 407.7 MB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.007905, allocations: 158.2 kB / 407.9 MB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.007914, allocations: 4.188 kB / 407.9 MB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.007929, allocations: 4.375 kB / 407.9 MB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.007941, allocations: 7.938 kB / 407.9 MB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.008028, allocations: 83.31 kB / 408 MB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.008496, allocations: 246.9 kB / 408.2 MB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.008625, allocations: 110 kB / 408.3 MB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.008709, allocations: 88.25 kB / 408.4 MB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.00873, allocations: 3.984 kB / 408.4 MB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.00893, allocations: 210.3 kB / 408.6 MB, free: 5.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/0.008932, allocations: 3.938 kB / 408.6 MB, free: 5.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003493/0.009282, allocations: 323.7 kB / 409 MB, free: 5.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.009404, allocations: 269 kB / 409.2 MB, free: 5.094 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.00954, allocations: 175.4 kB / 409.4 MB, free: 4.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.009563, allocations: 33.7 kB / 409.4 MB, free: 4.867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.009617, allocations: 100.3 kB / 409.5 MB, free: 4.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.009647, allocations: 27.73 kB / 409.6 MB, free: 4.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.009715, allocations: 41.69 kB / 409.6 MB, free: 4.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.009821, allocations: 330.8 kB / 409.9 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.009925, allocations: 137.6 kB / 410.1 MB, free: 4.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.01005, allocations: 185.6 kB / 410.2 MB, free: 3.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.01025, allocations: 277.4 kB / 410.5 MB, free: 3.629 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.01025, allocations: 0 / 410.5 MB, free: 3.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002996/0.01055, allocations: 352.7 kB / 410.8 MB, free: 3.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/0.01063, allocations: 122.8 kB / 411 MB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01064, allocations: 4.25 kB / 411 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.01066, allocations: 7.984 kB / 411 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.938e-05/0.01076, allocations: 15.94 kB / 411 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.01077, allocations: 7.984 kB / 411 MB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.517e-05/0.01084, allocations: 15.95 kB / 411 MB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.01086, allocations: 8 kB / 411 MB, free: 3.023 MB / 394.7 MB 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.0001295/0.01099, allocations: 191.9 kB / 411.2 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.01103, allocations: 19.98 kB / 411.2 MB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.01106, allocations: 21.39 kB / 411.3 MB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01106, allocations: 0 / 411.3 MB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.01107, allocations: 4 kB / 411.3 MB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01107, allocations: 4 kB / 411.3 MB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.01145, allocations: 405.5 kB / 411.7 MB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01145, allocations: 0 / 411.7 MB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.01151, allocations: 11.98 kB / 411.7 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.01153, allocations: 15.84 kB / 411.7 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01153, allocations: 0 / 411.7 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.01155, allocations: 11.98 kB / 411.7 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01155, allocations: 0 / 411.7 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01155, allocations: 0 / 411.7 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.01183, allocations: 346.2 kB / 412 MB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.01186, allocations: 11.88 kB / 412 MB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.01195, allocations: 4 kB / 412 MB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.01199, allocations: 11.98 kB / 412.1 MB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.01201, allocations: 7.984 kB / 412.1 MB, free: 1.859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.514e-05/0.01206, allocations: 42.78 kB / 412.1 MB, free: 1.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01206, allocations: 0 / 412.1 MB, free: 1.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.01234, allocations: 35.94 kB / 412.1 MB, free: 1.781 MB / 394.7 MB 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.0002333/0.01258, allocations: 120.7 kB / 412.3 MB, free: 1.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.01294, allocations: 480.5 kB / 412.7 MB, free: 1.094 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.01295, allocations: 4 kB / 412.7 MB, free: 1.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.01311, allocations: 223 kB / 413 MB, free: 0.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.01339, allocations: 92.12 kB / 413 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.01453, allocations: 346.1 kB / 413.4 MB, free: 364 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.223e-05/0.01458, allocations: 67.33 kB / 413.4 MB, free: 276 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.57e-05/0.01463, allocations: 12.48 kB / 413.5 MB, free: 264 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.01479, allocations: 95.33 kB / 413.6 MB, free: 168 kB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01479, allocations: 0 / 413.6 MB, free: 168 kB / 394.7 MB Notification: Performance of Templates: time 0.003934/0.01873, allocations: 2.341 MB / 415.9 MB, free: 13.81 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2739670649170876]