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.0009171/0.0009171, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.0008869/0.0008869, allocations: 166.3 kB / 25.18 MB, free: 8.328 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.9352/0.9352, allocations: 177.2 MB / 205.6 MB, free: 4.371 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.938/1.938, allocations: 389.6 MB / 0.6364 GB, free: 13.25 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.623e-06/1.623e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.478e-05, allocations: 5.688 kB / 0.7756 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002041/0.002056, allocations: 1.72 MB / 0.7772 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007867/0.002842, allocations: 0.6619 MB / 0.7779 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.002911, allocations: 4 kB / 0.7779 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.00305, allocations: 23.73 kB / 0.7779 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.003208, allocations: 35.83 kB / 0.778 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.003467, allocations: 123.6 kB / 0.7781 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.00368, allocations: 195.4 kB / 0.7783 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.003765, allocations: 26.27 kB / 0.7783 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.003945, allocations: 119.8 kB / 0.7784 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.781e-05/0.004033, allocations: 67.84 kB / 0.7785 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.00406, allocations: 12 kB / 0.7785 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.004134, allocations: 43.91 kB / 0.7785 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.004194, allocations: 23.92 kB / 0.7785 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.00425, allocations: 59.83 kB / 0.7786 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.004422, allocations: 147.6 kB / 0.7787 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004424, allocations: 0 / 0.7787 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004424, allocations: 0 / 0.7787 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.004427, allocations: 0 / 0.7787 GB, free: 11.26 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.0004194/0.004847, allocations: 474.9 kB / 0.7792 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.004876, allocations: 8.031 kB / 0.7792 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.004993, allocations: 32.91 kB / 0.7792 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.005172, allocations: 173.5 kB / 0.7794 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.005185, allocations: 16.31 kB / 0.7794 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.005204, allocations: 16.38 kB / 0.7794 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.005353, allocations: 158.3 kB / 0.7796 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.00536, allocations: 192 / 0.7796 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.005369, allocations: 8.375 kB / 0.7796 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.005375, allocations: 3.938 kB / 0.7796 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/0.005434, allocations: 83.38 kB / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.005745, allocations: 246.9 kB / 0.7799 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.005831, allocations: 102 kB / 0.78 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.005888, allocations: 92.28 kB / 0.7801 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.005905, allocations: 4 kB / 0.7801 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.006031, allocations: 214.2 kB / 0.7803 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.384e-06/0.006033, allocations: 3.984 kB / 0.7803 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002444/0.006277, allocations: 331.7 kB / 0.7806 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.006337, allocations: 162.2 kB / 0.7808 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.006443, allocations: 163.5 kB / 0.7809 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.00646, allocations: 33.69 kB / 0.781 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.006501, allocations: 104.3 kB / 0.7811 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.006524, allocations: 23.78 kB / 0.7811 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.006569, allocations: 41.69 kB / 0.7811 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.006642, allocations: 326.8 kB / 0.7814 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.006709, allocations: 137.6 kB / 0.7816 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.425e-05/0.006794, allocations: 185.6 kB / 0.7817 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.006927, allocations: 277.4 kB / 0.782 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006929, allocations: 0 / 0.782 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001946/0.007124, allocations: 360.8 kB / 0.7823 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.007173, allocations: 122.7 kB / 0.7825 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.007177, allocations: 0 / 0.7825 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.007186, allocations: 4 kB / 0.7825 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.007247, allocations: 19.92 kB / 0.7825 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.007252, allocations: 4 kB / 0.7825 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.007298, allocations: 19.89 kB / 0.7825 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.007312, allocations: 11.98 kB / 0.7825 GB, free: 6.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.0001013/0.007414, allocations: 184.2 kB / 0.7827 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.007434, allocations: 27.92 kB / 0.7827 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.007459, allocations: 17.41 kB / 0.7827 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007461, allocations: 0 / 0.7827 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.007463, allocations: 0 / 0.7827 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007466, allocations: 0 / 0.7827 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.00771, allocations: 401.5 kB / 0.7831 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007711, allocations: 0 / 0.7831 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.00774, allocations: 15.92 kB / 0.7831 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.007745, allocations: 3.938 kB / 0.7831 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.007757, allocations: 11.98 kB / 0.7832 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.007757, allocations: 4 kB / 0.7832 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007759, allocations: 0 / 0.7832 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.007931, allocations: 342.5 kB / 0.7835 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.007942, allocations: 23.72 kB / 0.7835 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.007962, allocations: 7.938 kB / 0.7835 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.673e-05/0.008009, allocations: 8 kB / 0.7835 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.008041, allocations: 7.984 kB / 0.7835 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.00805, allocations: 4 kB / 0.7835 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.008087, allocations: 54.7 kB / 0.7836 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008087, allocations: 0 / 0.7836 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001532/0.00824, allocations: 32 kB / 0.7836 GB, free: 5.609 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.0001575/0.008398, allocations: 104.1 kB / 0.7837 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.008639, allocations: 484.7 kB / 0.7842 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.008644, allocations: 0.5 kB / 0.7842 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.00874, allocations: 223 kB / 0.7844 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.008887, allocations: 27.92 kB / 0.7844 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.009378, allocations: 367.3 kB / 0.7848 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.057e-05/0.009439, allocations: 93.3 kB / 0.7849 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.009551, allocations: 107.3 kB / 0.785 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.009552, allocations: 0 / 0.785 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.002523/0.01207, allocations: 2.219 MB / 0.7871 GB, free: 1.82 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 > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.709395660087466]