Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.521/2.521, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 184.9 kB / 360.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001527/0.001526, allocations: 93.66 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.605e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8389, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2378/1.077, allocations: 139.2 MB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.077, allocations: 77.5 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02279/1.1, allocations: 4.961 MB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/1.1, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.392e-05/1.1, allocations: 0.7188 kB / 1.104 GB, free: 12.23 MB / 0.7136 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.0007762/1.101, allocations: 0.5169 MB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.101, allocations: 8.656 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.65e-05/1.101, allocations: 21.02 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/1.101, allocations: 239.7 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/1.101, allocations: 8.594 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/1.102, allocations: 12 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002103/1.102, allocations: 44.52 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/1.102, allocations: 90.27 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.102, allocations: 1 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/1.102, allocations: 4 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.102, allocations: 7.984 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009301/1.103, allocations: 398.8 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/1.103, allocations: 70.55 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/1.103, allocations: 60.84 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/1.104, allocations: 4 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/1.104, allocations: 171.2 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.705e-06/1.104, allocations: 2.781 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006792/1.105, allocations: 204.8 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.105, allocations: 158.2 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/1.105, allocations: 155 kB / 1.106 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/1.105, allocations: 33.64 kB / 1.106 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.105, allocations: 108.4 kB / 1.107 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/1.105, allocations: 31.64 kB / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/1.105, allocations: 0 / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.105, allocations: 326.8 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/1.106, allocations: 39.98 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/1.106, allocations: 87.05 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/1.106, allocations: 47.97 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.106, allocations: 4 kB / 1.107 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005792/1.106, allocations: 201.5 kB / 1.107 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.107, allocations: 118.8 kB / 1.107 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.107, allocations: 3.984 kB / 1.107 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.107, allocations: 4 kB / 1.107 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/1.107, allocations: 19.98 kB / 1.107 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.107, allocations: 0 / 1.107 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/1.107, allocations: 15 kB / 1.107 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/1.107, allocations: 15.94 kB / 1.107 GB, free: 8.762 MB / 0.7136 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 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/1.107, allocations: 184.1 kB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/1.107, allocations: 15.81 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/1.107, allocations: 21.83 kB / 1.108 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.107, allocations: 0 / 1.108 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.107, allocations: 4 kB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.107, allocations: 0 / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008755/1.108, allocations: 478.8 kB / 1.108 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.108, allocations: 0 / 1.108 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/1.108, allocations: 16 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/1.109, allocations: 3.984 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/1.109, allocations: 4 kB / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.109, allocations: 0 / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.109, allocations: 0 / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/1.109, allocations: 316.9 kB / 1.108 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/1.109, allocations: 92.92 kB / 1.109 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/1.109, allocations: 8 kB / 1.109 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/1.11, allocations: 11.98 kB / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/1.11, allocations: 4 kB / 1.109 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/1.11, allocations: 11.98 kB / 1.109 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000135/1.11, allocations: 120.3 kB / 1.109 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.11, allocations: 0 / 1.109 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000425/1.11, allocations: 36 kB / 1.109 GB, free: 7.367 MB / 0.7136 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003514/1.111, allocations: 137.2 kB / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005467/1.111, allocations: 329.5 kB / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.111, allocations: 0 / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/1.112, allocations: 183.3 kB / 1.109 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/1.112, allocations: 27.02 kB / 1.109 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/1.113, allocations: 198.2 kB / 1.11 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/1.113, allocations: 0.7235 MB / 1.11 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001331/1.113, allocations: 16.55 kB / 1.11 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/1.113, allocations: 15.42 kB / 1.11 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/1.113, allocations: 4 kB / 1.11 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of Templates: time 0.007005/1.12, allocations: 1.814 MB / 1.112 GB, free: 3.895 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)