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.001349/0.001349, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001425/0.001425, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.9559/0.9559, allocations: 177.1 MB / 204.6 MB, free: 5.328 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.852/1.852, allocations: 389.6 MB / 0.6354 GB, free: 12.26 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.372e-06/1.372e-06, allocations: 0 / 0.7751 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.099e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002211/0.002232, allocations: 1.681 MB / 0.7768 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.003146, allocations: 0.6739 MB / 0.7774 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.00323, allocations: 3.938 kB / 0.7774 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.003388, allocations: 27.78 kB / 0.7775 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.003577, allocations: 43.41 kB / 0.7775 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.003919, allocations: 124.7 kB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.004133, allocations: 191.6 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.004225, allocations: 30.19 kB / 0.7778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.004423, allocations: 119.7 kB / 0.778 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.004516, allocations: 67.84 kB / 0.778 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.004541, allocations: 12 kB / 0.778 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.004611, allocations: 31.98 kB / 0.7781 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.004681, allocations: 27.91 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.004743, allocations: 59.83 kB / 0.7781 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.004935, allocations: 150.5 kB / 0.7783 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.004938, allocations: 4 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004939, allocations: 0 / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.004942, allocations: 0 / 0.7783 GB, free: 2.207 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.0004913/0.005434, allocations: 471 kB / 0.7787 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.005467, allocations: 13.34 kB / 0.7788 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.005591, allocations: 24.92 kB / 0.7788 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.005783, allocations: 173 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.005797, allocations: 8.375 kB / 0.779 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.00582, allocations: 16.38 kB / 0.779 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.005977, allocations: 158.2 kB / 0.7791 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.005985, allocations: 192 / 0.7791 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.005995, allocations: 384 / 0.7791 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.006002, allocations: 7.938 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/0.006061, allocations: 86.97 kB / 0.7792 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.00639, allocations: 238.9 kB / 0.7794 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.785e-05/0.006488, allocations: 105.9 kB / 0.7795 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.175e-05/0.00655, allocations: 92.23 kB / 0.7796 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.006567, allocations: 4 kB / 0.7796 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.006699, allocations: 214.3 kB / 0.7798 GB, free: 452 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.0067, allocations: 0 / 0.7798 GB, free: 452 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.000248/0.006948, allocations: 319.7 kB / 0.7801 GB, free: 88 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.007023, allocations: 168 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.007126, allocations: 171.9 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.007142, allocations: 29.7 kB / 0.7805 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.007181, allocations: 100.3 kB / 0.7806 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.007206, allocations: 32.64 kB / 0.7806 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.007252, allocations: 37.69 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.007324, allocations: 326.8 kB / 0.781 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.239e-05/0.007397, allocations: 138.2 kB / 0.7811 GB, free: 15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.593e-05/0.007482, allocations: 185.5 kB / 0.7813 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.00762, allocations: 265.4 kB / 0.7815 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007622, allocations: 4 kB / 0.7815 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002112/0.007834, allocations: 355.5 kB / 0.7819 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.00789, allocations: 122.7 kB / 0.782 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007895, allocations: 0 / 0.782 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.007907, allocations: 4 kB / 0.782 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.007978, allocations: 17.02 kB / 0.782 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.007984, allocations: 11.94 kB / 0.782 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.008037, allocations: 15.95 kB / 0.782 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.00805, allocations: 8.641 kB / 0.782 GB, free: 13.84 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 0.0001088/0.008159, allocations: 194.3 kB / 0.7822 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.008181, allocations: 15.98 kB / 0.7822 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.008211, allocations: 21.39 kB / 0.7823 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.008214, allocations: 4.5 kB / 0.7823 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.008216, allocations: 0.5312 kB / 0.7823 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008219, allocations: 0.9375 kB / 0.7823 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.008497, allocations: 405.5 kB / 0.7827 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.008499, allocations: 0 / 0.7827 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.008529, allocations: 12.44 kB / 0.7827 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.008533, allocations: 4.812 kB / 0.7827 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.008544, allocations: 11.98 kB / 0.7827 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008546, allocations: 1.781 kB / 0.7827 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008546, allocations: 0 / 0.7827 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.008736, allocations: 334.2 kB / 0.783 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.008748, allocations: 11.91 kB / 0.783 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.008771, allocations: 7.938 kB / 0.783 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.745e-05/0.008819, allocations: 8.672 kB / 0.783 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.008851, allocations: 9.375 kB / 0.783 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.008861, allocations: 11.92 kB / 0.7831 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.008898, allocations: 55.22 kB / 0.7831 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008898, allocations: 0 / 0.7831 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001792/0.009077, allocations: 36.81 kB / 0.7831 GB, free: 12.61 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.0001634/0.009241, allocations: 115.8 kB / 0.7833 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.009502, allocations: 477.8 kB / 0.7837 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.009505, allocations: 0 / 0.7837 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.009607, allocations: 223 kB / 0.7839 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.009756, allocations: 20.89 kB / 0.7839 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.01024, allocations: 335.1 kB / 0.7843 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.01028, allocations: 68.27 kB / 0.7843 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.01031, allocations: 8.5 kB / 0.7843 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.01043, allocations: 96.17 kB / 0.7844 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01043, allocations: 3.938 kB / 0.7844 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.003767/0.01419, allocations: 2.327 MB / 0.7867 GB, free: 8.965 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.981167390011251]