Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.533/2.533, allocations: 287.5 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001298, allocations: 186.7 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009025/0.0009024, allocations: 92.22 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 18.84 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1922, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8529/1.045, allocations: 140 MB / 1.116 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.046, allocations: 89.27 kB / 1.116 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01979/1.065, allocations: 5.041 MB / 1.121 GB, free: 31.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/1.065, allocations: 4 kB / 1.121 GB, free: 31.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.539e-05/1.065, allocations: 3.938 kB / 1.121 GB, free: 31.21 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.0006811/1.066, allocations: 0.5316 MB / 1.122 GB, free: 30.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.066, allocations: 10.67 kB / 1.122 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/1.066, allocations: 20.25 kB / 1.122 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/1.067, allocations: 230.1 kB / 1.122 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/1.067, allocations: 11.53 kB / 1.122 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/1.067, allocations: 15.72 kB / 1.122 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/1.067, allocations: 120 kB / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.067, allocations: 3.938 kB / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/1.067, allocations: 0 / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.067, allocations: 3.812 kB / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/1.067, allocations: 83.34 kB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/1.068, allocations: 415.5 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/1.068, allocations: 96.75 kB / 1.123 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/1.069, allocations: 78.91 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/1.069, allocations: 7.734 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003548/1.069, allocations: 182.4 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.215e-06/1.069, allocations: 0 / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.001041/1.07, allocations: 366.5 kB / 1.123 GB, free: 29.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.07, allocations: 171.9 kB / 1.123 GB, free: 29.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/1.071, allocations: 172.4 kB / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/1.071, allocations: 29.48 kB / 1.123 GB, free: 29.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/1.071, allocations: 112.9 kB / 1.124 GB, free: 29.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/1.071, allocations: 21.31 kB / 1.124 GB, free: 29.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/1.071, allocations: 7.094 kB / 1.124 GB, free: 29.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.071, allocations: 328.5 kB / 1.124 GB, free: 29.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/1.071, allocations: 57.02 kB / 1.124 GB, free: 29.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/1.071, allocations: 109 kB / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/1.072, allocations: 323.7 kB / 1.124 GB, free: 28.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.072, allocations: 0 / 1.124 GB, free: 28.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007654/1.073, allocations: 350.9 kB / 1.125 GB, free: 28.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.225e-05/1.073, allocations: 121 kB / 1.125 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.073, allocations: 0 / 1.125 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.073, allocations: 6.844 kB / 1.125 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/1.073, allocations: 26.27 kB / 1.125 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.073, allocations: 0 / 1.125 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/1.073, allocations: 27.53 kB / 1.125 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/1.073, allocations: 10.97 kB / 1.125 GB, free: 28.49 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.0002007/1.073, allocations: 204.1 kB / 1.125 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/1.073, allocations: 19.5 kB / 1.125 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/1.074, allocations: 11 kB / 1.125 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/1.074, allocations: 3.844 kB / 1.125 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.074, allocations: 0 / 1.125 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.074, allocations: 0 / 1.125 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/1.075, allocations: 0.6046 MB / 1.126 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.075, allocations: 0 / 1.126 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/1.075, allocations: 13.69 kB / 1.126 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.075, allocations: 0 / 1.126 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/1.075, allocations: 13.91 kB / 1.126 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.075, allocations: 0 / 1.126 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.075, allocations: 0 / 1.126 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007778/1.076, allocations: 412.2 kB / 1.126 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/1.076, allocations: 94.81 kB / 1.126 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/1.076, allocations: 3.812 kB / 1.126 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/1.076, allocations: 14.56 kB / 1.126 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/1.076, allocations: 6.875 kB / 1.126 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/1.076, allocations: 10.48 kB / 1.126 GB, free: 27.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001293/1.076, allocations: 134.6 kB / 1.126 GB, free: 27.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.076, allocations: 0 / 1.126 GB, free: 27.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004069/1.077, allocations: 38.12 kB / 1.126 GB, free: 27.52 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.000284/1.077, allocations: 134 kB / 1.127 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006931/1.078, allocations: 368.1 kB / 1.127 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.078, allocations: 64 / 1.127 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/1.078, allocations: 212.7 kB / 1.127 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/1.078, allocations: 21.47 kB / 1.127 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/1.079, allocations: 322.7 kB / 1.127 GB, free: 26.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/1.079, allocations: 0.7065 MB / 1.128 GB, free: 26.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000101/1.08, allocations: 21.47 kB / 1.128 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/1.08, allocations: 14.11 kB / 1.128 GB, free: 26.14 MB / 0.698 GB Notification: Performance of SimCode: time 7.21e-07/1.08, allocations: 0 / 1.128 GB, free: 26.14 MB / 0.698 GB Notification: Performance of Templates: time 0.006307/1.086, allocations: 1.92 MB / 1.13 GB, free: 25.87 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)