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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] 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.00237/0.00237, allocations: 288.5 kB / 304.8 MB, free: 3.527 MB / 238.1 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 1.121/1.121, allocations: 180.9 MB / 0.5282 GB, free: 2.328 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002764/0.002764, allocations: 95.84 kB / 0.7283 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4815, allocations: 94.15 MB / 0.8203 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.003198/0.4847, allocations: 1.644 MB / 0.8219 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.4858, allocations: 0.6186 MB / 0.8225 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.4859, allocations: 2.219 kB / 0.8225 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.486, allocations: 24.81 kB / 0.8225 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.4863, allocations: 40.52 kB / 0.8226 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.4867, allocations: 111.9 kB / 0.8227 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.4869, allocations: 184.7 kB / 0.8228 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.487, allocations: 16.14 kB / 0.8229 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.4872, allocations: 85.06 kB / 0.8229 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.4873, allocations: 96.36 kB / 0.823 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.4874, allocations: 13.03 kB / 0.823 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.4874, allocations: 25 kB / 0.8231 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.218e-05/0.4875, allocations: 31.41 kB / 0.8231 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.967e-05/0.4876, allocations: 72.41 kB / 0.8232 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.4879, allocations: 170.9 kB / 0.8233 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4879, allocations: 0 / 0.8233 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4879, allocations: 5.219 kB / 0.8233 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.4879, allocations: 0 / 0.8233 GB, free: 2.387 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.0007596/0.4887, allocations: 0.5614 MB / 0.8239 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.4887, allocations: 10 kB / 0.8239 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.4888, allocations: 19.38 kB / 0.8239 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.4891, allocations: 244.2 kB / 0.8241 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.4891, allocations: 11.75 kB / 0.8241 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.4892, allocations: 11.34 kB / 0.8242 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.4894, allocations: 122.7 kB / 0.8243 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4895, allocations: 9.062 kB / 0.8243 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.4895, allocations: 2.375 kB / 0.8243 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4895, allocations: 1.094 kB / 0.8243 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.4897, allocations: 66.86 kB / 0.8244 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/0.4903, allocations: 419.8 kB / 0.8248 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.4905, allocations: 82.09 kB / 0.8248 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.4907, allocations: 67.44 kB / 0.8249 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.4907, allocations: 1.344 kB / 0.8249 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.491, allocations: 177.2 kB / 0.8251 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.491, allocations: 1.062 kB / 0.8251 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007428/0.4917, allocations: 361.6 kB / 0.8254 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.4918, allocations: 169.1 kB / 0.8256 GB, free: 388 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.492, allocations: 186.2 kB / 0.8257 GB, free: 232 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.492, allocations: 32.45 kB / 0.8258 GB, free: 196 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.4921, allocations: 104.6 kB / 0.8259 GB, free: 92 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.4922, allocations: 31.86 kB / 0.8259 GB, free: 64 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.4922, allocations: 39.58 kB / 0.8259 GB, free: 36 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4924, allocations: 329.5 kB / 0.8263 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.4925, allocations: 56.83 kB / 0.8263 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.4927, allocations: 101.2 kB / 0.8264 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.4931, allocations: 314.6 kB / 0.8267 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4931, allocations: 0 / 0.8267 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005425/0.4936, allocations: 339.3 kB / 0.827 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.649e-05/0.4937, allocations: 121.7 kB / 0.8272 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4937, allocations: 5.156 kB / 0.8272 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4937, allocations: 2.688 kB / 0.8272 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4938, allocations: 21.3 kB / 0.8272 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.4938, allocations: 2.906 kB / 0.8272 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.4939, allocations: 21.53 kB / 0.8272 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.494, allocations: 10.5 kB / 0.8272 GB, free: 14.89 MB / 0.5762 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.0001679/0.4941, allocations: 210.9 kB / 0.8274 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.4942, allocations: 17.16 kB / 0.8274 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.4942, allocations: 17.64 kB / 0.8274 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4942, allocations: 9.594 kB / 0.8275 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4942, allocations: 0 / 0.8275 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4942, allocations: 0 / 0.8275 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.495, allocations: 0.5851 MB / 0.828 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.495, allocations: 0 / 0.828 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.495, allocations: 9.625 kB / 0.828 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.495, allocations: 0 / 0.828 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.4951, allocations: 13.48 kB / 0.8281 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4951, allocations: 0 / 0.8281 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4951, allocations: 9.312 kB / 0.8281 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.4956, allocations: 402.5 kB / 0.8284 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.4957, allocations: 88.64 kB / 0.8285 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.4957, allocations: 7.859 kB / 0.8285 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.4958, allocations: 9.625 kB / 0.8285 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.4959, allocations: 12.83 kB / 0.8286 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.4959, allocations: 8.562 kB / 0.8286 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001163/0.496, allocations: 131.8 kB / 0.8287 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.496, allocations: 0 / 0.8287 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002885/0.4963, allocations: 34.97 kB / 0.8287 GB, free: 13.62 MB / 0.5762 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.0002627/0.4966, allocations: 136.9 kB / 0.8289 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005201/0.4971, allocations: 358 kB / 0.8292 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4971, allocations: 0 / 0.8292 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.4973, allocations: 188 kB / 0.8294 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.4976, allocations: 19.78 kB / 0.8294 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.4982, allocations: 299 kB / 0.8297 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.4986, allocations: 0.7045 MB / 0.8304 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.732e-05/0.4986, allocations: 20.41 kB / 0.8304 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.4987, allocations: 13 kB / 0.8304 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.4987, allocations: 4 kB / 0.8304 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of Templates: time 0.00573/0.5044, allocations: 2.126 MB / 0.8325 GB, free: 10.98 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.126326811499894]