Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 165.1 kB / 24.96 MB, free: 8.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9654/0.9654, allocations: 177.1 MB / 205.4 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.882/1.882, allocations: 389.6 MB / 0.6362 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.776 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.463e-05, allocations: 2.312 kB / 0.776 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002158/0.002173, allocations: 1.734 MB / 0.7777 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.003013, allocations: 0.6698 MB / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.003082, allocations: 0 / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.003226, allocations: 24.5 kB / 0.7783 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.003414, allocations: 51.5 kB / 0.7784 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.003716, allocations: 124.3 kB / 0.7785 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.003938, allocations: 188.4 kB / 0.7787 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.004035, allocations: 26.2 kB / 0.7787 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.004251, allocations: 121.3 kB / 0.7788 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.00436, allocations: 67.84 kB / 0.7789 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.004389, allocations: 12 kB / 0.7789 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.00447, allocations: 33.7 kB / 0.7789 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.004531, allocations: 27.91 kB / 0.779 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.004587, allocations: 59.83 kB / 0.779 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.00477, allocations: 147.5 kB / 0.7791 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004772, allocations: 0 / 0.7791 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004773, allocations: 4.812 kB / 0.7792 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004776, allocations: 3.938 kB / 0.7792 GB, free: 2.125 MB / 0.7292 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.0004136/0.005189, allocations: 463.5 kB / 0.7796 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.005219, allocations: 14.09 kB / 0.7796 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.005328, allocations: 35.59 kB / 0.7796 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.005507, allocations: 173.5 kB / 0.7798 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.005519, allocations: 8.375 kB / 0.7798 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.005535, allocations: 16.38 kB / 0.7798 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.005678, allocations: 154.3 kB / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.005685, allocations: 2.938 kB / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.005694, allocations: 384 / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.005702, allocations: 7.938 kB / 0.78 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.005763, allocations: 87.31 kB / 0.7801 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.006065, allocations: 239 kB / 0.7803 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.006147, allocations: 109.9 kB / 0.7804 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.006201, allocations: 90.59 kB / 0.7805 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.006219, allocations: 4 kB / 0.7805 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.006342, allocations: 214.2 kB / 0.7807 GB, free: 364 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.006343, allocations: 0 / 0.7807 GB, free: 364 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0002348/0.006578, allocations: 319.7 kB / 0.781 GB, free: 0 / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.006646, allocations: 158.2 kB / 0.7812 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.00675, allocations: 177.7 kB / 0.7813 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.006766, allocations: 25.7 kB / 0.7814 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.006808, allocations: 104.3 kB / 0.7815 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.006828, allocations: 31.72 kB / 0.7815 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.006872, allocations: 41.69 kB / 0.7815 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003179/0.00719, allocations: 327.3 kB / 0.7818 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.007254, allocations: 134.7 kB / 0.782 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.007337, allocations: 185.6 kB / 0.7821 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.007471, allocations: 275.9 kB / 0.7824 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.007474, allocations: 4.5 kB / 0.7824 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001891/0.007663, allocations: 346.8 kB / 0.7827 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.00771, allocations: 127.5 kB / 0.7829 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007715, allocations: 0 / 0.7829 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.007729, allocations: 5.438 kB / 0.7829 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.007789, allocations: 19.92 kB / 0.7829 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.007793, allocations: 4 kB / 0.7829 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.00784, allocations: 19.94 kB / 0.7829 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.007851, allocations: 4.656 kB / 0.7829 GB, free: 13.76 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 (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 9.15e-05/0.007943, allocations: 197.9 kB / 0.7831 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.007964, allocations: 19.98 kB / 0.7831 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.007992, allocations: 17.41 kB / 0.7831 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007994, allocations: 0.875 kB / 0.7831 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.007998, allocations: 3.984 kB / 0.7831 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.008001, allocations: 0 / 0.7831 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.008244, allocations: 402 kB / 0.7835 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008246, allocations: 0.7812 kB / 0.7835 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.008273, allocations: 11.98 kB / 0.7835 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.008275, allocations: 4.875 kB / 0.7835 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.008286, allocations: 8 kB / 0.7835 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.008286, allocations: 4.531 kB / 0.7836 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008287, allocations: 0 / 0.7836 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.00845, allocations: 338.9 kB / 0.7839 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.008461, allocations: 11.91 kB / 0.7839 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.008482, allocations: 9.156 kB / 0.7839 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.008529, allocations: 8 kB / 0.7839 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.008564, allocations: 7.984 kB / 0.7839 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.008573, allocations: 4.531 kB / 0.7839 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.008612, allocations: 51.28 kB / 0.784 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008612, allocations: 1.125 kB / 0.784 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001647/0.008777, allocations: 35.94 kB / 0.784 GB, free: 12.54 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) * 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.0001528/0.00893, allocations: 113.7 kB / 0.7841 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.009173, allocations: 477.5 kB / 0.7846 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.009176, allocations: 1.469 kB / 0.7846 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.009281, allocations: 223 kB / 0.7848 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.009426, allocations: 27.98 kB / 0.7848 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.009911, allocations: 343.3 kB / 0.7851 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.009948, allocations: 64.62 kB / 0.7852 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.009979, allocations: 12.48 kB / 0.7852 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.0101, allocations: 92.59 kB / 0.7853 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.0101, allocations: 0 / 0.7853 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.003839/0.01394, allocations: 2.325 MB / 0.7876 GB, free: 8.879 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7353202579542994]