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.0008881/0.0008881, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009843/0.0009843, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002028/0.002028, allocations: 242.1 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7544/0.7544, allocations: 138.4 MB / 402.2 MB, free: 0.5352 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.412e-06/1.412e-06, allocations: 0.7656 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.455e-05, allocations: 7.391 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.002834/0.002858, allocations: 1.717 MB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003871, allocations: 0.6711 MB / 464.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.003946, allocations: 3.844 kB / 464.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.004106, allocations: 21.72 kB / 464.8 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.004315, allocations: 52.58 kB / 464.8 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.004676, allocations: 118.8 kB / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.004941, allocations: 194.6 kB / 465.1 MB, free: 15.19 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.005047, allocations: 28.47 kB / 465.1 MB, free: 15.17 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.005289, allocations: 113.8 kB / 465.3 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.00541, allocations: 73.05 kB / 465.3 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.005443, allocations: 13.91 kB / 465.3 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.005531, allocations: 32.47 kB / 465.4 MB, free: 15.1 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.005605, allocations: 34.47 kB / 465.4 MB, free: 15.08 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.005668, allocations: 55.59 kB / 465.5 MB, free: 15.06 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.005894, allocations: 153.5 kB / 465.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.005898, allocations: 1.312 kB / 465.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005899, allocations: 0.5625 kB / 465.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.005905, allocations: 1.266 kB / 465.6 MB, free: 14.99 MB / 426.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.0005257/0.006431, allocations: 470.8 kB / 466.1 MB, free: 14.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.006464, allocations: 10.66 kB / 466.1 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.006611, allocations: 29.33 kB / 466.1 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.006841, allocations: 175.7 kB / 466.3 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.006859, allocations: 8.828 kB / 466.3 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.006878, allocations: 16.97 kB / 466.3 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.007075, allocations: 154.2 kB / 466.5 MB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.007083, allocations: 2.031 kB / 466.5 MB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.007094, allocations: 3.656 kB / 466.5 MB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.007101, allocations: 5.281 kB / 466.5 MB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.007172, allocations: 93.36 kB / 466.6 MB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.007537, allocations: 233.7 kB / 466.8 MB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.007644, allocations: 110.2 kB / 466.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.007706, allocations: 94.91 kB / 467 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.007725, allocations: 5.406 kB / 467 MB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.007873, allocations: 210.3 kB / 467.2 MB, free: 13.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.465e-06/0.007875, allocations: 0.5938 kB / 467.2 MB, free: 13.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002727/0.008148, allocations: 321.2 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.00821, allocations: 162.2 kB / 467.7 MB, free: 13.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.008319, allocations: 180.1 kB / 467.8 MB, free: 12.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.008336, allocations: 33.7 kB / 467.9 MB, free: 12.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.008376, allocations: 97.03 kB / 468 MB, free: 12.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.008398, allocations: 27.73 kB / 468 MB, free: 12.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.00845, allocations: 42.44 kB / 468 MB, free: 12.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.008529, allocations: 326.8 kB / 468.4 MB, free: 12.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.008608, allocations: 142.4 kB / 468.5 MB, free: 12.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-05/0.008701, allocations: 187.8 kB / 468.7 MB, free: 11.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.008848, allocations: 264.5 kB / 468.9 MB, free: 11.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.008851, allocations: 4 kB / 468.9 MB, free: 11.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002293/0.009081, allocations: 352.4 kB / 469.3 MB, free: 11.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/0.009138, allocations: 126.7 kB / 469.4 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.009143, allocations: 0 / 469.4 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.009157, allocations: 4.938 kB / 469.4 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.009229, allocations: 19.92 kB / 469.4 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.009234, allocations: 4 kB / 469.4 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.009287, allocations: 17.94 kB / 469.5 MB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.009302, allocations: 4.562 kB / 469.5 MB, free: 11.01 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.0001177/0.009419, allocations: 196 kB / 469.7 MB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.009443, allocations: 19.98 kB / 469.7 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.009474, allocations: 22.61 kB / 469.7 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009476, allocations: 0 / 469.7 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.009478, allocations: 0 / 469.7 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.009481, allocations: 1.062 kB / 469.7 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.009769, allocations: 410.9 kB / 470.1 MB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009771, allocations: 0 / 470.1 MB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.00981, allocations: 9.188 kB / 470.1 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.009813, allocations: 3.938 kB / 470.1 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.009828, allocations: 14.3 kB / 470.1 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.009829, allocations: 0.75 kB / 470.1 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.009831, allocations: 0.6562 kB / 470.1 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.01002, allocations: 335.7 kB / 470.5 MB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.01003, allocations: 7.953 kB / 470.5 MB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.01006, allocations: 7.938 kB / 470.5 MB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.01012, allocations: 11.98 kB / 470.5 MB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.01015, allocations: 5.625 kB / 470.5 MB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.01016, allocations: 7.984 kB / 470.5 MB, free: 9.879 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.863e-05/0.0102, allocations: 50.72 kB / 470.5 MB, free: 9.828 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0102, allocations: 0 / 470.5 MB, free: 9.828 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.01038, allocations: 40.98 kB / 470.6 MB, free: 9.789 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.0001916/0.01058, allocations: 114.8 kB / 470.7 MB, free: 9.676 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.01085, allocations: 484 kB / 471.2 MB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01086, allocations: 0.5312 kB / 471.2 MB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01097, allocations: 215 kB / 471.4 MB, free: 8.867 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01114, allocations: 28.03 kB / 471.4 MB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.01168, allocations: 329.8 kB / 471.7 MB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.01172, allocations: 67.33 kB / 471.8 MB, free: 8.398 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.01177, allocations: 10.47 kB / 471.8 MB, free: 8.391 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.0119, allocations: 95.33 kB / 471.9 MB, free: 8.301 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0119, allocations: 1.156 kB / 471.9 MB, free: 8.301 MB / 426.7 MB Notification: Performance of Templates: time 0.004488/0.01638, allocations: 2.321 MB / 474.2 MB, free: 6.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6873706500045955]