Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 289.7 MB / 302.2 MB, free: 2.117 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.001478/0.001478, allocations: 182.9 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000967/0.0009669, allocations: 91.42 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.706e-05/3.709e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3194, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.354, allocations: 141 MB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/1.354, allocations: 80.69 kB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01177/1.366, allocations: 4.986 MB / 1.122 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/1.366, allocations: 3.281 kB / 1.122 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.948e-06/1.366, allocations: 0 / 1.122 GB, free: 40.2 MB / 0.7448 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.0004573/1.366, allocations: 0.5111 MB / 1.123 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.366, allocations: 8.031 kB / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/1.366, allocations: 18.25 kB / 1.123 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/1.367, allocations: 231 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/1.367, allocations: 19.2 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/1.367, allocations: 11.06 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/1.367, allocations: 102.3 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/1.367, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/1.367, allocations: 4 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.367, allocations: 3.984 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/1.367, allocations: 52.02 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/1.368, allocations: 423.9 kB / 1.124 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/1.368, allocations: 77.84 kB / 1.124 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.032e-05/1.368, allocations: 66.03 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/1.368, allocations: 12.17 kB / 1.124 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/1.368, allocations: 171.7 kB / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/1.368, allocations: 0 / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0004215/1.369, allocations: 269.9 kB / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/1.369, allocations: 169.3 kB / 1.125 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.369, allocations: 163.6 kB / 1.125 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/1.369, allocations: 29.27 kB / 1.125 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/1.369, allocations: 105 kB / 1.125 GB, free: 37.97 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/1.369, allocations: 34.28 kB / 1.125 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/1.369, allocations: 7.312 kB / 1.125 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/1.369, allocations: 325.7 kB / 1.125 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/1.369, allocations: 45.81 kB / 1.125 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/1.369, allocations: 89.23 kB / 1.125 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/1.369, allocations: 170.1 kB / 1.125 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.369, allocations: 4 kB / 1.125 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003385/1.37, allocations: 324.8 kB / 1.126 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/1.37, allocations: 114.9 kB / 1.126 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.37, allocations: 4.625 kB / 1.126 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/1.37, allocations: 4 kB / 1.126 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.37, allocations: 22.59 kB / 1.126 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/1.37, allocations: 4 kB / 1.126 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/1.37, allocations: 19.52 kB / 1.126 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/1.37, allocations: 19.95 kB / 1.126 GB, free: 36.85 MB / 0.7448 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 8.346e-05/1.37, allocations: 176.7 kB / 1.126 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/1.37, allocations: 16.94 kB / 1.126 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/1.37, allocations: 19.52 kB / 1.126 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.37, allocations: 4 kB / 1.126 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.37, allocations: 0 / 1.126 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.37, allocations: 0 / 1.126 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/1.371, allocations: 0.5678 MB / 1.127 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.371, allocations: 0 / 1.127 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/1.371, allocations: 16.12 kB / 1.127 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.371, allocations: 0 / 1.127 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/1.371, allocations: 7.375 kB / 1.127 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.371, allocations: 4.5 kB / 1.127 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.371, allocations: 0 / 1.127 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/1.371, allocations: 388.4 kB / 1.127 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/1.371, allocations: 92.92 kB / 1.127 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/1.371, allocations: 11.41 kB / 1.127 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/1.371, allocations: 8.5 kB / 1.127 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/1.371, allocations: 7.422 kB / 1.127 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.371, allocations: 7.375 kB / 1.127 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.221e-05/1.372, allocations: 129.4 kB / 1.127 GB, free: 35.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.372, allocations: 5.688 kB / 1.127 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002483/1.372, allocations: 35.33 kB / 1.127 GB, free: 35.49 MB / 0.7448 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.000234/1.372, allocations: 133.9 kB / 1.128 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002995/1.372, allocations: 340.8 kB / 1.128 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.372, allocations: 0.5 kB / 1.128 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/1.372, allocations: 199.6 kB / 1.128 GB, free: 34.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/1.373, allocations: 20.33 kB / 1.128 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/1.373, allocations: 204.4 kB / 1.128 GB, free: 34.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/1.373, allocations: 0.7094 MB / 1.129 GB, free: 33.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.789e-05/1.373, allocations: 28.42 kB / 1.129 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/1.373, allocations: 15.44 kB / 1.129 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of SimCode: time 4.4e-07/1.373, allocations: 0 / 1.129 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.004253/1.378, allocations: 1.893 MB / 1.131 GB, free: 32.82 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)