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.001142/0.001142, 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.001297/0.001297, allocations: 165 kB / 24.17 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 1.005/1.005, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.977/1.977, allocations: 389.6 MB / 0.6354 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.463e-06/1.463e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.097e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.004017/0.004048, allocations: 1.725 MB / 0.7769 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.005441, allocations: 0.6722 MB / 0.7775 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.58e-05/0.005537, allocations: 7.406 kB / 0.7775 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.005723, allocations: 23.73 kB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.005983, allocations: 42.11 kB / 0.7776 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.006286, allocations: 120.9 kB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.006504, allocations: 188.3 kB / 0.7779 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.006597, allocations: 30.19 kB / 0.7779 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.006793, allocations: 119.8 kB / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.006897, allocations: 79.62 kB / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.006924, allocations: 12 kB / 0.7781 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.467e-05/0.006999, allocations: 28 kB / 0.7782 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.007065, allocations: 27.91 kB / 0.7782 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.007122, allocations: 55.89 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.007302, allocations: 151.5 kB / 0.7784 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.007307, allocations: 3.984 kB / 0.7784 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.372e-06/0.007308, allocations: 0 / 0.7784 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.007312, allocations: 0 / 0.7784 GB, free: 2.113 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.0004513/0.007764, allocations: 473.9 kB / 0.7788 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.007798, allocations: 9.344 kB / 0.7788 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.007937, allocations: 28.91 kB / 0.7789 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.008141, allocations: 173.5 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.008154, allocations: 8.375 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.008171, allocations: 16.31 kB / 0.7791 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.008333, allocations: 155.2 kB / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.00834, allocations: 192 / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.00835, allocations: 5.531 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.008355, allocations: 3.938 kB / 0.7792 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.726e-05/0.008413, allocations: 83.38 kB / 0.7793 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.008737, allocations: 251.9 kB / 0.7795 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.008834, allocations: 102.5 kB / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.008891, allocations: 88.78 kB / 0.7797 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.00891, allocations: 4.078 kB / 0.7797 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.009046, allocations: 215.1 kB / 0.7799 GB, free: 352 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.009048, allocations: 0 / 0.7799 GB, free: 352 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0002751/0.009323, allocations: 324.2 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.009389, allocations: 167 kB / 0.7804 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.00949, allocations: 160 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.00951, allocations: 35.45 kB / 0.7806 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.009553, allocations: 96.34 kB / 0.7807 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.00958, allocations: 35.72 kB / 0.7807 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.00963, allocations: 37.69 kB / 0.7807 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.009714, allocations: 330.7 kB / 0.7811 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.009797, allocations: 134.3 kB / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/0.009893, allocations: 188.4 kB / 0.7814 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.01025, allocations: 272.5 kB / 0.7816 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01025, allocations: 0 / 0.7816 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002063/0.01045, allocations: 358.8 kB / 0.782 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.01051, allocations: 119.6 kB / 0.7821 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.01051, allocations: 4 kB / 0.7821 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01052, allocations: 0.875 kB / 0.7821 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.0106, allocations: 19.94 kB / 0.7821 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.0106, allocations: 8.609 kB / 0.7821 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.01065, allocations: 15.95 kB / 0.7821 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.01066, allocations: 12.52 kB / 0.7821 GB, free: 13.74 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.0001042/0.01077, allocations: 194 kB / 0.7823 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.01079, allocations: 15.98 kB / 0.7823 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.01082, allocations: 21.39 kB / 0.7824 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01082, allocations: 5.25 kB / 0.7824 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.01082, allocations: 8 kB / 0.7824 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01083, allocations: 0 / 0.7824 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.01109, allocations: 390.2 kB / 0.7828 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.0111, allocations: 4 kB / 0.7828 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.01114, allocations: 12.45 kB / 0.7828 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01114, allocations: 9 kB / 0.7828 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01115, allocations: 8 kB / 0.7828 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01115, allocations: 3.984 kB / 0.7828 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01115, allocations: 0.5 kB / 0.7828 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.01134, allocations: 331.2 kB / 0.7831 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.01135, allocations: 11.91 kB / 0.7831 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.01137, allocations: 7.938 kB / 0.7831 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.121e-05/0.01142, allocations: 4.938 kB / 0.7831 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.01146, allocations: 15.92 kB / 0.7831 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.01148, allocations: 8.828 kB / 0.7832 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.01151, allocations: 47.3 kB / 0.7832 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01151, allocations: 0.7188 kB / 0.7832 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001748/0.01169, allocations: 39.92 kB / 0.7832 GB, free: 12.52 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.0001969/0.01189, allocations: 111 kB / 0.7833 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.01216, allocations: 477.7 kB / 0.7838 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.01216, allocations: 4 kB / 0.7838 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.01226, allocations: 223 kB / 0.784 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.01244, allocations: 25.64 kB / 0.784 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.01299, allocations: 334.3 kB / 0.7844 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.01303, allocations: 71.28 kB / 0.7844 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.01306, allocations: 14.14 kB / 0.7844 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.01319, allocations: 95.33 kB / 0.7845 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.01319, allocations: 0 / 0.7845 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.004573/0.01776, allocations: 2.32 MB / 0.7868 GB, free: 8.867 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.126875010319054]