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.001277/0.001277, allocations: 84.8 kB / 21.62 MB, free: 2.844 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.001467/0.001467, allocations: 165.6 kB / 25.04 MB, free: 8.781 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.9127/0.9127, allocations: 177.1 MB / 205.5 MB, free: 5.48 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.962/1.962, allocations: 389.6 MB / 0.6363 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.252e-06/1.252e-06, allocations: 0.9844 kB / 0.7761 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.648e-05, allocations: 5.469 kB / 0.7761 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002449/0.002465, allocations: 1.715 MB / 0.7778 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.003407, allocations: 0.6709 MB / 0.7785 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.743e-05/0.003485, allocations: 0 / 0.7785 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.003663, allocations: 27.78 kB / 0.7785 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.003861, allocations: 46.12 kB / 0.7785 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.004137, allocations: 119.7 kB / 0.7786 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.004356, allocations: 197 kB / 0.7788 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.984e-05/0.004446, allocations: 18.27 kB / 0.7789 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.004628, allocations: 111.8 kB / 0.779 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/0.004719, allocations: 75.78 kB / 0.779 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.004744, allocations: 12 kB / 0.779 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.004814, allocations: 40.59 kB / 0.7791 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.004873, allocations: 31.89 kB / 0.7791 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.004922, allocations: 48.56 kB / 0.7792 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.005091, allocations: 156 kB / 0.7793 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005093, allocations: 0 / 0.7793 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005094, allocations: 0.9062 kB / 0.7793 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.005097, allocations: 0 / 0.7793 GB, free: 2.102 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.0004126/0.005509, allocations: 472.3 kB / 0.7798 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.005538, allocations: 13.28 kB / 0.7798 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.00565, allocations: 32.92 kB / 0.7798 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.00583, allocations: 171.7 kB / 0.78 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.005843, allocations: 8.375 kB / 0.78 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.005862, allocations: 12.38 kB / 0.78 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.006024, allocations: 154.3 kB / 0.7801 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.006032, allocations: 0.7188 kB / 0.7801 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.006043, allocations: 9.125 kB / 0.7801 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.006052, allocations: 11.94 kB / 0.7802 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.716e-05/0.006109, allocations: 81.09 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.006398, allocations: 239 kB / 0.7805 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.946e-05/0.006487, allocations: 109.9 kB / 0.7806 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.006543, allocations: 96.72 kB / 0.7807 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.006559, allocations: 0.6875 kB / 0.7807 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.006684, allocations: 214.2 kB / 0.7809 GB, free: 332 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.006685, allocations: 1.594 kB / 0.7809 GB, free: 332 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003452/0.007031, allocations: 323.8 kB / 0.7812 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.007109, allocations: 162.2 kB / 0.7813 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.007236, allocations: 175.9 kB / 0.7815 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.007265, allocations: 30.2 kB / 0.7815 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.007305, allocations: 101.6 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.00733, allocations: 27.78 kB / 0.7816 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.007384, allocations: 41.69 kB / 0.7817 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.007462, allocations: 326.8 kB / 0.782 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.007549, allocations: 138.9 kB / 0.7821 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.007637, allocations: 185.6 kB / 0.7823 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.00778, allocations: 279.9 kB / 0.7826 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.007783, allocations: 1.125 kB / 0.7826 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002237/0.008007, allocations: 349.8 kB / 0.7829 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.008065, allocations: 123.2 kB / 0.783 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.008071, allocations: 7.938 kB / 0.783 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.008083, allocations: 5.625 kB / 0.783 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.00817, allocations: 15.98 kB / 0.7831 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.008173, allocations: 0 / 0.7831 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.008223, allocations: 15.89 kB / 0.7831 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.008238, allocations: 13.16 kB / 0.7831 GB, free: 13.71 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.000103/0.008341, allocations: 192.8 kB / 0.7833 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.008365, allocations: 21.17 kB / 0.7833 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.008395, allocations: 21.39 kB / 0.7833 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.008398, allocations: 4 kB / 0.7833 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.0084, allocations: 1.156 kB / 0.7833 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.008402, allocations: 0 / 0.7833 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.00868, allocations: 409.6 kB / 0.7837 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.008683, allocations: 5.375 kB / 0.7837 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.008725, allocations: 4 kB / 0.7837 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008728, allocations: 7.938 kB / 0.7837 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.008741, allocations: 9.484 kB / 0.7837 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008742, allocations: 0 / 0.7837 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008743, allocations: 0 / 0.7837 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.008928, allocations: 338.2 kB / 0.784 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.008942, allocations: 11.91 kB / 0.7841 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.008966, allocations: 16.58 kB / 0.7841 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.009023, allocations: 9.156 kB / 0.7841 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.009059, allocations: 11.98 kB / 0.7841 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-06/0.009068, allocations: 4 kB / 0.7841 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.009105, allocations: 43.91 kB / 0.7841 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009105, allocations: 4 kB / 0.7841 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001656/0.009271, allocations: 32.53 kB / 0.7842 GB, free: 12.48 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.0002036/0.009475, allocations: 123.1 kB / 0.7843 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.009753, allocations: 480.5 kB / 0.7848 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.009757, allocations: 3.031 kB / 0.7848 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.009862, allocations: 223.2 kB / 0.785 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.01003, allocations: 27.92 kB / 0.785 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.01056, allocations: 333.8 kB / 0.7853 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.01061, allocations: 67.34 kB / 0.7854 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.01064, allocations: 13.97 kB / 0.7854 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.01076, allocations: 95.33 kB / 0.7855 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of SimCode: time 9.11e-07/0.01076, allocations: 1.125 kB / 0.7855 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of Templates: time 0.004103/0.01486, allocations: 2.329 MB / 0.7878 GB, free: 8.809 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: 5.027960651554167]