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.0009079/0.0009079, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.0009618/0.0009618, allocations: 165 kB / 24.25 MB, free: 208 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.9817/0.9817, allocations: 177.1 MB / 204.7 MB, free: 5.074 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.863/1.863, allocations: 389.6 MB / 0.6355 GB, free: 12.29 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.333e-06/1.333e-06, allocations: 0 / 0.7753 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.47e-05, allocations: 4.844 kB / 0.7753 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.00206/0.002075, allocations: 1.732 MB / 0.777 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007383/0.002813, allocations: 0.6687 MB / 0.7777 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.002885, allocations: 0.6562 kB / 0.7777 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.003037, allocations: 20.69 kB / 0.7777 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.003203, allocations: 46.66 kB / 0.7778 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.00346, allocations: 121.6 kB / 0.7779 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.003735, allocations: 189.9 kB / 0.7781 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.003816, allocations: 26.7 kB / 0.7781 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.004003, allocations: 117.1 kB / 0.7782 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.004093, allocations: 71.84 kB / 0.7783 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.004118, allocations: 12 kB / 0.7783 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.00419, allocations: 36.61 kB / 0.7783 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.004252, allocations: 33.25 kB / 0.7783 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.004302, allocations: 51.91 kB / 0.7784 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004462, allocations: 155.4 kB / 0.7785 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004464, allocations: 0 / 0.7785 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004464, allocations: 0.5312 kB / 0.7785 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.004467, allocations: 0 / 0.7785 GB, free: 2.066 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.0003997/0.004867, allocations: 467.9 kB / 0.779 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.004896, allocations: 9.344 kB / 0.779 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.005009, allocations: 34.5 kB / 0.779 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.005183, allocations: 177.5 kB / 0.7792 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.005196, allocations: 8.875 kB / 0.7792 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.005213, allocations: 13.12 kB / 0.7792 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.005355, allocations: 154.3 kB / 0.7794 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.005363, allocations: 5.781 kB / 0.7794 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.005372, allocations: 384 / 0.7794 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.005377, allocations: 3.938 kB / 0.7794 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.005439, allocations: 91.31 kB / 0.7795 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.005774, allocations: 240.9 kB / 0.7797 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.924e-05/0.005863, allocations: 110 kB / 0.7798 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.005918, allocations: 92.23 kB / 0.7799 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.005932, allocations: 1.406 kB / 0.7799 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.006058, allocations: 214.2 kB / 0.7801 GB, free: 300 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.00606, allocations: 0 / 0.7801 GB, free: 300 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0002519/0.006312, allocations: 327.7 kB / 0.7804 GB, free: 15.93 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.006371, allocations: 158.8 kB / 0.7806 GB, free: 15.74 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.006472, allocations: 177.3 kB / 0.7807 GB, free: 15.55 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.006485, allocations: 25.7 kB / 0.7807 GB, free: 15.52 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.006526, allocations: 108.3 kB / 0.7808 GB, free: 15.41 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.006547, allocations: 19.81 kB / 0.7809 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.006601, allocations: 42.34 kB / 0.7809 GB, free: 15.34 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.006673, allocations: 330.8 kB / 0.7812 GB, free: 15.01 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.006897, allocations: 134.8 kB / 0.7814 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.00698, allocations: 192.5 kB / 0.7815 GB, free: 14.62 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.007112, allocations: 272.4 kB / 0.7818 GB, free: 14.29 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007114, allocations: 7.938 kB / 0.7818 GB, free: 14.28 MB / 0.7449 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001867/0.007301, allocations: 351.7 kB / 0.7821 GB, free: 13.88 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.007348, allocations: 122.7 kB / 0.7823 GB, free: 13.74 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.007353, allocations: 4 kB / 0.7823 GB, free: 13.73 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.007361, allocations: 3.938 kB / 0.7823 GB, free: 13.73 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.007425, allocations: 27.17 kB / 0.7823 GB, free: 13.71 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.007427, allocations: 0 / 0.7823 GB, free: 13.71 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.007473, allocations: 19.89 kB / 0.7823 GB, free: 13.69 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.007486, allocations: 8 kB / 0.7823 GB, free: 13.68 MB / 0.7449 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 8.853e-05/0.007574, allocations: 192.8 kB / 0.7825 GB, free: 13.47 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.007596, allocations: 15.98 kB / 0.7825 GB, free: 13.45 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.007622, allocations: 21.39 kB / 0.7825 GB, free: 13.43 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007624, allocations: 3.031 kB / 0.7825 GB, free: 13.43 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.007627, allocations: 8 kB / 0.7825 GB, free: 13.42 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.007631, allocations: 0 / 0.7825 GB, free: 13.42 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.007876, allocations: 405.4 kB / 0.7829 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.007877, allocations: 0 / 0.7829 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.007904, allocations: 8 kB / 0.7829 GB, free: 12.97 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.007908, allocations: 7.938 kB / 0.7829 GB, free: 12.96 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.007921, allocations: 11.97 kB / 0.783 GB, free: 12.95 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007922, allocations: 5.5 kB / 0.783 GB, free: 12.95 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007923, allocations: 0 / 0.783 GB, free: 12.95 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.008089, allocations: 334.2 kB / 0.7833 GB, free: 12.58 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.0081, allocations: 11.91 kB / 0.7833 GB, free: 12.57 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.008119, allocations: 9.062 kB / 0.7833 GB, free: 12.56 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/0.008168, allocations: 7.984 kB / 0.7833 GB, free: 12.55 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.008198, allocations: 8 kB / 0.7833 GB, free: 12.54 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.00821, allocations: 8.984 kB / 0.7833 GB, free: 12.54 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.00824, allocations: 51.27 kB / 0.7834 GB, free: 12.48 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.008241, allocations: 0 / 0.7834 GB, free: 12.48 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001586/0.008399, allocations: 33.12 kB / 0.7834 GB, free: 12.45 MB / 0.7449 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.0001455/0.008545, allocations: 118.8 kB / 0.7835 GB, free: 12.34 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.008785, allocations: 481.5 kB / 0.784 GB, free: 11.78 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.008788, allocations: 1.375 kB / 0.784 GB, free: 11.78 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.008888, allocations: 223 kB / 0.7842 GB, free: 11.52 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.00903, allocations: 23.98 kB / 0.7842 GB, free: 11.5 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.009475, allocations: 339.1 kB / 0.7845 GB, free: 11.13 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.009509, allocations: 72.08 kB / 0.7846 GB, free: 11.04 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.009536, allocations: 9.547 kB / 0.7846 GB, free: 11.04 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.009645, allocations: 95.33 kB / 0.7847 GB, free: 10.94 MB / 0.7449 GB Notification: Performance of SimCode: time 3.81e-07/0.009645, allocations: 0 / 0.7847 GB, free: 10.94 MB / 0.7449 GB Notification: Performance of Templates: time 0.003646/0.01329, allocations: 2.325 MB / 0.787 GB, free: 8.785 MB / 0.7449 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.935629377141595]