Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007019/0.0007019, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000998/0.0017, allocations: 440 kB / 10.41 MB, free: 284 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.0006869/0.0006869, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.002009, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0799/1.087, 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/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001199/0.001199, allocations: 234 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009386/0.002138, allocations: 483.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7019/0.7019, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07809/0.78, allocations: 42.42 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 428 MB, free: 4.496 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.274e-05, allocations: 2.312 kB / 428.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.001913/0.001926, allocations: 1.72 MB / 429.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007475/0.002673, allocations: 0.6775 MB / 430.4 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.002736, allocations: 4 kB / 430.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.874e-05/0.002815, allocations: 15.75 kB / 430.5 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.002945, allocations: 67.55 kB / 430.5 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.003217, allocations: 123.6 kB / 430.7 MB, free: 1.867 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.003412, allocations: 187.5 kB / 430.8 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.233e-05/0.003495, allocations: 18.28 kB / 430.9 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.003694, allocations: 139.7 kB / 431 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.482e-05/0.003789, allocations: 67.84 kB / 431.1 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.003815, allocations: 12 kB / 431.1 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.003892, allocations: 31.98 kB / 431.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.003951, allocations: 23.92 kB / 431.1 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.004, allocations: 47.88 kB / 431.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.004163, allocations: 131.6 kB / 431.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/0.004171, allocations: 0 / 431.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004172, allocations: 0 / 431.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.00418, allocations: 0 / 431.3 MB, free: 1.219 MB / 410.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.0004889/0.004669, allocations: 498.6 kB / 431.8 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.004705, allocations: 15.98 kB / 431.8 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.004884, allocations: 106 kB / 431.9 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.005092, allocations: 177.5 kB / 432.1 MB, free: 356 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.005105, allocations: 12.38 kB / 432.1 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.005124, allocations: 12.38 kB / 432.1 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.005274, allocations: 154.3 kB / 432.3 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.00528, allocations: 192 / 432.3 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.005289, allocations: 384 / 432.3 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005294, allocations: 11.94 kB / 432.3 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.414e-05/0.005349, allocations: 87.31 kB / 432.4 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1819/0.1873, allocations: 235.6 kB / 432.6 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1874, allocations: 106.3 kB / 432.7 MB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.1874, allocations: 94.25 kB / 432.8 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1874, allocations: 2.922 kB / 432.8 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.1876, allocations: 207.1 kB / 433 MB, free: 2.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.1876, allocations: 1.625 kB / 433 MB, free: 2.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002762/0.1879, allocations: 328.2 kB / 433.3 MB, free: 1.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1879, allocations: 270.8 kB / 433.6 MB, free: 1.527 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.854e-05/0.188, allocations: 174.3 kB / 433.7 MB, free: 1.414 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.188, allocations: 31.02 kB / 433.8 MB, free: 1.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.1881, allocations: 102.1 kB / 433.9 MB, free: 1.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.1881, allocations: 26.7 kB / 433.9 MB, free: 1.297 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.1881, allocations: 40.25 kB / 433.9 MB, free: 1.281 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.1882, allocations: 329.2 kB / 434.3 MB, free: 16.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.1883, allocations: 137 kB / 434.4 MB, free: 16.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.1884, allocations: 187.9 kB / 434.6 MB, free: 16.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1885, allocations: 275.2 kB / 434.8 MB, free: 16.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1885, allocations: 3.312 kB / 434.8 MB, free: 16.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002424/0.1888, allocations: 354.9 kB / 435.2 MB, free: 16.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/0.1888, allocations: 121.8 kB / 435.3 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1888, allocations: 7.125 kB / 435.3 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1889, allocations: 3.469 kB / 435.3 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.1889, allocations: 17.12 kB / 435.3 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1889, allocations: 9.609 kB / 435.3 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.189, allocations: 14.3 kB / 435.4 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.189, allocations: 8.281 kB / 435.4 MB, free: 15.97 MB / 426.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.0001067/0.1891, allocations: 186.2 kB / 435.6 MB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.1892, allocations: 21.61 kB / 435.6 MB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.1892, allocations: 20.81 kB / 435.6 MB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1892, allocations: 1.781 kB / 435.6 MB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1892, allocations: 0 / 435.6 MB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1892, allocations: 0.5625 kB / 435.6 MB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.1895, allocations: 411.4 kB / 436 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1895, allocations: 1.25 kB / 436 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.1895, allocations: 11.53 kB / 436 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.1896, allocations: 19.55 kB / 436 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1896, allocations: 2.125 kB / 436 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1896, allocations: 6.516 kB / 436 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1896, allocations: 0 / 436 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1896, allocations: 1.984 kB / 436 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1898, allocations: 339.9 kB / 436.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1898, allocations: 13.03 kB / 436.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.1899, allocations: 5.031 kB / 436.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1899, allocations: 6.125 kB / 436.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1899, allocations: 13.66 kB / 436.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.19, allocations: 41.77 kB / 436.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.19, allocations: 0 / 436.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.1902, allocations: 40 kB / 436.5 MB, free: 15.2 MB / 426.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.0001984/0.1904, allocations: 114.5 kB / 436.6 MB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.1907, allocations: 483.3 kB / 437.1 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.1907, allocations: 2.719 kB / 437.1 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.1908, allocations: 228.5 kB / 437.3 MB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.191, allocations: 91.84 kB / 437.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/0.1919, allocations: 344 kB / 437.7 MB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.115e-05/0.192, allocations: 66.08 kB / 437.8 MB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.857e-05/0.192, allocations: 10.22 kB / 437.8 MB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1922, allocations: 95.84 kB / 437.9 MB, free: 14.1 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1922, allocations: 0 / 437.9 MB, free: 14.1 MB / 426.7 MB Notification: Performance of Templates: time 0.004448/0.1966, allocations: 2.354 MB / 440.2 MB, free: 13.98 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.421791466884315]