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.001856/0.001856, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002084/0.002084, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.564/1.564, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 3.178/3.178, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.774e-06/1.774e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.854e-05, allocations: 6.219 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003251/0.00328, allocations: 1.635 MB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.004587, allocations: 0.6542 MB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.00466, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.004805, allocations: 23.8 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.005028, allocations: 51.62 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.005466, allocations: 123.7 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.00577, allocations: 183.6 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.005881, allocations: 21.62 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.006141, allocations: 115.7 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.006297, allocations: 75.83 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.006339, allocations: 12 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.006435, allocations: 31.98 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.00654, allocations: 31.84 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.757e-05/0.006638, allocations: 55.91 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.006967, allocations: 207.3 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.00697, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.372e-06/0.006972, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.006976, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 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.0008008/0.007777, allocations: 492.4 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.007818, allocations: 13.34 kB / 1.005 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.007994, allocations: 28.83 kB / 1.005 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.008336, allocations: 185.6 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.00836, allocations: 16.36 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.008404, allocations: 8.375 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.008749, allocations: 173.5 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.008758, allocations: 192 / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.008778, allocations: 8.125 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.008782, allocations: 0 / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.009047, allocations: 127.3 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.009738, allocations: 344.3 kB / 1.006 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.01, allocations: 137.9 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.01022, allocations: 124.2 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.01024, allocations: 3.938 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.01063, allocations: 242.2 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.01063, allocations: 3.938 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.001172/0.0118, allocations: 479.8 kB / 1.007 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.01194, allocations: 174.1 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.01215, allocations: 175.6 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.01219, allocations: 33.7 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01229, allocations: 100.4 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.01233, allocations: 35.73 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.058e-05/0.01241, allocations: 37.7 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.01259, allocations: 326.8 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.01282, allocations: 158.8 kB / 1.008 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.01309, allocations: 221.6 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.01353, allocations: 308.9 kB / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01353, allocations: 4 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000713/0.01424, allocations: 462.9 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.01435, allocations: 122.8 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01435, allocations: 0 / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.01437, allocations: 7.938 kB / 1.009 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.01449, allocations: 20.23 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01449, allocations: 4 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.0146, allocations: 11.98 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.01462, allocations: 12 kB / 1.009 GB, free: 4.758 MB / 0.9636 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.0001972/0.01482, allocations: 203.7 kB / 1.009 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.01486, allocations: 19.84 kB / 1.009 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.0149, allocations: 17.45 kB / 1.009 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01491, allocations: 4 kB / 1.009 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01491, allocations: 0 / 1.009 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01492, allocations: 4 kB / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.0158, allocations: 0.5867 MB / 1.009 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0158, allocations: 0 / 1.009 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.01587, allocations: 8.281 kB / 1.009 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01587, allocations: 0 / 1.009 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.01589, allocations: 15.98 kB / 1.009 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01589, allocations: 3.938 kB / 1.009 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01589, allocations: 0 / 1.009 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.01662, allocations: 470.1 kB / 1.01 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.01664, allocations: 11.91 kB / 1.01 GB, free: 3.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.01668, allocations: 7.984 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.0168, allocations: 7.984 kB / 1.01 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.01685, allocations: 8 kB / 1.01 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.01687, allocations: 11.98 kB / 1.01 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001373/0.01701, allocations: 138.2 kB / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01701, allocations: 0 / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003162/0.01732, allocations: 39.92 kB / 1.01 GB, free: 3.098 MB / 0.9636 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.0003121/0.01763, allocations: 121.4 kB / 1.01 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000729/0.01836, allocations: 0.5152 MB / 1.011 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01837, allocations: 0 / 1.011 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.01868, allocations: 246.6 kB / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.01902, allocations: 27.92 kB / 1.011 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.01971, allocations: 345.4 kB / 1.011 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.01983, allocations: 97.3 kB / 1.011 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.433e-05/0.0199, allocations: 24.41 kB / 1.011 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.01994, allocations: 20.5 kB / 1.011 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.01994, allocations: 0 / 1.011 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of Templates: time 0.006525/0.02646, allocations: 2.179 MB / 1.014 GB, free: 15.4 MB / 0.9792 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: 8.60935346968472]