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.001841/0.001841, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.002225/0.002225, allocations: 212.2 kB / 23.74 MB, free: 4.445 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.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 7.789 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 1.003/1.003, allocations: 149.9 MB / 463.8 MB, free: 10.34 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.002094/0.002094, allocations: 72.48 kB / 0.6423 GB, free: 9.617 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1814, allocations: 89.16 MB / 0.7294 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.003072/0.1845, allocations: 1.622 MB / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1856, allocations: 0.6506 MB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.1857, allocations: 4 kB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.1859, allocations: 27.78 kB / 0.7316 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.1861, allocations: 43.75 kB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.1866, allocations: 127.7 kB / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1868, allocations: 183.6 kB / 0.732 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1869, allocations: 17.62 kB / 0.732 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1871, allocations: 91.75 kB / 0.7321 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1873, allocations: 79.72 kB / 0.7321 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.1873, allocations: 16 kB / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-05/0.1874, allocations: 39.91 kB / 0.7322 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.1875, allocations: 23.92 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.1876, allocations: 67.77 kB / 0.7323 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.1878, allocations: 175.3 kB / 0.7324 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1878, allocations: 8 kB / 0.7325 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1878, allocations: 0 / 0.7325 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1878, allocations: 0 / 0.7325 GB, free: 13.34 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.0007271/0.1886, allocations: 492.4 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1886, allocations: 12.03 kB / 0.7329 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.1888, allocations: 28.83 kB / 0.733 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.1892, allocations: 178.4 kB / 0.7331 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1892, allocations: 16.38 kB / 0.7331 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.1892, allocations: 12.38 kB / 0.7332 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1895, allocations: 173.1 kB / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1895, allocations: 0 / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.1895, allocations: 11.94 kB / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1896, allocations: 0 / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.1898, allocations: 131.2 kB / 0.7335 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.1904, allocations: 344.2 kB / 0.7338 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1907, allocations: 142 kB / 0.7339 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.1909, allocations: 132.2 kB / 0.734 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1909, allocations: 0 / 0.734 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/0.1912, allocations: 238.3 kB / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.1912, allocations: 0 / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0008335/0.192, allocations: 479.6 kB / 0.7347 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.1922, allocations: 170.2 kB / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1923, allocations: 179.6 kB / 0.7351 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1924, allocations: 29.7 kB / 0.7351 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.1925, allocations: 108.4 kB / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.1925, allocations: 27.75 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.1926, allocations: 41.69 kB / 0.7353 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1927, allocations: 330.8 kB / 0.7356 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1929, allocations: 166.8 kB / 0.7357 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.1932, allocations: 217.6 kB / 0.7359 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.1935, allocations: 309 kB / 0.7362 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1935, allocations: 7.938 kB / 0.7362 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006255/0.1942, allocations: 459 kB / 0.7367 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-05/0.1943, allocations: 118.8 kB / 0.7368 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1943, allocations: 0 / 0.7368 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1943, allocations: 4 kB / 0.7368 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1944, allocations: 19.92 kB / 0.7368 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1944, allocations: 4.25 kB / 0.7368 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.821e-05/0.1945, allocations: 19.98 kB / 0.7368 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1945, allocations: 8 kB / 0.7369 GB, free: 8.285 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.0001773/0.1947, allocations: 205.1 kB / 0.737 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1947, allocations: 19.84 kB / 0.7371 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.1948, allocations: 21.39 kB / 0.7371 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1948, allocations: 0 / 0.7371 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1948, allocations: 4.281 kB / 0.7371 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1948, allocations: 0 / 0.7371 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007761/0.1956, allocations: 0.5866 MB / 0.7377 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1956, allocations: 4 kB / 0.7377 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.1956, allocations: 8 kB / 0.7377 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1956, allocations: 7.984 kB / 0.7377 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1957, allocations: 4 kB / 0.7377 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1957, allocations: 0 / 0.7377 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1957, allocations: 0 / 0.7377 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.1963, allocations: 474 kB / 0.7381 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.1963, allocations: 11.91 kB / 0.7382 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.1964, allocations: 12 kB / 0.7382 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.1965, allocations: 11.98 kB / 0.7382 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.1965, allocations: 0 / 0.7382 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.1965, allocations: 15.98 kB / 0.7382 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001072/0.1967, allocations: 124.1 kB / 0.7383 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1967, allocations: 0 / 0.7383 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002996/0.197, allocations: 47.86 kB / 0.7384 GB, free: 6.621 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.0002608/0.1972, allocations: 130.6 kB / 0.7385 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006281/0.1978, allocations: 0.5152 MB / 0.739 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1978, allocations: 0 / 0.739 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.1981, allocations: 242.1 kB / 0.7392 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1984, allocations: 16.5 kB / 0.7392 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.1991, allocations: 385 kB / 0.7396 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.1992, allocations: 101.2 kB / 0.7397 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.1992, allocations: 11.44 kB / 0.7397 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of SimCode: time 5e-07/0.1992, allocations: 0 / 0.7397 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of Templates: time 0.004473/0.2037, allocations: 2.225 MB / 0.7419 GB, free: 2.84 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.670386844314635] Failed to read output from testmodel.py, exit status != 0: 0.2130197579972446 0.22727872199999996 0.036338654000000005 Calling exit ...