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.467/2.467, allocations: 287.5 MB / 302.5 MB, free: 8.254 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.001509/0.001509, allocations: 180 kB / 371 MB, free: 10.8 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.014/2.014, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001878/0.001878, allocations: 93.5 kB / 0.743 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004676, allocations: 10.94 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.901/1.114, allocations: 140 MB / 1.115 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/1.114, allocations: 83.22 kB / 1.115 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02072/1.135, allocations: 5.003 MB / 1.12 GB, free: 31.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.947e-06/1.135, allocations: 0 / 1.12 GB, free: 31.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.899e-05/1.135, allocations: 11.53 kB / 1.12 GB, free: 31.09 MB / 0.698 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.0007189/1.136, allocations: 0.5363 MB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.136, allocations: 11.7 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/1.136, allocations: 19.41 kB / 1.121 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/1.137, allocations: 225.5 kB / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/1.137, allocations: 15.69 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/1.137, allocations: 15.44 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/1.137, allocations: 112.8 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.137, allocations: 0 / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/1.137, allocations: 3.75 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/1.137, allocations: 3.969 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/1.137, allocations: 80.02 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/1.138, allocations: 430.4 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/1.139, allocations: 90.95 kB / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/1.139, allocations: 3.938 kB / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/1.139, allocations: 185.6 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.425e-06/1.139, allocations: 0 / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.001153/1.14, allocations: 0.5042 MB / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.14, allocations: 168.5 kB / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/1.14, allocations: 170.9 kB / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/1.14, allocations: 29.61 kB / 1.123 GB, free: 29.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/1.141, allocations: 108.2 kB / 1.123 GB, free: 29.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/1.141, allocations: 25.55 kB / 1.123 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/1.141, allocations: 3.562 kB / 1.123 GB, free: 29.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.141, allocations: 320.9 kB / 1.123 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/1.141, allocations: 56.53 kB / 1.123 GB, free: 28.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/1.141, allocations: 111.3 kB / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/1.142, allocations: 173.5 kB / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.142, allocations: 0 / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008076/1.142, allocations: 365.8 kB / 1.124 GB, free: 28.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.824e-05/1.143, allocations: 113.7 kB / 1.124 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.143, allocations: 3.953 kB / 1.124 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.143, allocations: 0 / 1.124 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/1.143, allocations: 29.11 kB / 1.124 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.143, allocations: 7.828 kB / 1.124 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/1.143, allocations: 27.55 kB / 1.124 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/1.143, allocations: 10.83 kB / 1.124 GB, free: 28.33 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002073/1.143, allocations: 193 kB / 1.124 GB, free: 28.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/1.143, allocations: 11.56 kB / 1.124 GB, free: 28.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/1.143, allocations: 19.09 kB / 1.124 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.143, allocations: 0 / 1.124 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/1.143, allocations: 3.875 kB / 1.124 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.143, allocations: 0 / 1.124 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/1.144, allocations: 0.5916 MB / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.144, allocations: 0 / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/1.145, allocations: 18.52 kB / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.145, allocations: 0 / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/1.145, allocations: 10.89 kB / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.145, allocations: 3.812 kB / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.145, allocations: 0 / 1.125 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/1.145, allocations: 417 kB / 1.125 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/1.146, allocations: 91.86 kB / 1.125 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/1.146, allocations: 11.88 kB / 1.125 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/1.146, allocations: 14.28 kB / 1.125 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/1.146, allocations: 3.875 kB / 1.125 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/1.146, allocations: 14.58 kB / 1.125 GB, free: 27.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001483/1.146, allocations: 130.2 kB / 1.125 GB, free: 27.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.146, allocations: 0 / 1.125 GB, free: 27.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004242/1.147, allocations: 37.75 kB / 1.125 GB, free: 27.36 MB / 0.698 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 (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.0003191/1.147, allocations: 140.3 kB / 1.126 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007861/1.148, allocations: 373.1 kB / 1.126 GB, free: 26.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.148, allocations: 0 / 1.126 GB, free: 26.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004968/1.148, allocations: 203.7 kB / 1.126 GB, free: 26.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/1.149, allocations: 13.53 kB / 1.126 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007708/1.149, allocations: 312.5 kB / 1.126 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/1.15, allocations: 0.7212 MB / 1.127 GB, free: 25.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001129/1.15, allocations: 18.67 kB / 1.127 GB, free: 25.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/1.15, allocations: 11.31 kB / 1.127 GB, free: 25.98 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.15, allocations: 3.812 kB / 1.127 GB, free: 25.98 MB / 0.698 GB Notification: Performance of Templates: time 0.008669/1.159, allocations: 1.899 MB / 1.129 GB, free: 25.71 MB / 0.698 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)