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.001437/0.001437, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 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.001591/0.001591, allocations: 219.1 kB / 23.76 MB, free: 4.711 MB / 14.72 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9566/0.9566, allocations: 150 MB / 463.9 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 66.62 kB / 0.6425 GB, free: 9.98 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1796, allocations: 89.18 MB / 0.7296 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003153/0.1827, allocations: 1.639 MB / 0.7312 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1839, allocations: 0.6896 MB / 0.7319 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.1839, allocations: 7.875 kB / 0.7319 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1841, allocations: 27.8 kB / 0.7319 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1843, allocations: 47.62 kB / 0.7319 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.1848, allocations: 127.7 kB / 0.7321 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.185, allocations: 187.6 kB / 0.7322 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1851, allocations: 25.56 kB / 0.7323 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1853, allocations: 87.81 kB / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1855, allocations: 87.72 kB / 0.7324 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1855, allocations: 12 kB / 0.7324 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.1856, allocations: 35.98 kB / 0.7325 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.1857, allocations: 35.78 kB / 0.7325 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1858, allocations: 75.66 kB / 0.7326 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.1861, allocations: 179.3 kB / 0.7327 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1861, allocations: 4 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1861, allocations: 0 / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.1861, allocations: 0 / 0.7327 GB, free: 13.59 MB / 0.5606 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.0007914/0.1869, allocations: 492.4 kB / 0.7332 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1869, allocations: 8.031 kB / 0.7332 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.1871, allocations: 28.83 kB / 0.7333 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1874, allocations: 198.4 kB / 0.7334 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1875, allocations: 8.312 kB / 0.7335 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.1875, allocations: 16.38 kB / 0.7335 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.1878, allocations: 109.7 kB / 0.7336 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1878, allocations: 4 kB / 0.7336 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1878, allocations: 0 / 0.7336 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.1878, allocations: 4 kB / 0.7336 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.188, allocations: 67.94 kB / 0.7336 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/0.1887, allocations: 395.5 kB / 0.734 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1888, allocations: 78.53 kB / 0.7341 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.189, allocations: 72.84 kB / 0.7342 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.189, allocations: 0 / 0.7342 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.1893, allocations: 182.9 kB / 0.7343 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1893, allocations: 0 / 0.7343 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007434/0.19, allocations: 360.7 kB / 0.7347 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.1901, allocations: 166.2 kB / 0.7348 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1903, allocations: 179.6 kB / 0.735 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1903, allocations: 29.7 kB / 0.735 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.1904, allocations: 112.4 kB / 0.7351 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1904, allocations: 27.75 kB / 0.7352 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.1905, allocations: 45.69 kB / 0.7352 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1907, allocations: 326.8 kB / 0.7355 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1908, allocations: 55.95 kB / 0.7356 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.191, allocations: 106.8 kB / 0.7357 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.1913, allocations: 312.9 kB / 0.736 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1913, allocations: 0 / 0.736 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005487/0.1919, allocations: 352.2 kB / 0.7363 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.192, allocations: 118.8 kB / 0.7364 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.192, allocations: 4 kB / 0.7364 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.192, allocations: 4 kB / 0.7364 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1921, allocations: 19.92 kB / 0.7365 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1921, allocations: 3.938 kB / 0.7365 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.964e-05/0.1922, allocations: 16 kB / 0.7365 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1923, allocations: 8 kB / 0.7365 GB, free: 9.363 MB / 0.5606 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.0001735/0.1924, allocations: 201.2 kB / 0.7367 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1925, allocations: 19.91 kB / 0.7367 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.1925, allocations: 17.41 kB / 0.7367 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1925, allocations: 0 / 0.7367 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1925, allocations: 0 / 0.7367 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1925, allocations: 0 / 0.7367 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.1933, allocations: 0.5632 MB / 0.7373 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1933, allocations: 4 kB / 0.7373 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.1933, allocations: 11.98 kB / 0.7373 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1933, allocations: 3.938 kB / 0.7373 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.1933, allocations: 12 kB / 0.7373 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1934, allocations: 4 kB / 0.7373 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1934, allocations: 3.938 kB / 0.7373 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.1939, allocations: 410.9 kB / 0.7377 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.1939, allocations: 19.89 kB / 0.7377 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.194, allocations: 4 kB / 0.7377 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1941, allocations: 8 kB / 0.7377 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.1941, allocations: 15.86 kB / 0.7377 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.1941, allocations: 11.98 kB / 0.7378 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001141/0.1943, allocations: 128.1 kB / 0.7379 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1943, allocations: 3.938 kB / 0.7379 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000289/0.1946, allocations: 35.94 kB / 0.7379 GB, free: 7.785 MB / 0.5606 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.0002433/0.1948, allocations: 114 kB / 0.738 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.1953, allocations: 361.9 kB / 0.7384 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1953, allocations: 4.062 kB / 0.7384 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.1956, allocations: 182.7 kB / 0.7385 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1959, allocations: 26.22 kB / 0.7386 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.1965, allocations: 317.6 kB / 0.7389 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1969, allocations: 0.7119 MB / 0.7396 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.1969, allocations: 19.44 kB / 0.7396 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1969, allocations: 0 / 0.7396 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of Templates: time 0.00446/0.2014, allocations: 2.191 MB / 0.7417 GB, free: 3.758 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.406205112114549] Failed to read output from testmodel.py, exit status != 0: 0.21011645486578345 0.22517521899999995 0.035879537 Calling exit ...