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.0007058/0.0007058, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000922/0.001628, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007061/0.0007061, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009448/0.001651, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9478/0.9478, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1053/1.053, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.001724/0.001724, allocations: 233.9 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004227/0.005951, allocations: 471.2 kB / 244.7 MB, free: 14.18 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.7012/0.7012, allocations: 138.7 MB / 384.1 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07666/0.7779, allocations: 42.39 MB / 426.5 MB, free: 5.945 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.333e-06/1.333e-06, allocations: 0 / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.203e-05, allocations: 10.25 kB / 427.8 MB, free: 4.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.001868/0.00188, allocations: 1.716 MB / 429.5 MB, free: 2.898 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.002622, allocations: 0.6775 MB / 430.2 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.002682, allocations: 3.938 kB / 430.2 MB, free: 2.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.68e-05/0.002759, allocations: 23.78 kB / 430.2 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.002874, allocations: 43.7 kB / 430.2 MB, free: 2.145 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.003114, allocations: 119.7 kB / 430.4 MB, free: 2.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.003316, allocations: 187.5 kB / 430.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.95e-05/0.003396, allocations: 22.28 kB / 430.6 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.003614, allocations: 143.6 kB / 430.7 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.003718, allocations: 67.84 kB / 430.8 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.003744, allocations: 16 kB / 430.8 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-05/0.003819, allocations: 27.98 kB / 430.8 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.003876, allocations: 23.92 kB / 430.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.003928, allocations: 43.88 kB / 430.9 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.004086, allocations: 127.6 kB / 431 MB, free: 1.379 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.004099, allocations: 7.938 kB / 431 MB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004099, allocations: 0 / 431 MB, free: 1.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.004116, allocations: 0 / 431 MB, free: 1.371 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.0003907/0.004507, allocations: 498.6 kB / 431.5 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.226e-05/0.004529, allocations: 11.98 kB / 431.5 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.004645, allocations: 110 kB / 431.6 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.004797, allocations: 165.5 kB / 431.8 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.004806, allocations: 12.38 kB / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.004821, allocations: 12.38 kB / 431.8 MB, free: 500 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.004949, allocations: 162.2 kB / 432 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-06/0.004954, allocations: 192 / 432 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.004964, allocations: 12.38 kB / 432 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.004967, allocations: 3.938 kB / 432 MB, free: 300 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.739e-05/0.005025, allocations: 87.31 kB / 432.1 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1873/0.1923, allocations: 238.8 kB / 432.3 MB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1924, allocations: 101.9 kB / 432.4 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.1925, allocations: 93.62 kB / 432.5 MB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.1925, allocations: 2.594 kB / 432.5 MB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.1927, allocations: 209.2 kB / 432.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 3.326e-06/0.1927, allocations: 1.562 kB / 432.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002616/0.1929, allocations: 320.4 kB / 433 MB, free: 1.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.193, allocations: 170.1 kB / 433.2 MB, free: 1.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1931, allocations: 171.1 kB / 433.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1931, allocations: 34.92 kB / 433.4 MB, free: 1.562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.1931, allocations: 102.9 kB / 433.5 MB, free: 1.477 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1932, allocations: 26.27 kB / 433.5 MB, free: 1.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.1932, allocations: 39.97 kB / 433.5 MB, free: 1.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.1933, allocations: 326.5 kB / 433.9 MB, free: 17.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.1933, allocations: 137.4 kB / 434 MB, free: 17.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.1934, allocations: 195.5 kB / 434.2 MB, free: 16.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1936, allocations: 273.5 kB / 434.5 MB, free: 16.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1936, allocations: 3.5 kB / 434.5 MB, free: 16.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002148/0.1938, allocations: 358.5 kB / 434.8 MB, free: 16.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.492e-05/0.1938, allocations: 118.3 kB / 434.9 MB, free: 16.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1939, allocations: 3.5 kB / 434.9 MB, free: 16.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1939, allocations: 9.656 kB / 434.9 MB, free: 16.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.194, allocations: 15.55 kB / 435 MB, free: 16.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.194, allocations: 3.406 kB / 435 MB, free: 16.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.194, allocations: 17.11 kB / 435 MB, free: 16.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.194, allocations: 8.719 kB / 435 MB, free: 16.15 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.0001028/0.1941, allocations: 188.6 kB / 435.2 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.1942, allocations: 23.5 kB / 435.2 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.1942, allocations: 15.27 kB / 435.2 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1942, allocations: 3.938 kB / 435.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1942, allocations: 1.062 kB / 435.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1942, allocations: 3.578 kB / 435.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.1945, allocations: 400.8 kB / 435.6 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1945, allocations: 4.781 kB / 435.6 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.1945, allocations: 14.11 kB / 435.6 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.1945, allocations: 16.48 kB / 435.6 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1945, allocations: 5.766 kB / 435.6 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1946, allocations: 9.062 kB / 435.7 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1946, allocations: 3.562 kB / 435.7 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1946, allocations: 0 / 435.7 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.1947, allocations: 336.6 kB / 436 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1948, allocations: 2.469 kB / 436 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.1948, allocations: 11.27 kB / 436 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.1949, allocations: 10.69 kB / 436 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1949, allocations: 7 kB / 436 MB, free: 15.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.951e-05/0.1949, allocations: 50.02 kB / 436.1 MB, free: 15.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1949, allocations: 0.7812 kB / 436.1 MB, free: 15.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.1951, allocations: 36.72 kB / 436.1 MB, free: 15.39 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.0001841/0.1953, allocations: 110.5 kB / 436.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.1955, allocations: 478 kB / 436.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.1955, allocations: 3.359 kB / 436.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1957, allocations: 223.8 kB / 436.9 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.1958, allocations: 38.97 kB / 436.9 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008259/0.1967, allocations: 339.7 kB / 437.3 MB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.1967, allocations: 68.89 kB / 437.3 MB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.677e-05/0.1967, allocations: 13.19 kB / 437.3 MB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1969, allocations: 96.89 kB / 437.4 MB, free: 14.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1969, allocations: 0 / 437.4 MB, free: 14.35 MB / 426.7 MB Notification: Performance of Templates: time 0.004722/0.2016, allocations: 2.362 MB / 439.8 MB, free: 14.23 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.3907833080738783]